diff --git a/src/app/page.tsx b/src/app/page.tsx index 90c8fe9..3a7f88f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -8,16 +8,20 @@ import About from "@/components/common/About"; import Team from "@/components/common/Team-Section"; import { CtaSection } from "@/components/common/cta-section"; import Performers from "@/components/widget/performers"; +import HeroHighlight from "@/components/widget/hero"; +import Landing_page from "@/components/widget/landing"; export default function Home() { return ( - <> + <> + {/* */}
-
+ {/*
-
+ >
*/} +
diff --git a/src/components/common/About.tsx b/src/components/common/About.tsx index 926a25d..cddeec3 100644 --- a/src/components/common/About.tsx +++ b/src/components/common/About.tsx @@ -2,16 +2,16 @@ import { motion } from "framer-motion"; const AboutSection: React.FC = () => { return ( -
+
{/* Background decorative layers */}
- - */} + {/* { initial={{ scale: 0 }} animate={{ scale: 1 }} transition={{ duration: 1.5, ease: "easeOut", delay: 0.3 }} - /> + /> */}
{/* About content */} diff --git a/src/components/navbar/nav-header.tsx b/src/components/navbar/nav-header.tsx index 4ebc79d..cf00488 100644 --- a/src/components/navbar/nav-header.tsx +++ b/src/components/navbar/nav-header.tsx @@ -27,9 +27,6 @@ const NavHeader: React.FC = ({ handleClick }) => {
-
  • - -
  • +
    +
    +
    + +

    Date: September 15, 2023

    +
    +
    + +

    Venue: Grand Convention Center

    +
    +
    + +
    + + TEDx Event Logo + + + Life - Explore What's Worth Living + +
    +
    + +

    Event Starts In

    +
    + {timeUnits.map((unit) => ( + + ))} +
    +
    + + ) +} \ No newline at end of file diff --git a/src/components/widget/landing.tsx b/src/components/widget/landing.tsx new file mode 100644 index 0000000..42a4e4e --- /dev/null +++ b/src/components/widget/landing.tsx @@ -0,0 +1,48 @@ +import React from 'react'; +import Image from 'next/image'; +import { tedxsjecAssetsPrefix } from '@/lib/utils'; +import { useGSAP } from '@gsap/react'; +import gsap from 'gsap'; +const Landing_page = () => { + + useGSAP(() => { + const t2 = gsap.timeline({ + onComplete: () => { + // Hide the menu or set pointer-events to none after the animation completes + gsap.set(".menu-g", { zIndex: -1, pointerEvents: "none" }); + } + }); + t2.to(".menu-logo1",{opacity:0,x:"100%",duration:0.3},"<") + .to(".menu-g span", { + duration: 0.5, + x: "100%", + stagger: 0.1, + ease: "Expo.easeInOut", + },"<"); + }, []); + return ( + <> +
    + + + + + {/* The logo to animate with the menu */} +
    +
    + logo +
    +
    +
    + + + ); +}; + +export default Landing_page;