Spaces:
Paused
Paused
Download src/app/about/page.tsx from veltrixcode/retest: direct link, hf CLI and curl.
- Browser
- Download file 15.3 kB
-
https://huggingface.co/spaces/veltrixcode/retest/resolve/main/src/app/about/page.tsx
- Command line
-
hf download hf://spaces/veltrixcode/retest/src/app/about/page.tsx
-
curl -L -o page.tsx https://huggingface.co/spaces/veltrixcode/retest/resolve/main/src/app/about/page.tsx
15.3 kB
| import Link from "next/link" | |
| import { Button } from "@/components/ui/button" | |
| import { | |
| Sparkles, | |
| Zap, | |
| Globe, | |
| Shield, | |
| Users, | |
| Heart, | |
| ArrowRight, | |
| Github, | |
| Twitter, | |
| } from "lucide-react" | |
| import { getPlatformStats } from "@/lib/data" | |
| export default async function AboutPage() { | |
| const platformStats = await getPlatformStats() | |
| const stats = [ | |
| { value: `${platformStats.totalImages}+`, label: "Images Generated" }, | |
| { value: `${platformStats.totalArtists}+`, label: "Active Artists" }, | |
| { value: "100", label: "Free Daily Credits" }, | |
| { value: "5", label: "Credits per Image" }, | |
| ] | |
| const features = [ | |
| { | |
| icon: Zap, | |
| title: "Lightning Fast Generation", | |
| description: "Powered by our AI edge network for instant image generation anywhere in the world." | |
| }, | |
| { | |
| icon: Globe, | |
| title: "Global Edge Network", | |
| description: "Our infrastructure spans 200+ cities worldwide, ensuring low latency no matter where you are." | |
| }, | |
| { | |
| icon: Shield, | |
| title: "Privacy First", | |
| description: "Your prompts and images are yours. We don't sell your data or use it for training without consent." | |
| }, | |
| { | |
| icon: Users, | |
| title: "Community Driven", | |
| description: "Share your creations with a vibrant community of digital artists and AI enthusiasts." | |
| } | |
| ] | |
| return ( | |
| <div className="min-h-screen font-sans"> | |
| {/* Clean Background */} | |
| <div className="fixed inset-0 -z-10 bg-background"> | |
| <div className="absolute inset-0 bg-[linear-gradient(rgba(0,0,0,0.02)_1px,transparent_1px),linear-gradient(90deg,rgba(0,0,0,0.02)_1px,transparent_1px)] dark:bg-[linear-gradient(rgba(255,255,255,0.02)_1px,transparent_1px),linear-gradient(90deg,rgba(255,255,255,0.02)_1px,transparent_1px)] bg-[size:64px_64px]" /> | |
| </div> | |
| {/* Hero Section */} | |
| <section className="pt-24 pb-16 lg:pt-32 lg:pb-24"> | |
| <div className="container px-4 md:px-6"> | |
| <div className="max-w-4xl mx-auto text-center space-y-8"> | |
| <div className="inline-flex items-center gap-2 px-4 py-2 border-2 border-primary bg-primary/5 shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] dark:shadow-[4px_4px_0px_0px_rgba(255,255,255,1)]"> | |
| <Heart className="h-4 w-4 text-primary" /> | |
| <span className="text-sm font-black uppercase tracking-widest text-primary">Our Story</span> | |
| </div> | |
| <h1 className="text-3xl md:text-5xl lg:text-6xl font-black tracking-tighter uppercase"> | |
| Democratizing AI Art | |
| <br /> | |
| <span className="text-primary text-stroke-primary"> | |
| For Everyone | |
| </span> | |
| </h1> | |
| <p className="text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto font-medium"> | |
| Imyra was built with a simple mission: make AI-powered image generation accessible, | |
| fast, and free for creators worldwide. No subscriptions, no hidden fees—just pure creativity. | |
| </p> | |
| </div> | |
| </div> | |
| </section> | |
| {/* Stats Section */} | |
| <section className="py-16 border-y-2 border-border bg-muted/20"> | |
| <div className="container px-4 md:px-6"> | |
| <div className="grid grid-cols-2 md:grid-cols-4 gap-8"> | |
| {stats.map((stat, index) => ( | |
| <div key={index} className="text-center space-y-2 p-6 border-2 border-border bg-card shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] dark:shadow-[6px_6px_0px_0px_rgba(255,255,255,1)] hover:translate-y-[2px] hover:shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] dark:hover:shadow-[2px_2px_0px_0px_rgba(255,255,255,1)] transition-all"> | |
| <p className="text-4xl md:text-5xl font-black text-primary"> | |
| {stat.value} | |
| </p> | |
| <p className="text-sm font-bold text-muted-foreground uppercase tracking-wider"> | |
| {stat.label} | |
| </p> | |
| </div> | |
| ))} | |
| </div> | |
| </div> | |
| </section> | |
| {/* Mission Section */} | |
| <section className="py-16 lg:py-24"> | |
| <div className="container px-4 md:px-6"> | |
| <div className="grid lg:grid-cols-2 gap-12 items-center"> | |
| <div className="space-y-6"> | |
| <div className="inline-flex items-center gap-2 px-3 py-1 border-2 border-border bg-secondary/10 shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] dark:shadow-[4px_4px_0px_0px_rgba(255,255,255,1)]"> | |
| <Sparkles className="h-3 w-3 text-foreground" /> | |
| <span className="text-xs font-black uppercase tracking-widest text-foreground">Our Mission</span> | |
| </div> | |
| <h2 className="text-3xl md:text-4xl font-black tracking-tighter uppercase"> | |
| Art Should Be <span className="text-primary underline decoration-4 decoration-primary underline-offset-4">Accessible</span> | |
| </h2> | |
| <div className="space-y-4 text-muted-foreground font-medium"> | |
| <p> | |
| We believe everyone should have the power to create stunning visuals, | |
| regardless of their artistic background or budget. That's why we offer | |
| 100 free credits every single day. | |
| </p> | |
| <p> | |
| Our platform leverages the best open-source AI models including Flux, Stable Diffusion, | |
| and more—running on distributed GPU infrastructure for blazing-fast | |
| generation times. | |
| </p> | |
| <p> | |
| At just <strong className="text-foreground">5 credits per image</strong>, | |
| you can generate up to <strong className="text-foreground">20 images daily</strong> | |
| completely free. No strings attached. | |
| </p> | |
| </div> | |
| </div> | |
| {/* Feature Grid */} | |
| <div className="grid sm:grid-cols-2 gap-6"> | |
| {features.map((feature, index) => ( | |
| <div | |
| key={index} | |
| className="p-6 rounded-none border-2 border-border bg-card shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] dark:shadow-[6px_6px_0px_0px_rgba(255,255,255,1)] hover:translate-x-[2px] hover:translate-y-[2px] hover:shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] dark:hover:shadow-[2px_2px_0px_0px_rgba(255,255,255,1)] transition-all" | |
| > | |
| <div className="h-12 w-12 flex items-center justify-center mb-4 border-2 border-border bg-primary/10"> | |
| <feature.icon className="h-6 w-6 text-primary" /> | |
| </div> | |
| <h3 className="font-black mb-2 uppercase tracking-tight">{feature.title}</h3> | |
| <p className="text-sm text-muted-foreground font-medium">{feature.description}</p> | |
| </div> | |
| ))} | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| {/* Technology Section */} | |
| <section className="py-16 lg:py-24 border-t-2 border-border bg-muted/20"> | |
| <div className="container px-4 md:px-6"> | |
| <div className="max-w-3xl mx-auto text-center space-y-12"> | |
| <h2 className="text-3xl md:text-4xl font-black tracking-tighter uppercase"> | |
| Powered by <span className="text-primary">Cutting-Edge</span> Tech | |
| </h2> | |
| <div className="grid md:grid-cols-3 gap-8"> | |
| <div className="p-8 rounded-none border-2 border-border bg-card shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] dark:shadow-[6px_6px_0px_0px_rgba(255,255,255,1)] hover:translate-y-[2px] hover:shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] dark:hover:shadow-[2px_2px_0px_0px_rgba(255,255,255,1)] transition-all"> | |
| <div className="text-4xl mb-4">🌐</div> | |
| <h3 className="font-black mb-2 uppercase">Open Source</h3> | |
| <p className="text-sm text-muted-foreground font-medium">Built on community-driven OSS models</p> | |
| </div> | |
| <div className="p-8 rounded-none border-2 border-border bg-card shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] dark:shadow-[6px_6px_0px_0px_rgba(255,255,255,1)] hover:translate-y-[2px] hover:shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] dark:hover:shadow-[2px_2px_0px_0px_rgba(255,255,255,1)] transition-all"> | |
| <div className="text-4xl mb-4">🎨</div> | |
| <h3 className="font-black mb-2 uppercase">Flux & SD Models</h3> | |
| <p className="text-sm text-muted-foreground font-medium">State-of-the-art AI image generation</p> | |
| </div> | |
| <div className="p-8 rounded-none border-2 border-border bg-card shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] dark:shadow-[6px_6px_0px_0px_rgba(255,255,255,1)] hover:translate-y-[2px] hover:shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] dark:hover:shadow-[2px_2px_0px_0px_rgba(255,255,255,1)] transition-all"> | |
| <div className="text-4xl mb-4">🚀</div> | |
| <h3 className="font-black mb-2 uppercase">Next.js 15</h3> | |
| <p className="text-sm text-muted-foreground font-medium">Modern React framework for speed</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| {/* CTA Section */} | |
| <section className="py-16 lg:py-24 border-t-2 border-border"> | |
| <div className="container px-4 md:px-6"> | |
| <div className="relative overflow-hidden border-2 border-border bg-primary/5 p-8 md:p-10 lg:p-12 shadow-[8px_8px_0px_0px_rgba(0,0,0,1)] dark:shadow-[8px_8px_0px_0px_rgba(255,255,255,1)]"> | |
| <div className="relative z-10 text-center max-w-2xl mx-auto space-y-8"> | |
| <h2 className="text-3xl md:text-5xl font-black tracking-tighter uppercase"> | |
| Ready to Start Creating? | |
| </h2> | |
| <p className="text-xl text-muted-foreground font-medium"> | |
| Join our community of artists and start generating stunning AI art today. | |
| It's completely free to get started. | |
| </p> | |
| <div className="flex flex-col sm:flex-row gap-4 justify-center"> | |
| <Button | |
| size="lg" | |
| className="h-16 px-12 text-xl bg-primary hover:bg-primary/90 text-white font-black uppercase tracking-wider rounded-none border-2 border-primary shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] dark:shadow-[6px_6px_0px_0px_rgba(255,255,255,1)] hover:translate-y-[2px] hover:shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] dark:hover:shadow-[2px_2px_0px_0px_rgba(255,255,255,1)] transition-all" | |
| asChild | |
| > | |
| <Link href="/create" className="flex items-center gap-2"> | |
| Start Creating | |
| <ArrowRight className="h-5 w-5" /> | |
| </Link> | |
| </Button> | |
| <Button | |
| size="lg" | |
| variant="outline" | |
| className="h-16 px-12 text-xl bg-background hover:bg-accent font-black uppercase tracking-wider rounded-none border-2 border-border shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] dark:shadow-[6px_6px_0px_0px_rgba(255,255,255,1)] hover:translate-y-[2px] hover:shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] dark:hover:shadow-[2px_2px_0px_0px_rgba(255,255,255,1)] transition-all" | |
| asChild | |
| > | |
| <Link href="/gallery">View Gallery</Link> | |
| </Button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| {/* Footer */} | |
| <footer className="border-t-2 border-border py-12 bg-muted/20"> | |
| <div className="container px-4 md:px-6"> | |
| <div className="flex flex-col md:flex-row justify-between items-center gap-6"> | |
| <div className="flex items-center gap-2"> | |
| <div className="p-2 border-2 border-border bg-primary text-white shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] dark:shadow-[2px_2px_0px_0px_rgba(255,255,255,1)]"> | |
| <Sparkles className="h-6 w-6" /> | |
| </div> | |
| <span className="font-black text-xl uppercase tracking-tight">Imyra</span> | |
| </div> | |
| <nav className="flex gap-8 text-sm font-bold uppercase tracking-wider"> | |
| <Link href="/" className="hover:text-primary transition-colors hover:underline decoration-2 underline-offset-4">Home</Link> | |
| <Link href="/create" className="hover:text-primary transition-colors hover:underline decoration-2 underline-offset-4">Create</Link> | |
| <Link href="/about" className="hover:text-primary transition-colors hover:underline decoration-2 underline-offset-4">About</Link> | |
| </nav> | |
| <p className="text-sm font-bold text-muted-foreground"> | |
| © {new Date().getFullYear()} Imyra. | |
| </p> | |
| </div> | |
| </div> | |
| </footer> | |
| </div> | |
| ) | |
| } | |