diff --git a/app/(pre-dashboard)/(landing)/page.tsx b/app/(pre-dashboard)/(landing)/page.tsx index d3d194c..64390c5 100644 --- a/app/(pre-dashboard)/(landing)/page.tsx +++ b/app/(pre-dashboard)/(landing)/page.tsx @@ -12,6 +12,7 @@ import FAQ from './sections/FAQ/FAQ'; import GenericSection from './sections/GenericSection'; import { getSponsors } from '@/app/lib/data'; import React from 'react'; +import Team from './sections/Team/Team'; export default async function Page() { return ( @@ -20,7 +21,10 @@ export default async function Page() { >
-

+

ABOUT

@@ -35,10 +39,13 @@ export default async function Page() { - { } + {} + + + {/* */} diff --git a/app/(pre-dashboard)/(landing)/sections/Team.tsx b/app/(pre-dashboard)/(landing)/sections/Team.tsx deleted file mode 100644 index 0dc911b..0000000 --- a/app/(pre-dashboard)/(landing)/sections/Team.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import React from 'react'; - -const Team = () => { - return
Hello
; -}; - -export default Team; diff --git a/app/(pre-dashboard)/(landing)/sections/Team/Team.tsx b/app/(pre-dashboard)/(landing)/sections/Team/Team.tsx new file mode 100644 index 0000000..0ff15d0 --- /dev/null +++ b/app/(pre-dashboard)/(landing)/sections/Team/Team.tsx @@ -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 ( + +
+ {member.name} +
+

+ {member.name} +

+

{member.position}

+ + ); +}; + +const Team = () => { + return ( +
+
+
+ {teamMembers.slice(0, 2).map((member, index) => ( + + ))} +
+ +
+ {teamMembers.slice(2).map((member, index) => ( + + ))} +
+
+
+ ); +}; + +export default Team; diff --git a/app/(pre-dashboard)/(landing)/sections/Team/TeamData.ts b/app/(pre-dashboard)/(landing)/sections/Team/TeamData.ts new file mode 100644 index 0000000..dee4fcd --- /dev/null +++ b/app/(pre-dashboard)/(landing)/sections/Team/TeamData.ts @@ -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 +];