KVRT commited on
Commit
9d94f4f
·
verified ·
1 Parent(s): 11d8378

Upload components/HeroSection.jsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/HeroSection.jsx +108 -0
components/HeroSection.jsx ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { ArrowRight, Sparkles, Zap, Globe } from 'lucide-react'
2
+
3
+ export default function HeroSection() {
4
+ return (
5
+ <section className="relative pt-32 pb-20 lg:pt-48 lg:pb-32 overflow-hidden">
6
+ <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
7
+ <div className="grid lg:grid-cols-2 gap-16 items-center">
8
+ <div className="space-y-8">
9
+ <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">
10
+ <Sparkles className="w-4 h-4" />
11
+ <span>Advanced URL Shortening Platform</span>
12
+ </div>
13
+
14
+ <h1 className="text-4xl sm:text-5xl lg:text-6xl font-extrabold tracking-tight leading-tight">
15
+ Shorten links,{' '}
16
+ <span className="bg-gradient-to-r from-emerald-400 to-cyan-400 bg-clip-text text-transparent">
17
+ amplify reach
18
+ </span>
19
+ </h1>
20
+
21
+ <p className="text-lg text-slate-400 max-w-lg leading-relaxed">
22
+ Transform long URLs into powerful, branded short links. Track clicks,
23
+ protect against malicious sites, and customize your links with ease.
24
+ </p>
25
+
26
+ <div className="flex flex-wrap gap-4">
27
+ <a
28
+ href="#shorten"
29
+ 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"
30
+ >
31
+ Start Shortening
32
+ <ArrowRight className="w-5 h-5" />
33
+ </a>
34
+ <a
35
+ href="#features"
36
+ 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"
37
+ >
38
+ Learn More
39
+ </a>
40
+ </div>
41
+
42
+ <div className="flex items-center gap-8 pt-4">
43
+ <div className="flex items-center gap-2 text-sm text-slate-500">
44
+ <Zap className="w-4 h-4 text-emerald-400" />
45
+ <span>Lightning Fast</span>
46
+ </div>
47
+ <div className="flex items-center gap-2 text-sm text-slate-500">
48
+ <Globe className="w-4 h-4 text-emerald-400" />
49
+ <span>Global CDN</span>
50
+ </div>
51
+ </div>
52
+ </div>
53
+
54
+ <div className="relative hidden lg:block">
55
+ <div className="absolute inset-0 bg-gradient-to-br from-emerald-500/20 to-cyan-500/20 blur-3xl" />
56
+ <div className="relative bg-slate-900/80 backdrop-blur-sm border border-slate-800 rounded-2xl p-8 shadow-2xl shadow-slate-950/50">
57
+ <div className="space-y-4">
58
+ <div className="flex items-center gap-3 text-slate-400 text-sm">
59
+ <div className="w-3 h-3 rounded-full bg-red-500" />
60
+ <div className="w-3 h-3 rounded-full bg-yellow-500" />
61
+ <div className="w-3 h-3 rounded-full bg-green-500" />
62
+ </div>
63
+ <div className="space-y-3">
64
+ <div className="flex items-center gap-3 p-3 rounded-lg bg-slate-800/50 border border-slate-700/50">
65
+ <Globe className="w-5 h-5 text-emerald-400 shrink-0" />
66
+ <div className="flex-1">
67
+ <p className="text-sm text-slate-300 truncate">
68
+ https://example.com/very/long/url/that-needs-shortening...
69
+ </p>
70
+ </div>
71
+ </div>
72
+ <div className="flex justify-center">
73
+ <ArrowRight className="w-5 h-5 text-slate-600 rotate-90" />
74
+ </div>
75
+ <div className="flex items-center gap-3 p-3 rounded-lg bg-emerald-500/10 border border-emerald-500/20">
76
+ <Sparkles className="w-5 h-5 text-emerald-400 shrink-0" />
77
+ <div className="flex-1">
78
+ <p className="text-sm font-mono text-emerald-400">
79
+ sh0rtl.ink/aBcD3f
80
+ </p>
81
+ </div>
82
+ <span className="text-xs px-2 py-1 rounded-md bg-emerald-500/20 text-emerald-300 font-mono">
83
+ 128 clicks
84
+ </span>
85
+ </div>
86
+ </div>
87
+ <div className="grid grid-cols-3 gap-3 pt-4">
88
+ <div className="text-center p-3 rounded-lg bg-slate-800/30">
89
+ <p className="text-lg font-bold text-slate-200">12.5K</p>
90
+ <p className="text-xs text-slate-500">Links</p>
91
+ </div>
92
+ <div className="text-center p-3 rounded-lg bg-slate-800/30">
93
+ <p className="text-lg font-bold text-slate-200">2.1M</p>
94
+ <p className="text-xs text-slate-500">Clicks</p>
95
+ </div>
96
+ <div className="text-center p-3 rounded-lg bg-slate-800/30">
97
+ <p className="text-lg font-bold text-slate-200">99.9%</p>
98
+ <p className="text-xs text-slate-500">Uptime</p>
99
+ </div>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ </section>
107
+ )
108
+ }