diff --git a/src/app/page.tsx b/src/app/page.tsx index 50b16c0..ef7218e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,8 +11,16 @@ import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven'; import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import TextAbout from '@/components/sections/about/TextAbout'; +import { useState } from 'react'; export default function LandingPage() { + const [formData, setFormData] = useState({ email: '', password: '' }); + + const handleAuth = () => { + console.log("Authenticating with:", formData); + alert(`Auth requested for ${formData.email}`); + }; + return (
@@ -134,9 +100,7 @@ export default function LandingPage() { title="Your Next Rare Skin Awaits" buttons={[ { - text: "How it works", - href: "#faq", - }, + text: "How it works", href: "#faq"}, ]} /> @@ -147,23 +111,11 @@ export default function LandingPage() { useInvertedBackground={false} features={[ { - title: "Premium Rewards", - description: "Win the latest PUBG skins and crates directly to your account.", - imageSrc: "http://img.b2bpic.net/free-photo/3d-render-gift-box-with-ribbon-present-package_107791-15084.jpg", - imageAlt: "Rewards", - }, + title: "Premium Rewards", description: "Win the latest PUBG skins and crates directly to your account.", imageSrc: "http://img.b2bpic.net/free-photo/3d-render-gift-box-with-ribbon-present-package_107791-15084.jpg", imageAlt: "Rewards"}, { - title: "Secure Login", - description: "Safe Gmail-based authentication to prevent bots and keep entries fair.", - imageSrc: "http://img.b2bpic.net/free-photo/confused-hacker-pointing-screen_482257-77720.jpg", - imageAlt: "Authentication", - }, + title: "Secure Login", description: "Safe Gmail-based authentication to prevent bots and keep entries fair.", imageSrc: "http://img.b2bpic.net/free-photo/confused-hacker-pointing-screen_482257-77720.jpg", imageAlt: "Authentication"}, { - title: "Fair Competition", - description: "Every entry has a genuine, random chance to be the lucky winner.", - imageSrc: "http://img.b2bpic.net/free-photo/focused-teleworker-busy-comparing-trading-graphs-numbers_482257-96736.jpg", - imageAlt: "Fair play", - }, + title: "Fair Competition", description: "Every entry has a genuine, random chance to be the lucky winner.", imageSrc: "http://img.b2bpic.net/free-photo/focused-teleworker-busy-comparing-trading-graphs-numbers_482257-96736.jpg", imageAlt: "Fair play"}, ]} title="Why Join Our Giveaway?" description="We prioritize community, security, and epic rewards for all our participants." @@ -177,31 +129,13 @@ export default function LandingPage() { useInvertedBackground={true} metrics={[ { - id: "m1", - value: "10K", - title: "Total Entries", - items: [ - "Verified Users", - "Instant Updates", - ], + id: "m1", value: "10K", title: "Total Entries", items: ["Verified Users", "Instant Updates"], }, { - id: "m2", - value: "500+", - title: "Winners Announced", - items: [ - "Rare Items", - "Daily Draws", - ], + id: "m2", value: "500+", title: "Winners Announced", items: ["Rare Items", "Daily Draws"], }, { - id: "m3", - value: "24/7", - title: "Global Support", - items: [ - "Live Chat", - "Ticket System", - ], + id: "m3", value: "24/7", title: "Global Support", items: ["Live Chat", "Ticket System"], }, ]} title="Community Impact" @@ -214,14 +148,7 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={false} names={[ - "PUBG Corp", - "Twitch", - "Discord", - "Steam", - "Krafton", - "Epic Games", - "NVIDIA", - ]} + "PUBG Corp", "Twitch", "Discord", "Steam", "Krafton", "Epic Games", "NVIDIA"]} title="Supported Platforms & Partners" description="Our giveaways are powered by trust and gaming leaders." /> @@ -233,20 +160,11 @@ export default function LandingPage() { useInvertedBackground={true} faqs={[ { - id: "f1", - title: "Is my account safe?", - content: "Yes, we use secure Gmail authentication and never store your passwords.", - }, + id: "f1", title: "Is my account safe?", content: "Yes, we use secure Gmail authentication and never store your passwords."}, { - id: "f2", - title: "How are winners picked?", - content: "Winners are chosen using a cryptographically random algorithm to ensure 100% fairness.", - }, + id: "f2", title: "How are winners picked?", content: "Winners are chosen using a cryptographically random algorithm to ensure 100% fairness."}, { - id: "f3", - title: "Can I enter multiple times?", - content: "Entries are limited per unique account to keep the odds fair for everyone.", - }, + id: "f3", title: "Can I enter multiple times?", content: "Entries are limited per unique account to keep the odds fair for everyone."}, ]} title="Common Questions" description="Everything you need to know about our giveaway system." @@ -255,17 +173,14 @@ export default function LandingPage() {
- +
+

Join the Giveaway Now

+
+ setFormData({...formData, email: e.target.value})} /> + setFormData({...formData, password: e.target.value})} /> + +
+