Spaces:
Sleeping
Sleeping
File size: 13,232 Bytes
18ea885 126d11a 18ea885 126d11a 18ea885 126d11a 18ea885 126d11a 18ea885 126d11a 18ea885 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input"
import { Plus, Upload, ChevronDown, ChevronRight, Eye, Heart } from "lucide-react"
export default function Home() {
return (
<div className="min-h-screen bg-white">
{/* Navigation */}
<nav className="sticky top-0 z-50 flex items-center justify-between border-b border-border bg-white px-8 h-[60px]">
<div className="flex items-center gap-12">
{/* Logo */}
<a href="#" className="flex items-center gap-1 text-base font-semibold text-foreground">
<span>v0</span>
<span className="text-xs font-normal text-muted-foreground">by Vercel</span>
</a>
{/* New Chat Button */}
<Button variant="outline" size="sm" className="gap-2">
<Plus className="w-4 h-4" />
New Chat
</Button>
{/* Nav Links */}
<div className="flex items-center gap-6">
<button className="flex items-center gap-1 text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
Templates
<ChevronDown className="w-3 h-3" />
</button>
<button className="flex items-center gap-1 text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
Resources
<ChevronDown className="w-3 h-3" />
</button>
<a href="#" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
Enterprise
</a>
<a href="#" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
Pricing
</a>
<a href="#" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
iOS
</a>
<a href="#" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
Students
</a>
<a href="#" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
FAQ
</a>
</div>
</div>
{/* Auth Buttons */}
<div className="flex items-center gap-4">
<Button variant="outline" size="sm" className="text-sm font-medium">
Sign In
</Button>
<Button variant="outline" size="sm" className="text-sm font-medium">
Sign Up
</Button>
</div>
</nav>
{/* Main Container */}
<main className="max-w-[1200px] mx-auto px-8">
{/* Hero Section */}
<section className="relative text-center py-16">
{/* Large Watermark */}
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-[240px] font-bold text-foreground/[0.02] tracking-tighter leading-none select-none pointer-events-none">
v0
</div>
<div className="relative z-10">
<h1 className="text-5xl font-semibold tracking-tight mb-4">
What do you want to create?
</h1>
<p className="text-base text-muted-foreground mb-8">
Start building with a single prompt. No coding needed.
</p>
{/* Input Field */}
<div className="max-w-[600px] mx-auto flex items-center gap-2 p-2 border border-input rounded-xl bg-background hover:border-muted-foreground/20 focus-within:border-ring transition-colors">
<button className="p-2 hover:bg-accent rounded-lg transition-colors">
<Plus className="w-5 h-5 text-muted-foreground" />
</button>
<Input
placeholder="Ask v0 to build..."
className="border-0 shadow-none focus-visible:ring-0 text-sm bg-transparent"
/>
<button className="p-2 hover:bg-accent rounded-lg transition-colors">
<Upload className="w-5 h-5 text-muted-foreground" />
</button>
</div>
</div>
</section>
{/* Community Section */}
<section className="py-12">
<div className="flex items-center justify-between mb-6">
<div>
<h2 className="text-lg font-semibold mb-1">From the Community</h2>
<p className="text-sm text-muted-foreground">
Explore what the community is building with v0.
</p>
</div>
<a href="#" className="flex items-center gap-1 text-sm font-medium text-foreground hover:underline">
Browse All
<ChevronRight className="w-4 h-4" />
</a>
</div>
{/* Template Grid */}
<div className="grid grid-cols-3 gap-6">
{/* Template Card 1 */}
<div className="group cursor-pointer">
<div className="relative aspect-[4/3] rounded-lg border border-border overflow-hidden mb-3 bg-gray-50">
<div className="p-6">
<h3 className="text-sm font-medium mb-4">
Effortless custom contract billing by Brilliance
</h3>
<div className="mt-8 space-y-2">
<div className="h-2 bg-gray-200 rounded w-full"></div>
<div className="h-2 bg-gray-200 rounded w-3/4"></div>
<div className="h-8 bg-black rounded w-24 mt-4"></div>
</div>
</div>
</div>
<div className="flex items-start gap-2">
<div className="w-6 h-6 rounded-full bg-purple-500 flex-shrink-0"></div>
<div className="flex-1">
<h4 className="text-sm font-medium mb-1">Brilliance SaaS Landing Page</h4>
<div className="flex items-center gap-3 text-xs text-muted-foreground">
<span className="flex items-center gap-1">
<Eye className="w-3 h-3" />
2.1k
</span>
<span className="flex items-center gap-1">
<Heart className="w-3 h-3" />
662
</span>
</div>
</div>
</div>
</div>
{/* Template Card 2 */}
<div className="group cursor-pointer">
<div className="relative aspect-[4/3] rounded-lg border border-border overflow-hidden mb-3 bg-black">
<div className="flex items-center justify-center h-full">
<div className="text-white text-sm">3D Gallery Photography Template</div>
</div>
</div>
<div className="flex items-start gap-2">
<div className="w-6 h-6 rounded-full bg-purple-500 flex-shrink-0"></div>
<div className="flex-1">
<h4 className="text-sm font-medium mb-1">3D Gallery Photography Template</h4>
<div className="flex items-center gap-3 text-xs text-muted-foreground">
<span className="flex items-center gap-1">
<Eye className="w-3 h-3" />
5.14k
</span>
<span className="flex items-center gap-1">
<Heart className="w-3 h-3" />
403
</span>
</div>
</div>
</div>
</div>
{/* Template Card 3 */}
<div className="group cursor-pointer">
<div className="relative aspect-[4/3] rounded-lg border border-border overflow-hidden mb-3 bg-black">
<div className="absolute top-3 right-3">
<span className="inline-flex items-center justify-center w-8 h-8 rounded-full bg-black text-white text-xs font-medium border border-white/20">
AI
</span>
</div>
<div className="flex items-center justify-center h-full">
<h3 className="text-white text-lg font-semibold">AI Gateway Starter</h3>
</div>
</div>
<div className="flex items-start gap-2">
<div className="w-6 h-6 rounded-full bg-purple-500 flex-shrink-0"></div>
<div className="flex-1">
<h4 className="text-sm font-medium mb-1">AI Gateway Starter</h4>
<div className="flex items-center gap-3 text-xs text-muted-foreground">
<span className="flex items-center gap-1">
<Eye className="w-3 h-3" />
4.42k
</span>
<span className="flex items-center gap-1">
<Heart className="w-3 h-3" />
188
</span>
</div>
</div>
</div>
</div>
{/* Template Card 4 */}
<div className="group cursor-pointer">
<div className="relative aspect-[4/3] rounded-lg border border-border overflow-hidden mb-3 bg-gradient-to-br from-blue-500 to-purple-600">
<div className="flex flex-col items-center justify-center h-full text-white px-6">
<h3 className="text-lg font-semibold mb-3">
Unleash the Power of AI Agents
</h3>
<Button size="sm" variant="secondary" className="bg-white text-black hover:bg-gray-100">
Learn More
</Button>
</div>
</div>
<div className="flex items-start gap-2">
<div className="w-6 h-6 rounded-full bg-purple-500 flex-shrink-0"></div>
<div className="flex-1">
<h4 className="text-sm font-medium mb-1">Pointer AI landing page</h4>
<div className="flex items-center gap-3 text-xs text-muted-foreground">
<span className="flex items-center gap-1">
<Eye className="w-3 h-3" />
14.8k
</span>
<span className="flex items-center gap-1">
<Heart className="w-3 h-3" />
1.1k
</span>
</div>
</div>
</div>
</div>
{/* Template Card 5 */}
<div className="group cursor-pointer">
<div className="relative aspect-[4/3] rounded-lg border border-border overflow-hidden mb-3 bg-black">
<div className="flex items-center justify-center h-full">
<div className="w-16 h-16 rounded-lg bg-gradient-to-br from-green-400 to-emerald-500"></div>
</div>
</div>
<div className="flex items-start gap-2">
<div className="w-6 h-6 rounded-full bg-purple-500 flex-shrink-0"></div>
<div className="flex-1">
<h4 className="text-sm font-medium mb-1">Dashboard – M.O.N.K.Y</h4>
<div className="flex items-center gap-3 text-xs text-muted-foreground">
<span className="flex items-center gap-1">
<Eye className="w-3 h-3" />
7.76k
</span>
<span className="flex items-center gap-1">
<Heart className="w-3 h-3" />
725
</span>
</div>
</div>
</div>
</div>
{/* Template Card 6 */}
<div className="group cursor-pointer">
<div className="relative aspect-[4/3] rounded-lg border border-border overflow-hidden mb-3 bg-gradient-to-br from-slate-900 to-slate-800">
<div className="flex items-center justify-center h-full">
<h3 className="text-white text-lg font-semibold">
Unlock your future growth
</h3>
</div>
</div>
<div className="flex items-start gap-2">
<div className="w-6 h-6 rounded-full bg-purple-500 flex-shrink-0"></div>
<div className="flex-1">
<h4 className="text-sm font-medium mb-1">Skal Ventures Template</h4>
<div className="flex items-center gap-3 text-xs text-muted-foreground">
<span className="flex items-center gap-1">
<Eye className="w-3 h-3" />
3.23k
</span>
<span className="flex items-center gap-1">
<Heart className="w-3 h-3" />
495
</span>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
</div>
)
}
|