Skip to content

Commit

Permalink
added speakers tab
Browse files Browse the repository at this point in the history
  • Loading branch information
VijeshVS committed Oct 1, 2024
1 parent 9a843f1 commit d14c623
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const Links = [
{ href: '/', label: 'Home' },
{ href: '/about', label: 'About' },
{ href: '/committee', label: 'Committee' },
{ href: '/speakers', label : 'Speakers'},
{ href: '/papers', label: 'Call for Papers' },
{ href: '/awards', label: 'Awards' },
{ href: '/registration', label: 'Registration' },
Expand Down
11 changes: 11 additions & 0 deletions components/SpeakerCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react'

const SpeakerCard = () => {
return (
<div>

</div>
)
}

export default SpeakerCard
50 changes: 50 additions & 0 deletions pages/speakers.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import React from 'react'

type SpeakerType = {
id: number,
name: string,
designation : string,
imageLink : string
}

const speakerList: SpeakerType[] = [
{
id: 1,
name: "Sri. S S Iyengar",
designation: "Distinguised University Professor, Florida International University (FIU), Miami",
imageLink: "./speakers/ss_iyenger.jpeg"
},
{
id: 2,
name: "Chaitra Vedullapalli",
designation: "Cofounder & CMO, Meylah",
imageLink: "./speakers/chaitra_v.jpeg"
},
{
id: 3,
name: "Rajamani",
designation: "Founder and CEO, Google",
imageLink: "https://rvu.edu.in/wp-content/uploads/2023/02/02-3.png"
}
]

const speakers = () => {
return (
<div className='py-8'>
<h1 className='text-4xl font-bold text-center text-transparent bg-clip-text bg-gradient-to-r from-violet-600 to-indigo-600'> Keynote Speakers </h1>
<div className='flex py-2 flex-col w-full mt-12 px-0 items-center lg:px-12 lg:justify-between lg:flex-row space-x-0 lg:space-x-4 space-y-8 lg:space-y-0'>
{speakerList.map((speaker:SpeakerType)=>{
return <div key={speaker.id} className='flex hover:-translate-y-3 transition-all duration-300 rounded-2xl w-72 flex-col space-y-2 shadow-lg p-4'>
<img src={speaker.imageLink} className='h-64 w-64 rounded-xl' alt={speaker.name} />
<div>
<h1 className='text-xl font-bold'>{speaker.name}</h1>
<h1 className='text-lg text-gray-500'>{speaker.designation}</h1>
</div>
</div>
})}
</div>
</div>
)
}

export default speakers
Binary file added public/speakers/chaitra_v.jpeg
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/speakers/ss_iyenger.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d14c623

Please sign in to comment.