diff --git a/components/CommitteeCard.tsx b/components/CommitteeCard.tsx index 490682a..bd52f55 100644 --- a/components/CommitteeCard.tsx +++ b/components/CommitteeCard.tsx @@ -38,14 +38,19 @@ export const CommitteeCard = ({ members }: { members: Members[] }) => { : '' } > -

{post}

+

+ {post} +

{/*
*/} {/* Cards for this group - two per row on large screens, one per row on small */}
{postMembers.map((member, idx) => { - const isLastSingle = postMembers.length % 2 === 1 && idx === postMembers.length - 1 && post === 'Patrons' + const isLastSingle = + postMembers.length % 2 === 1 && + idx === postMembers.length - 1 && + post === 'Patrons' const card = ( <> @@ -60,13 +65,14 @@ export const CommitteeCard = ({ members }: { members: Members[] }) => {
{member.imgLink ? ( {`${member.name}'s { const target = e.target as HTMLImageElement target.style.display = 'none' - const fallback = target.nextElementSibling as HTMLElement + const fallback = + target.nextElementSibling as HTMLElement if (fallback) fallback.style.display = 'flex' }} /> @@ -104,7 +110,9 @@ export const CommitteeCard = ({ members }: { members: Members[] }) => { {member.name} {member.position && ( -

{member.position}

+

+ {member.position} +

)}
diff --git a/data/conference_chairs.ts b/data/conference_chairs.ts index 22e33b9..c15df74 100644 --- a/data/conference_chairs.ts +++ b/data/conference_chairs.ts @@ -31,7 +31,7 @@ const conference_chairs_data = [ name: 'Dr. K Sreelakshmi', post: 'Program Chair', department: 'ETE', - imgLink: '/committee/conference_committee/USHA-J-1-1229x1536.jpg', + imgLink: '/committee/conference_committee/SREELAKSHMI.jpg', email: '', }, { @@ -90,6 +90,6 @@ const conference_chairs_data = [ imgLink: '/committee/conference_committee/BHADARINATH-K-1-1229x1536.jpg', email: '', }, -]; +] -export default conference_chairs_data; \ No newline at end of file +export default conference_chairs_data diff --git a/data/patrons.ts b/data/patrons.ts index 42018f3..47ca5a7 100644 --- a/data/patrons.ts +++ b/data/patrons.ts @@ -11,8 +11,7 @@ const patrons = [ position: 'Hon. Joint Secretary, RSST', imgLink: 'https://rvu.edu.in/wp-content/uploads/2023/02/01-3.png', }, - - + { name: 'Sri. Venkatesh Babu P S', post: 'Patrons', @@ -29,8 +28,8 @@ const patrons = [ name: 'Sri. Nikhil A Murthy', post: 'Patrons', position: 'Assistant Secretary, RSST', - imgLink: '', + imgLink: '/committee/nikhilamurthy.jpeg', }, -]; +] -export default patrons; +export default patrons diff --git a/public/committee/conference_committee/SREELAKSHMI.jpg b/public/committee/conference_committee/SREELAKSHMI.jpg new file mode 100644 index 0000000..dd10af1 Binary files /dev/null and b/public/committee/conference_committee/SREELAKSHMI.jpg differ diff --git a/public/committee/nikhilamurthy.jpeg b/public/committee/nikhilamurthy.jpeg new file mode 100644 index 0000000..9eccb92 Binary files /dev/null and b/public/committee/nikhilamurthy.jpeg differ