diff --git a/app/page.tsx b/app/page.tsx index 6355e2e..afb2f73 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,3 +1,4 @@ +"use client"; import Image from "next/image"; import Link from "next/link"; import { Button } from "@/components/ui/button"; @@ -14,8 +15,17 @@ import { SocialLinks } from "@/components/SocialLinks"; import { Highlight } from "@/components/ui/hero-hihglight"; import PricingCard from "@/components/LandingComponents/PriceCard"; import Navbar1 from "@/components/navbar"; +import { useEffect, useState } from "react"; export default function LandingPage() { + const [currentYear, setCurrentYear] = useState( + new Date().getFullYear() + ); + + useEffect(() => { + // Set the current year dynamically on mount + setCurrentYear(new Date().getFullYear()); + }, []); return (
@@ -222,7 +232,9 @@ export default function LandingPage() {
-