Spaces:
Sleeping
Sleeping
Premium landing page: improved typography, spacing, and animations
Browse files- src/app/page.tsx +48 -33
src/app/page.tsx
CHANGED
|
@@ -1,55 +1,70 @@
|
|
|
|
|
|
|
|
| 1 |
export default function Home() {
|
| 2 |
return (
|
| 3 |
-
<div className="relative min-h-screen flex flex-col items-center justify-center overflow-hidden
|
| 4 |
{/* Ambient glow orbs */}
|
| 5 |
-
<div className="absolute top-1/4 left-1/4 w-96 h-96 bg-violet-
|
| 6 |
-
<div className="absolute bottom-1/4 right-1/4 w-
|
| 7 |
|
| 8 |
-
<div className="relative z-10 flex flex-col items-center text-center px-6 max-w-
|
| 9 |
-
{/*
|
| 10 |
-
<div className="
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
</div>
|
| 13 |
|
| 14 |
-
|
|
|
|
| 15 |
What broke between<br />
|
| 16 |
-
<span className="text-violet-400">
|
|
|
|
|
|
|
|
|
|
| 17 |
</h1>
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
| 22 |
</p>
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
|
|
|
| 26 |
href="/onboarding"
|
| 27 |
-
className="px-
|
| 28 |
>
|
| 29 |
-
Run Diagnostic
|
| 30 |
-
|
| 31 |
-
<
|
|
|
|
| 32 |
href="/dashboard"
|
| 33 |
-
className="px-
|
| 34 |
>
|
| 35 |
View Demo
|
| 36 |
-
</
|
| 37 |
</div>
|
| 38 |
|
| 39 |
-
{/*
|
| 40 |
-
<div className="
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
<div
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
| 51 |
</div>
|
| 52 |
</div>
|
| 53 |
</div>
|
| 54 |
);
|
| 55 |
-
}
|
|
|
|
| 1 |
+
import Link from 'next/link';
|
| 2 |
+
|
| 3 |
export default function Home() {
|
| 4 |
return (
|
| 5 |
+
<div className="relative min-h-screen flex flex-col items-center justify-center overflow-hidden">
|
| 6 |
{/* Ambient glow orbs */}
|
| 7 |
+
<div className="absolute top-1/4 left-1/4 w-96 h-96 bg-violet-600/10 rounded-full blur-3xl pointer-events-none animate-pulse-slow" />
|
| 8 |
+
<div className="absolute bottom-1/4 right-1/4 w-96 h-96 bg-cyan-500/10 rounded-full blur-3xl pointer-events-none" style={{animationDelay: '1s'}} />
|
| 9 |
|
| 10 |
+
<div className="relative z-10 flex flex-col items-center text-center px-6 max-w-5xl mx-auto space-y-12">
|
| 11 |
+
{/* Badge */}
|
| 12 |
+
<div className="group">
|
| 13 |
+
<div className="px-6 py-2.5 rounded-full border border-violet-500/30 bg-violet-950/30 backdrop-blur-sm">
|
| 14 |
+
<p className="text-sm font-medium text-violet-300 tracking-wide">
|
| 15 |
+
RELATIONAL INTELLIGENCE INFRASTRUCTURE
|
| 16 |
+
</p>
|
| 17 |
+
</div>
|
| 18 |
</div>
|
| 19 |
|
| 20 |
+
{/* Hero headline */}
|
| 21 |
+
<h1 className="text-6xl md:text-8xl font-light tracking-tight leading-none">
|
| 22 |
What broke between<br />
|
| 23 |
+
<span className="text-transparent bg-clip-text bg-gradient-to-r from-violet-400 to-violet-200">
|
| 24 |
+
you
|
| 25 |
+
</span>
|
| 26 |
+
<span className="text-violet-400">?</span>
|
| 27 |
</h1>
|
| 28 |
|
| 29 |
+
{/* Subheading */}
|
| 30 |
+
<p className="text-xl md:text-2xl text-slate-400 max-w-3xl leading-relaxed font-light">
|
| 31 |
+
DEFRAG maps the invisible architecture of your psychology and the people around you.
|
| 32 |
+
<span className="text-slate-300"> Know yourself. Navigate each other.</span>
|
| 33 |
</p>
|
| 34 |
|
| 35 |
+
{/* CTA buttons */}
|
| 36 |
+
<div className="flex flex-col sm:flex-row items-center gap-6 pt-4">
|
| 37 |
+
<Link
|
| 38 |
href="/onboarding"
|
| 39 |
+
className="group relative px-10 py-4 rounded-xl bg-gradient-to-r from-violet-600 to-violet-500 hover:from-violet-500 hover:to-violet-400 text-white font-medium text-lg transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-violet-500/40 active:scale-95"
|
| 40 |
>
|
| 41 |
+
<span className="relative z-10">Run Diagnostic</span>
|
| 42 |
+
<div className="absolute inset-0 rounded-xl bg-gradient-to-r from-violet-400 to-violet-300 opacity-0 group-hover:opacity-20 blur transition-opacity" />
|
| 43 |
+
</Link>
|
| 44 |
+
<Link
|
| 45 |
href="/dashboard"
|
| 46 |
+
className="px-10 py-4 rounded-xl border-2 border-violet-500/30 hover:border-violet-500/60 hover:bg-violet-500/10 text-slate-300 hover:text-white font-medium text-lg transition-all duration-300 hover:shadow-lg hover:shadow-violet-500/20"
|
| 47 |
>
|
| 48 |
View Demo
|
| 49 |
+
</Link>
|
| 50 |
</div>
|
| 51 |
|
| 52 |
+
{/* Stats */}
|
| 53 |
+
<div className="grid grid-cols-3 gap-12 pt-16">
|
| 54 |
+
<div className="flex flex-col items-center">
|
| 55 |
+
<div className="text-5xl font-light text-white mb-2">64</div>
|
| 56 |
+
<div className="text-sm text-slate-500 uppercase tracking-widest">Archetypal Gates</div>
|
| 57 |
+
</div>
|
| 58 |
+
<div className="flex flex-col items-center">
|
| 59 |
+
<div className="text-5xl font-light text-white mb-2">∞</div>
|
| 60 |
+
<div className="text-sm text-slate-500 uppercase tracking-widest">Relational Vectors</div>
|
| 61 |
+
</div>
|
| 62 |
+
<div className="flex flex-col items-center">
|
| 63 |
+
<div className="text-5xl font-light text-transparent bg-clip-text bg-gradient-to-r from-emerald-400 to-cyan-400 mb-2">NOMINAL</div>
|
| 64 |
+
<div className="text-sm text-slate-500 uppercase tracking-widest">System Load</div>
|
| 65 |
+
</div>
|
| 66 |
</div>
|
| 67 |
</div>
|
| 68 |
</div>
|
| 69 |
);
|
| 70 |
+
}
|