-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
902f469
commit d1a4e00
Showing
4 changed files
with
249 additions
and
9 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import React from 'react'; | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
import { teamMembers } from './TeamData'; | ||
|
||
const TeamProfile = (member: { | ||
link: string; | ||
image: string; | ||
name: string; | ||
|
||
position: string; | ||
}) => { | ||
return ( | ||
<Link | ||
href={member.link} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className="group flex scale-100 flex-col items-center transition-transform duration-300 hover:scale-105 hover:transform" | ||
style={{ marginLeft: 0 }} | ||
> | ||
<div className="relative m-4 h-32 w-32"> | ||
<img | ||
src="https://cataas.com/cat" | ||
alt={member.name} | ||
className="h-32 w-32 rounded-full border-2 border-blue-300 object-cover transition-colors duration-300 group-hover:border-blue-400" | ||
/> | ||
</div> | ||
<h3 className="text-center text-base font-semibold text-blue-200"> | ||
{member.name} | ||
</h3> | ||
<p className="text-center text-xs text-white">{member.position}</p> | ||
</Link> | ||
); | ||
}; | ||
|
||
const Team = () => { | ||
return ( | ||
<div className="w-full px-4 py-8"> | ||
<div className="mx-auto max-w-7xl space-y-5"> | ||
<div className="flex flex-wrap justify-center sm:space-x-20"> | ||
{teamMembers.slice(0, 2).map((member, index) => ( | ||
<TeamProfile {...member} key={index} /> | ||
))} | ||
</div> | ||
|
||
<div className="flex flex-wrap justify-center sm:space-x-20"> | ||
{teamMembers.slice(2).map((member, index) => ( | ||
<TeamProfile {...member} key={index} /> | ||
))} | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Team; |
184 changes: 184 additions & 0 deletions
184
app/(pre-dashboard)/(landing)/sections/Team/TeamData.ts
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,184 @@ | ||
type TeamMember = { | ||
name: string; | ||
position: string; | ||
image: string; | ||
link: string; | ||
}; | ||
|
||
export const teamMembers: TeamMember[] = [ | ||
{ | ||
name: 'Shivam', | ||
position: 'Co-Director', | ||
image: '/team/jane-smith.jpg', | ||
link: 'https://linkedin.com/in/jane-smith', | ||
}, | ||
{ | ||
name: 'Rushd', | ||
position: 'Co-Director', | ||
image: '/team/john-doe.jpg', | ||
link: 'https://linkedin.com/in/john-doe', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://kevinmonisit.me', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
{ | ||
name: 'Kevin', | ||
position: 'RnD Director', | ||
image: '/team/mike-wilson.jpg', | ||
link: 'https://linkedin.com/in/mike-wilson', | ||
}, | ||
// Add more team members as needed | ||
]; |