cjo93 commited on
Commit
e4293ad
·
verified ·
1 Parent(s): e705a67

Premium landing page: improved typography, spacing, and animations

Browse files
Files changed (1) hide show
  1. 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 grid-bg">
4
  {/* Ambient glow orbs */}
5
- <div className="absolute top-1/4 left-1/4 w-96 h-96 bg-violet-900/20 rounded-full blur-3xl pointer-events-none" />
6
- <div className="absolute bottom-1/4 right-1/4 w-64 h-64 bg-cyan-900/20 rounded-full blur-3xl pointer-events-none" />
7
 
8
- <div className="relative z-10 flex flex-col items-center text-center px-6 max-w-3xl">
9
- {/* Gate badge */}
10
- <div className="mb-8 px-4 py-1.5 rounded-full border border-violet-800/50 bg-violet-950/40 text-violet-400 text-xs font-mono tracking-widest uppercase">
11
- Relational Intelligence Infrastructure
 
 
 
 
12
  </div>
13
 
14
- <h1 className="text-5xl md:text-7xl font-light tracking-tight text-slate-100 mb-6 leading-tight">
 
15
  What broke between<br />
16
- <span className="text-violet-400">you</span>?
 
 
 
17
  </h1>
18
 
19
- <p className="text-lg text-slate-500 max-w-xl mb-10 leading-relaxed">
20
- DEFRAG maps the invisible architecture of your psychology
21
- and the people around you. Know yourself. Navigate each other.
 
22
  </p>
23
 
24
- <div className="flex flex-col sm:flex-row items-center gap-4">
25
- <a
 
26
  href="/onboarding"
27
- className="px-8 py-3 rounded bg-violet-700 hover:bg-violet-600 text-white font-mono text-sm tracking-wide transition-all glow-accent"
28
  >
29
- Run Diagnostic
30
- </a>
31
- <a
 
32
  href="/dashboard"
33
- className="px-8 py-3 rounded border border-slate-700 text-slate-400 hover:border-violet-700 hover:text-violet-400 font-mono text-sm tracking-wide transition-all"
34
  >
35
  View Demo
36
- </a>
37
  </div>
38
 
39
- {/* Ticker */}
40
- <div className="mt-16 grid grid-cols-3 gap-8 text-center">
41
- {[
42
- { label: 'Archetypal Gates', val: '64' },
43
- { label: 'Relational Vectors', val: '\u221e' },
44
- { label: 'System Load', val: 'NOMINAL' },
45
- ].map(({ label, val }) => (
46
- <div key={label} className="flex flex-col gap-1">
47
- <span className="text-2xl font-mono text-violet-400">{val}</span>
48
- <span className="text-xs text-slate-600 tracking-widest uppercase">{label}</span>
49
- </div>
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
+ }