From 7d29f3e02e7b46e0bc2f092d4783a46c099038b7 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 8 Apr 2026 18:07:27 +0000 Subject: [PATCH] Switch to version 1: modified src/app/page.tsx --- src/app/page.tsx | 329 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 231 insertions(+), 98 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 6f6691c..32302b6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,13 +9,8 @@ import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven'; import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; import ProductCatalog from '@/components/ecommerce/productCatalog/ProductCatalog'; import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen'; -import { useState, useEffect, useRef } from "react"; export default function LandingPage() { - const [gameState, setGameState] = useState<'idle' | 'playing' | 'over'>('idle'); - const [score, setScore] = useState(0); - const canvasRef = useRef(null); - return ( - + -
- setGameState('playing') }, - { text: "Explore Mines", href: "#features" }, - ]} - imageSrc="http://img.b2bpic.net/free-photo/view-futuristic-space-rocket_23-2151152096.jpg" - imageAlt="Stars gaming hero" - mediaAnimation="slide-up" - /> -
+
+ +
- {gameState === 'playing' && ( -
-
-

Rocket Game

- -
- -
-
-
- )} +
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
- - +
); -} \ No newline at end of file +}