Merge version_2 into main #2

Merged
bender merged 2 commits from version_2 into main 2026-05-11 00:23:41 +00:00
2 changed files with 28 additions and 5 deletions

View File

@@ -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 (
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black transition-opacity duration-500">
<div className="flex flex-col items-center gap-6 animate-in fade-in zoom-in duration-700">
<div className="w-24 h-24 flex items-center justify-center bg-white/5 rounded-2xl backdrop-blur-sm border border-white/10">
<span className="text-4xl font-extrabold text-white tracking-tighter">N11</span>
</div>
<div className="h-1 w-32 bg-white/10 rounded-full overflow-hidden">
<div className="h-full bg-white animate-loading-bar w-1/3" />
</div>
</div>
</div>
);
}
return (
<ThemeProvider
defaultButtonVariant="expand-hover"
@@ -188,4 +211,4 @@ export default function LandingPage() {
</ReactLenis>
</ThemeProvider>
);
}
}

View File

@@ -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);