anycoder-bc3e2d05 / components /HeroSection.jsx
KVRT's picture
Upload components/HeroSection.jsx with huggingface_hub
9d94f4f verified
Raw History Blame Contribute Delete
5.47 kB
import { ArrowRight, Sparkles, Zap, Globe } from 'lucide-react'
export default function HeroSection() {
return (
<section className="relative pt-32 pb-20 lg:pt-48 lg:pb-32 overflow-hidden">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="grid lg:grid-cols-2 gap-16 items-center">
<div className="space-y-8">
<div className="inline-flex items-center gap-2 px-4 py-2 rounded-full bg-emerald-500/10 border border-emerald-500/20 text-emerald-400 text-sm font-medium animate-fade-in">
<Sparkles className="w-4 h-4" />
<span>Advanced URL Shortening Platform</span>
</div>
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-extrabold tracking-tight leading-tight">
Shorten links,{' '}
<span className="bg-gradient-to-r from-emerald-400 to-cyan-400 bg-clip-text text-transparent">
amplify reach
</span>
</h1>
<p className="text-lg text-slate-400 max-w-lg leading-relaxed">
Transform long URLs into powerful, branded short links. Track clicks,
protect against malicious sites, and customize your links with ease.
</p>
<div className="flex flex-wrap gap-4">
<a
href="#shorten"
className="inline-flex items-center gap-2 px-6 py-3 rounded-xl bg-gradient-to-r from-emerald-600 to-teal-600 text-white font-semibold shadow-lg shadow-emerald-500/20 hover:shadow-emerald-500/40 hover:scale-105 transition-all"
>
Start Shortening
<ArrowRight className="w-5 h-5" />
</a>
<a
href="#features"
className="inline-flex items-center gap-2 px-6 py-3 rounded-xl border border-slate-700 text-slate-300 font-semibold hover:border-slate-500 hover:text-slate-100 transition-all"
>
Learn More
</a>
</div>
<div className="flex items-center gap-8 pt-4">
<div className="flex items-center gap-2 text-sm text-slate-500">
<Zap className="w-4 h-4 text-emerald-400" />
<span>Lightning Fast</span>
</div>
<div className="flex items-center gap-2 text-sm text-slate-500">
<Globe className="w-4 h-4 text-emerald-400" />
<span>Global CDN</span>
</div>
</div>
</div>
<div className="relative hidden lg:block">
<div className="absolute inset-0 bg-gradient-to-br from-emerald-500/20 to-cyan-500/20 blur-3xl" />
<div className="relative bg-slate-900/80 backdrop-blur-sm border border-slate-800 rounded-2xl p-8 shadow-2xl shadow-slate-950/50">
<div className="space-y-4">
<div className="flex items-center gap-3 text-slate-400 text-sm">
<div className="w-3 h-3 rounded-full bg-red-500" />
<div className="w-3 h-3 rounded-full bg-yellow-500" />
<div className="w-3 h-3 rounded-full bg-green-500" />
</div>
<div className="space-y-3">
<div className="flex items-center gap-3 p-3 rounded-lg bg-slate-800/50 border border-slate-700/50">
<Globe className="w-5 h-5 text-emerald-400 shrink-0" />
<div className="flex-1">
<p className="text-sm text-slate-300 truncate">
https://example.com/very/long/url/that-needs-shortening...
</p>
</div>
</div>
<div className="flex justify-center">
<ArrowRight className="w-5 h-5 text-slate-600 rotate-90" />
</div>
<div className="flex items-center gap-3 p-3 rounded-lg bg-emerald-500/10 border border-emerald-500/20">
<Sparkles className="w-5 h-5 text-emerald-400 shrink-0" />
<div className="flex-1">
<p className="text-sm font-mono text-emerald-400">
sh0rtl.ink/aBcD3f
</p>
</div>
<span className="text-xs px-2 py-1 rounded-md bg-emerald-500/20 text-emerald-300 font-mono">
128 clicks
</span>
</div>
</div>
<div className="grid grid-cols-3 gap-3 pt-4">
<div className="text-center p-3 rounded-lg bg-slate-800/30">
<p className="text-lg font-bold text-slate-200">12.5K</p>
<p className="text-xs text-slate-500">Links</p>
</div>
<div className="text-center p-3 rounded-lg bg-slate-800/30">
<p className="text-lg font-bold text-slate-200">2.1M</p>
<p className="text-xs text-slate-500">Clicks</p>
</div>
<div className="text-center p-3 rounded-lg bg-slate-800/30">
<p className="text-lg font-bold text-slate-200">99.9%</p>
<p className="text-xs text-slate-500">Uptime</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
)
}