diff --git a/src/app/page.tsx b/src/app/page.tsx index de2ddbf..884cfef 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,11 +21,11 @@ export default function Home() {
-
+ {/*
-
-
-

+

*/} +
+

The Team

diff --git a/src/components/common/About.tsx b/src/components/common/About.tsx index c91dd29..926a25d 100644 --- a/src/components/common/About.tsx +++ b/src/components/common/About.tsx @@ -32,7 +32,7 @@ const AboutSection: React.FC = () => { whileInView={{ y: 0, opacity: 1 }} transition={{ duration: 1, ease: "easeOut" }} > -

+

About TEDxSJEC

diff --git a/src/components/common/Container-Scroll.tsx b/src/components/common/Container-Scroll.tsx index 95217e6..413ff1b 100644 --- a/src/components/common/Container-Scroll.tsx +++ b/src/components/common/Container-Scroll.tsx @@ -14,10 +14,15 @@ export function PreviousEdition() { } > - */} +

); diff --git a/src/components/common/Team-Section.tsx b/src/components/common/Team-Section.tsx index 352317f..65b6e8f 100644 --- a/src/components/common/Team-Section.tsx +++ b/src/components/common/Team-Section.tsx @@ -1,43 +1,71 @@ import CardHoverEffect from "@/components/edil-ozi/card-hover-effect"; import { tedxsjecAssetsPrefix } from "@/lib/utils"; +import TeamCard from "./TeamCard"; const team = [ { url: `${tedxsjecAssetsPrefix}/team/sharon.avif`, - title: "Licensee & Organizer", - id: 2, + title: "Organizer & Licensee", + id: 1, name: "Sharon Tyana Menezes", }, { - url: `${tedxsjecAssetsPrefix}/team/sharon.avif`, + url: `${tedxsjecAssetsPrefix}/team/sasha.avif`, title: "Co-Organizer", - id: 3, + id: 2, name: "Sasha Sajith", }, { - url: `${tedxsjecAssetsPrefix}/team/sharon.avif`, + url: `${tedxsjecAssetsPrefix}/team/hanniele.avif`, + title: "Technical Head", + id: 3, + name: "Hanniel Andrede", + }, + { + url: `${tedxsjecAssetsPrefix}/team/vyasa.avif`, title: "Curation Head", id: 4, name: "Vyasa M Nayak", }, { - url: `${tedxsjecAssetsPrefix}/team/sharon.avif`, - title: "Technical Head", + url: `${tedxsjecAssetsPrefix}/team/kaneeksha.avif`, + title: "Publicity & Promotions Head", id: 5, - name: "Hanniel Andrede", + name: "Kaneeksha Kiran", }, { - url: `${tedxsjecAssetsPrefix}/team/sharon.avif`, + url: `${tedxsjecAssetsPrefix}/team/lawrence.avif`, title: "Design Head", id: 6, name: "Lawrence Robert D'Souza", }, + + { + url: `${tedxsjecAssetsPrefix}/team/larsen.avif`, + title: "Creative Head", + id: 8, + name: "Larsen Lionel Dsouza", + }, + { + url: `${tedxsjecAssetsPrefix}/team/ritesh.avif`, + title: "Creative Head", + id: 9, + name: "Ritesh", + }, + { + url: `${tedxsjecAssetsPrefix}/team/anupam.avif`, + title: "Logistics Head", + id: 9, + name: "Anupam B Shetty", + }, ]; const Team = () => { return ( -
- +
+ {/* */} + +
); }; diff --git a/src/components/common/TeamCard.tsx b/src/components/common/TeamCard.tsx new file mode 100644 index 0000000..c796990 --- /dev/null +++ b/src/components/common/TeamCard.tsx @@ -0,0 +1,43 @@ +import React from "react"; + +type Member = { + title: string; + name: string; + id: number; + url: string; +}; + +type Props = { + members: Member[]; +}; + +const TeamCard: React.FC = ({ members }) => { + return ( + <> +
+ {members.map(({ name, title, url }) => ( +
+ (e.currentTarget.style.backgroundSize = "105%") + } + onMouseLeave={(e) => + (e.currentTarget.style.backgroundSize = "100%") + } + > +
+ +
+

{name}

+

{title}

+
+
+ ))} +
+ + ); +}; + +export default TeamCard; diff --git a/src/components/ui/container-scroll-animation.tsx b/src/components/ui/container-scroll-animation.tsx index 42910e6..f7a598e 100644 --- a/src/components/ui/container-scroll-animation.tsx +++ b/src/components/ui/container-scroll-animation.tsx @@ -85,9 +85,9 @@ export const Card = ({ boxShadow: "2px 2px #0000004d, 4px 2px 5px #0000004a, 9px 9px 9px #00000042, 12px 21px 12px #00000026, 15px 37px 15px #0000000a, 17px 58px 17px #00000003", }} - className="max-w-5xl -mt-12 mx-auto h-fit w-full border-4 border-[#6C6C6C] p-2 md:p-6 bg-[#222222] rounded-[30px] shadow-2xl" + className="max-w-5xl -mt-12 mx-auto h-fit w-full border-[#6C6C6C] p-2 md:p-4 bg-[#222222] rounded-[16px] shadow-2xl" > -
+
{children}