diff --git a/src/app/page.tsx b/src/app/page.tsx index 19aecce..49b313b 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 } from "react"; import BlogCardTwo from '@/components/sections/blog/BlogCardTwo'; import ContactSplit from '@/components/sections/contact/ContactSplit'; import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; @@ -12,9 +13,19 @@ import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen'; import TextSplitAbout from '@/components/sections/about/TextSplitAbout'; -import { Shield, Star, Zap } from "lucide-react"; +import { Shield, Star, Zap, Heart, Trophy, Play, RotateCcw } from "lucide-react"; export default function LandingPage() { + const [score, setScore] = useState(0); + const [lives, setLives] = useState(3); + const [gameState, setGameState] = useState<'idle' | 'playing' | 'over'>('idle'); + + const startGame = () => { + setScore(0); + setLives(3); + setGameState('playing'); + }; + return ( + {/* Game Overlay UI */} + {gameState !== 'idle' && ( +
+
+ + Score: {score} +
+
+ {[...Array(lives)].map((_, i) => )} +
+
+ )} + + {gameState === 'over' && ( +
+
+

Game Over

+

Final Score: {score}

+ +
+
+ )} +
-
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- - +
+
+
+
+
+
+
+
); diff --git a/src/app/styles/variables.css b/src/app/styles/variables.css index e0bdbf2..a10ad19 100644 --- a/src/app/styles/variables.css +++ b/src/app/styles/variables.css @@ -10,15 +10,15 @@ --accent: #ffffff; --background-accent: #ffffff; */ - --background: #0a0a0a; - --card: #1a1a1a; - --foreground: #fffaf5e6; - --primary-cta: #ffaa70; + --background: #000000; + --card: #0c0c0c; + --foreground: #ffffff; + --primary-cta: #106EFB; --primary-cta-text: #0a0a0a; - --secondary-cta: #1a1a1a; + --secondary-cta: #000000; --secondary-cta-text: #fffaf5e6; - --accent: #737373; - --background-accent: #737373; + --accent: #535353; + --background-accent: #106EFB; /* text sizing - set by ThemeProvider */ /* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);