diff --git a/src/app/page.tsx b/src/app/page.tsx index 105f222..7a98968 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,6 +2,7 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import ReactLenis from "lenis/react"; +import { useState, useEffect } from "react"; import AboutMetric from '@/components/sections/about/AboutMetric'; import ContactSplit from '@/components/sections/contact/ContactSplit'; import FeatureCardSix from '@/components/sections/feature/FeatureCardSix'; @@ -14,6 +15,28 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia import { Award, CheckCircle, MessageCircle, Zap } from "lucide-react"; export default function LandingPage() { + const [loading, setLoading] = useState(true); + + useEffect(() => { + const timer = setTimeout(() => setLoading(false), 1200); + return () => clearTimeout(timer); + }, []); + + if (loading) { + return ( +
+
+
+ N11 +
+
+
+
+
+
+ ); + } + return ( ); -} +} \ No newline at end of file diff --git a/src/app/styles/variables.css b/src/app/styles/variables.css index 19f4137..3d1b95c 100644 --- a/src/app/styles/variables.css +++ b/src/app/styles/variables.css @@ -12,13 +12,13 @@ --background: #0a0a0a; --card: #1a1a1a; - --foreground: #ffffffe6; - --primary-cta: #e6e6e6; + --foreground: #ffffff; + --primary-cta: #106efb; --primary-cta-text: #0a0a0a; --secondary-cta: #1a1a1a; --secondary-cta-text: #ffffffe6; - --accent: #737373; - --background-accent: #737373; + --accent: #106efb; + --background-accent: #1a1a1a; /* text sizing - set by ThemeProvider */ /* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);