import Link from 'next/link'; import { useState, useEffect } from 'react'; export default function Home() { const [currentSlide, setCurrentSlide] = useState(0); const heroSlides = [ { title: "Hacksmith Forge Collection", subtitle: "Premium Black & Orange Tech Gear", description: "Discover our exclusive range of engineering-inspired merchandise and tools." }, { title: "CTF Challenge Ready", subtitle: "Test Your Security Skills", description: "Built with intentional vulnerabilities for educational purposes." }, { title: "Professional Grade Tools", subtitle: "For the Modern Hacker", description: "From SQL injectors to XSS scripts - everything you need." } ]; const featuredProducts = [ { id: 1, name: 'Hacksmith Hoodie', price: 49, image: '🧥', category: 'Apparel' }, { id: 3, name: 'SQL Injector Pro', price: 299, image: '💉', category: 'Tools' }, { id: 4, name: 'XSS Scripter Elite', price: 399, image: '⚡', category: 'Tools' }, { id: 5, name: 'Command Blaster', price: 199, image: '💥', category: 'Tools' }, ]; useEffect(() => { const timer = setInterval(() => { setCurrentSlide((prev) => (prev + 1) % heroSlides.length); }, 5000); return () => clearInterval(timer); }, [heroSlides.length]); return (
{/* Hero Section with Carousel */}

{heroSlides[currentSlide].title}

{heroSlides[currentSlide].subtitle}

{heroSlides[currentSlide].description}

Explore Collection Submit Flag
{/* Slide Indicators */}
{heroSlides.map((_, index) => (
{/* Featured Products Section */}

Featured Products

Discover our most popular items, carefully crafted for the modern hacksmith

{featuredProducts.map((product) => (
{product.image}
{product.category}

{product.name}

${product.price} View
))}
{/* Features Section */}

Why Choose Hacksmith Shop?

🔒

Security Focused

Educational vulnerabilities built-in for learning and testing purposes

âš¡

High Performance

Professional-grade tools designed for modern cybersecurity professionals

🎯

CTF Ready

Perfect for Capture The Flag competitions and security training

{/* Newsletter Section */}

Stay Updated

Subscribe to get the latest updates on new tools and security challenges

); }