Skip to content

Commit

Permalink
update partners, add yashoda as medical partner (#212)
Browse files Browse the repository at this point in the history
* update partners, add yashoda as medical partner

* add style changes for partners
  • Loading branch information
bhansa authored Sep 23, 2023
1 parent b6c6fef commit b5840d1
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 18 deletions.
30 changes: 21 additions & 9 deletions components/partners.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,36 @@ const Partners = () => {
<section className="home-section" id="partners">
<div className="container pt-5 pb-5">
<div className="row align-items-center">
<h2 className="col-auto com-head" data-aos="fade-down" data-aos-duration="1000">Partners</h2>
<h2
className="col-auto com-head"
data-aos="fade-down"
data-aos-duration="1000"
>
Partners
</h2>
</div>
<div className="row justify-content-center mt-3 py-5">
{PartnersData.map((partner, index) => (
<div className="col-md-3 col-6 bt-circle my-2 text-center" key={index}>
<div
className="col-md-3 col-6 bt-circle my-2 text-center"
key={index}
>
<a href={partner.website} target="_blank" rel="noreferrer">
<img
src={partner.logo}
className={`img-fluid partners-logo ${partner.paddingClass}`}
alt={partner.name}
/>
<img
src={partner.logo}
className={`img-fluid shadow-sm partners-logo ${partner.paddingClass}`}
alt={partner.name}
/>
</a>
<p className="pt-2">{partner.name} <br/> ({partner.title})</p>
<p className="pt-2">
{partner.name} <br />(
<span className="partner-title">{partner.title}</span>)
</p>
</div>
))}
</div>
</div>
</section >
</section>
);
};

Expand Down
2 changes: 1 addition & 1 deletion components/sponsor.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const SponsorComponent = () => {
{SponsorData[tier].map((sponsor, index) => (
<div className={`col-md-3 col-6 mb-md-0 mb-3 bt-circle ${SponsorData[tier].length === 1 ? 'mx-auto' : ''}`} key={index}>
<a href={sponsor.website} target="_blank" rel="noreferrer">
<img src={sponsor.logo} className={`img-fluid sponsor-logo sponsor-gap ${sponsor.paddingClass}`} alt={`${sponsor.website}`} />
<img src={sponsor.logo} className={`img-fluid shadow-sm sponsor-logo sponsor-gap ${sponsor.paddingClass}`} alt={`${sponsor.website}`} />
</a>
</div>
))}
Expand Down
14 changes: 7 additions & 7 deletions data/partners.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
- name: JNTU, Hyderabad
- name: CEFT, JNTUH-Blackbucks
title: Academic Partner
logo: images/partners/jntu.png
logo: images/partners/jntu_blackbucks.png
paddingClass: p-1
website: https://jntuh.ac.in
- name: Black Buck
title: Academic Partner
logo: images/partners/black-buck.png
paddingClass: p-1
website: https://www.theblackbucks.com
- name: Phenom People
title: Venue Partner
logo: images/partners/phenom-people.png
paddingClass: p-0
website: https://www.phenom.com
- name: Yashoda Hospital
title: Medical Partner
logo: images/partners/yashoda.png
paddingClass: p-0
website: https://www.yashodahospitals.com/
Binary file added public/images/partners/jntu_blackbucks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/partners/yashoda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion styles/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,10 @@ button a {
object-position: center;
width: 100%;
height: 100%;
background-color: #eac141;
}

.partner-title{
font-weight: 500 !important;
}

.community-partners-avatar {
Expand Down

0 comments on commit b5840d1

Please sign in to comment.