|
1 | | -import { ArchetypeGrid } from "@/components/archetype-grid"; |
2 | | -import { BiohybridRealitySection } from "@/components/reality-section"; |
3 | | -import { BottleneckDiagram } from "@/components/bottleneck-diagram"; |
4 | | -import { ClusterSection } from "@/components/cluster-section"; |
5 | | -import { FooterManifest } from "@/components/footer-manifest"; |
6 | | -import { HeroSection } from "@/components/hero-section"; |
7 | | -import { TokenSurface } from "@/components/token-surface"; |
8 | | -import { PalettePanel } from "@/components/palette-panel"; |
9 | | -import { LiveSignalPreview } from "@/components/live-signal-preview"; |
10 | | -import { SectionHeading } from "@/components/section-heading"; |
11 | | -import { SignalCard } from "@/components/signal-card"; |
12 | | -import { SiteHeader } from "@/components/site-header"; |
13 | | -import { SnippetWall } from "@/components/snippet-wall"; |
14 | | -import { TokenThesisSection } from "@/components/token-thesis-section"; |
15 | | -import { content } from "@/lib/content"; |
16 | | -import { Reveal } from "@/components/reveal"; |
| 1 | +import { redirect } from "next/navigation"; |
17 | 2 |
|
18 | | -export default function HomePage() { |
19 | | - return ( |
20 | | - <main className="relative isolate overflow-hidden"> |
21 | | - <SiteHeader /> |
22 | | - |
23 | | - <div className="mx-auto flex w-full max-w-7xl flex-col gap-10 px-6 pb-20 pt-6 sm:px-8 lg:px-10 lg:pb-28"> |
24 | | - <HeroSection /> |
25 | | - <TokenSurface /> |
26 | | - |
27 | | - <section id="wetware" className="scroll-mt-24"> |
28 | | - <Reveal> |
29 | | - <SectionHeading |
30 | | - eyebrow={content.sections.wetware.eyebrow} |
31 | | - title={content.sections.wetware.title} |
32 | | - description={content.sections.wetware.description} |
33 | | - /> |
34 | | - </Reveal> |
35 | | - <div className="mt-8 grid gap-4 lg:grid-cols-12"> |
36 | | - {content.sections.wetware.points.map((point, index) => { |
37 | | - const spanClass = |
38 | | - index === 0 |
39 | | - ? "lg:col-span-7" |
40 | | - : index === 1 |
41 | | - ? "lg:col-span-5" |
42 | | - : "lg:col-span-6 lg:col-start-7"; |
43 | | - |
44 | | - return ( |
45 | | - <Reveal key={point.title} delay={index * 90}> |
46 | | - <SignalCard |
47 | | - tone={point.tone} |
48 | | - eyebrow={point.eyebrow} |
49 | | - title={point.title} |
50 | | - body={point.body} |
51 | | - className={spanClass} |
52 | | - /> |
53 | | - </Reveal> |
54 | | - ); |
55 | | - })} |
56 | | - </div> |
57 | | - </section> |
58 | | - |
59 | | - <section id="hype" className="scroll-mt-24"> |
60 | | - <Reveal> |
61 | | - <SectionHeading |
62 | | - eyebrow={content.sections.hype.eyebrow} |
63 | | - title={content.sections.hype.title} |
64 | | - description={content.sections.hype.description} |
65 | | - /> |
66 | | - </Reveal> |
67 | | - <ClusterSection /> |
68 | | - </section> |
69 | | - |
70 | | - <section id="bottlenecks" className="scroll-mt-24"> |
71 | | - <Reveal> |
72 | | - <SectionHeading |
73 | | - eyebrow={content.sections.bottlenecks.eyebrow} |
74 | | - title={content.sections.bottlenecks.title} |
75 | | - description={content.sections.bottlenecks.description} |
76 | | - /> |
77 | | - </Reveal> |
78 | | - <BottleneckDiagram /> |
79 | | - </section> |
80 | | - |
81 | | - <section id="reality" className="scroll-mt-24"> |
82 | | - <Reveal> |
83 | | - <SectionHeading |
84 | | - eyebrow={content.sections.reality.eyebrow} |
85 | | - title={content.sections.reality.title} |
86 | | - description={content.sections.reality.description} |
87 | | - /> |
88 | | - </Reveal> |
89 | | - <BiohybridRealitySection /> |
90 | | - </section> |
91 | | - |
92 | | - <section id="archetypes" className="scroll-mt-24"> |
93 | | - <Reveal> |
94 | | - <SectionHeading |
95 | | - eyebrow={content.sections.archetypes.eyebrow} |
96 | | - title={content.sections.archetypes.title} |
97 | | - description={content.sections.archetypes.description} |
98 | | - /> |
99 | | - </Reveal> |
100 | | - <ArchetypeGrid /> |
101 | | - </section> |
102 | | - |
103 | | - <section id="snippets" className="scroll-mt-24"> |
104 | | - <Reveal> |
105 | | - <SectionHeading |
106 | | - eyebrow={content.sections.snippets.eyebrow} |
107 | | - title={content.sections.snippets.title} |
108 | | - description={content.sections.snippets.description} |
109 | | - /> |
110 | | - </Reveal> |
111 | | - <SnippetWall /> |
112 | | - </section> |
113 | | - |
114 | | - <section id="palette" className="scroll-mt-24"> |
115 | | - <Reveal> |
116 | | - <SectionHeading |
117 | | - eyebrow={content.sections.palette.eyebrow} |
118 | | - title={content.sections.palette.title} |
119 | | - description={content.sections.palette.description} |
120 | | - /> |
121 | | - </Reveal> |
122 | | - <PalettePanel /> |
123 | | - </section> |
124 | | - |
125 | | - <section id="token" className="scroll-mt-24"> |
126 | | - <Reveal> |
127 | | - <SectionHeading |
128 | | - eyebrow={content.sections.token.eyebrow} |
129 | | - title={content.sections.token.title} |
130 | | - description={content.sections.token.description} |
131 | | - /> |
132 | | - </Reveal> |
133 | | - <TokenThesisSection /> |
134 | | - </section> |
135 | | - |
136 | | - <FooterManifest /> |
137 | | - <LiveSignalPreview /> |
138 | | - </div> |
139 | | - </main> |
140 | | - ); |
| 3 | +export default function RootPage() { |
| 4 | + redirect("/practice"); |
141 | 5 | } |
0 commit comments