Prompt: ”Build a complete, responsive website for Keyswap.ai, a modern marketplace where users can securely buy and sell AI service invite codes. Requirements:
Branding & Style • Logo placeholder with “Keyswap.ai” in a clean sans-serif (e.g. Inter, Poppins)
• Color palette: deep navy (#1A1F36), electric teal (#00E5CF), soft white (#F7F9FC)
• Minimal, futuristic feel with generous whitespace, subtle neumorphic shadows, smooth animations
Global Layout & Navigation • Sticky top navbar: Logo left; links “Explore”, “Sell Code”, “Pricing”, “Blog”, “Sign In / Sign Up” right
• Mobile menu: hamburger toggle
• Footer: Quick links, newsletter signup, social icons, terms & privacy
Homepage • Hero section: headline “Unlock AI Tools in Seconds”, subtext, “Explore Codes” CTA button
• Featured categories: rows of cards (e.g. “Text AI”, “Image AI”, “Voice AI”, “Analytics AI”) with icons
• Trending Listings: horizontal carousel of top-rated invite codes (code name, price, rating stars)
• How It Works: 3-step icons + text (“1. Browse Codes → 2. Secure Checkout → 3. Redeem & Chat”)
• Testimonials: 2–3 user quotes in a grid
Marketplace (“Explore”) • Search bar with filters: category, price range slider, rating, newest
• Grid of listing cards: thumbnail, title, short description, price badge, “Buy Now” button
• Pagination or infinite scroll
Listing Detail Page • Large banner image or code logo
• Title, seller name + avatar, price, stock count
• Detailed description, tags, category breadcrumbs
• “Buy Now” button fixed in view as user scrolls
• Seller info: rating, sales count, “Message Seller” link
• Similar listings carousel
Sell Code Flow • Protected route: only accessible when signed in
• Multi-step form wizard:
• Step 1: Code details (title, description, category, tags)
• Step 2: Upload image/logo
• Step 3: Set price & stock quantity
• Step 4: Review & Publish
User Account Dashboard • Sidebar nav: “My Listings”, “Purchases”, “Wallet”, “Settings”
• My Listings: table of codes with status (active/sold out), edit & remove actions
• Purchases: history with order status, “View Code” buttons
• Wallet: current balance, deposit/withdraw buttons
• Settings: profile info, password change, notification toggles
Checkout & Payments • Secure checkout page with order summary, payment method selection (Stripe, PayPal)
• Order confirmation page with code delivery link & QR code
• Email notification template for purchase receipt & code details
Blog & Resources • Blog listing page: card grid of posts
• Individual post template: title, hero image, date, author, content, share buttons
Interactions & Micro-animations • Hover states on buttons/cards (slight lift + shadow)
• Loading spinners for async actions
• Toast notifications for success/error messages
SEO & Performance • Meta tags for title, description on every page
• Lazy-load images
• Mobile-first responsive breakpoints
Tech Stack & Components • Use React + Next.js, Tailwind CSS for styling
• Reusable UI components: Button, Card, Modal, Navbar, Footer, Input, Select, Carousel
• State management: React Context or Redux
• API routes for listings, auth, payments
Generate all page templates, layouts, and core components so the site is deploy-ready.”