diff --git a/src/app/page.tsx b/src/app/page.tsx index 79c3779..5fd6a08 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -12,8 +12,22 @@ import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatin import ProductCardOne from '@/components/sections/product/ProductCardOne'; import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve'; import { Headphones, ShieldCheck, Star, Trophy, Users } from "lucide-react"; +import { useState } from "react"; export default function LandingPage() { + const [gameState, setGameState] = useState({ balance: 1000, bet: 10, status: 'idle', result: null }); + + const handlePlayGame = () => { + const win = Math.random() > 0.5; + const payout = win ? gameState.bet * 2 : -gameState.bet; + setGameState(prev => ({ + ...prev, + balance: prev.balance + payout, + status: win ? 'win' : 'loss', + result: win ? 'You won!' : 'Try again!' + })); + }; + return ( @@ -54,21 +56,10 @@ export default function LandingPage() {
@@ -129,24 +91,8 @@ export default function LandingPage() { animationType="depth-3d" textboxLayout="default" useInvertedBackground={false} - negativeCard={{ - items: [ - "Complex registration", - "Slow withdrawals", - "Limited mobile", - "Hidden fees", - "Poor support", - ], - }} - positiveCard={{ - items: [ - "Instant Sign-up", - "Lightning Payouts", - "Full Mobile Support", - "24/7 Concierge", - "Secure Encryption", - ], - }} + negativeCard={{ items: ["Complex registration", "Slow withdrawals", "Limited mobile", "Hidden fees", "Poor support"] }} + positiveCard={{ items: ["Instant Sign-up", "Lightning Payouts", "Full Mobile Support", "24/7 Concierge", "Secure Encryption"] }} title="Why Choose Royal Casino?" description="We offer the most secure and exciting online casino platform with fast payouts." /> @@ -159,41 +105,11 @@ export default function LandingPage() { gridVariant="uniform-all-items-equal" useInvertedBackground={false} metrics={[ - { - id: "m1", - value: "500k+", - title: "Active Players", - description: "Global user base", - icon: Users, - }, - { - id: "m2", - value: "$10M+", - title: "Paid Out", - description: "Total player wins", - icon: Trophy, - }, - { - id: "m3", - value: "200+", - title: "Live Games", - description: "Diverse catalog", - icon: Star, - }, - { - id: "m4", - value: "99.9%", - title: "Uptime", - description: "Stable performance", - icon: ShieldCheck, - }, - { - id: "m5", - value: "24/7", - title: "Support", - description: "Always ready", - icon: Headphones, - }, + { id: "m1", value: "500k+", title: "Active Players", description: "Global user base", icon: Users }, + { id: "m2", value: "$10M+", title: "Paid Out", description: "Total player wins", icon: Trophy }, + { id: "m3", value: "200+", title: "Live Games", description: "Diverse catalog", icon: Star }, + { id: "m4", value: "99.9%", title: "Uptime", description: "Stable performance", icon: ShieldCheck }, + { id: "m5", value: "24/7", title: "Support", description: "Always ready", icon: Headphones }, ]} title="Our Track Record" description="Trusted by thousands of players worldwide every day." @@ -204,31 +120,8 @@ export default function LandingPage() { @@ -304,37 +157,10 @@ export default function LandingPage() {
); -} +} \ No newline at end of file