forked from themefisher/pinwheel-astro
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from PSMRI/feature/update-components
Updating UI components
- Loading branch information
Showing
15 changed files
with
146 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"favicon": "/images/favicon.png", | ||
"logo": "/images/logo.png", | ||
"logo_width": "147", | ||
"logo_height": "31", | ||
"logo_height": "50", | ||
"logo_text": "Pinwheel" | ||
}, | ||
|
||
|
@@ -33,12 +33,12 @@ | |
}, | ||
|
||
"params": { | ||
"footer_description": "Lorem ipsum dolor sit sed dmi amet, consectetur adipiscing. Cdo tellus, sed condimentum volutpat.", | ||
"email": "[email protected]", | ||
"location": "2118 Thornridge Cir. Syracuse, Connecticut 35624", | ||
"phone": "+704-555-0127", | ||
"footer_description": "Integrated with ABDM, empowering healthcare services through digital transformation.", | ||
"email": "[email protected]", | ||
"location": "3rd Floor, No. 6-3-1112 AWFIS Oyster Complex, Greenlands Road Somajiguda, Begumpet Hyderabad – 500016, India.", | ||
"phone": "+91 (40) 49451999", | ||
"contact_form_action": "#", | ||
"copyright": "Copyright © 2023 a theme by [Themefisher](https://themefisher.com)" | ||
"copyright": "Copyright © 2024 AMRIT" | ||
}, | ||
|
||
"metadata": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import PropTypes from 'prop-types'; | ||
const FeatureCard = ({ feature_list, cardHeight, cardShadow , background }) => { | ||
return ( | ||
<div className="key-feature-grid mt-10 grid grid-cols-2 gap-7 md:grid-cols-3 xl:grid-cols-4"> | ||
{feature_list.map((item) => { | ||
return ( | ||
<div | ||
key={item.id} | ||
> | ||
<div className={`feature-card rounded-xl ${cardHeight} ${cardShadow} ${background} p-5 pb-8 text-center`}> | ||
<h3 className="h4 text-xl lg:text-2xl">{item.title}</h3> | ||
<p>{item.content}</p> | ||
</div> | ||
</div> | ||
); | ||
})} | ||
</div> | ||
); | ||
}; | ||
FeatureCard.propTypes = { | ||
feature_list: PropTypes.arrayOf( | ||
PropTypes.shape({ | ||
title: PropTypes.string, | ||
content: PropTypes.string, | ||
}) | ||
), | ||
cardHeight: PropTypes.string, | ||
cardShadow: PropTypes.string, | ||
background: PropTypes.string, | ||
}; | ||
FeatureCard.defaultProps = { | ||
feature_list: [], | ||
cardHeight: "h-[250px]", | ||
cardShadow: "shadow-sm", | ||
background: "bg-white", | ||
}; | ||
|
||
export default FeatureCard; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.