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