import Link from "next/link" import { Button } from "@/components/ui/button" import { Sparkles, Zap, Palette, Shield, ArrowRight, Star } from "lucide-react" import { getPlatformStats, getFeaturedImages } from "@/lib/data" import { GalleryMasonry } from "@/components/gallery-masonry" export const dynamic = "force-dynamic" export default async function Home() { const stats = await getPlatformStats() const featuredImages = await getFeaturedImages(6) const features = [ { icon: Zap, title: "Lightning Fast", description: "Generate high-quality images in seconds. Our distributed AI infrastructure delivers blazing-fast results globally.", color: "text-amber-500", highlight: "< 20s generation" }, { icon: Palette, title: "Open Source Models", description: "Powered by the best OSS models—Flux, Stable Diffusion, Dreamshaper & more. Community-driven, constantly improving.", color: "text-blue-500", highlight: "10+ AI models" }, { icon: Shield, title: "100 Free Daily", description: "No subscriptions, no hidden fees. Get 100 free credits every day to create up to 20 stunning images.", color: "text-emerald-500", highlight: "Forever free" } ] return (
{/* Animated Background */} {/* Background - Clean Grid */}
{/* Hero Section */}
{/* Badge */}
AI-Powered Art Generation
{/* Main Heading */}

Transform Ideas Into
Stunning Visuals

{/* Subtitle */}

Create professional-quality AI art in seconds. Powered by Flux, Stable Diffusion, and cutting-edge models through our global edge network.

{/* CTA Buttons */}
{/* Social Proof with Real Numbers */}
{[...Array(4)].map((_, i) => (
{String.fromCharCode(65 + i)}
))}
{stats.totalArtists}+ Artists
{[...Array(5)].map((_, i) => ( ))}
{stats.averageRating}/5 Rating
{stats.totalImages}+ Images Created
{/* Featured Creations */}

Featured Creations

Check out what our community is creating right now.

{/* Features Section */}

Why Choose Imyra?

Built for creators who demand speed, quality, and freedom.

{features.map((feature, index) => (
{/* Highlight Badge */}
{feature.highlight}

{feature.title}

{feature.description}

))}
{/* CTA Section */}

Create Stunning
AI Art in Seconds

Join thousands of artists using Imyra. Get 100 free credits daily—no credit card required.

{/* Footer */}
) }