@@ -3,7 +3,10 @@ import type { LucideIcon } from 'lucide-react';
3
3
import {
4
4
CpuIcon ,
5
5
BadgeDollarSign ,
6
- Globe , SproutIcon , SquareGanttChart , MonitorCog , Atom , Logs , MonitorCheck , Settings , Terminal , Cable , Webhook , Github
6
+ Globe , SproutIcon , SquareGanttChart , MonitorCog , Atom , Logs , MonitorCheck , Settings , Terminal , Cable , Webhook , Github ,
7
+ Wrench ,
8
+ GraduationCap ,
9
+ Rocket
7
10
} from 'lucide-react' ;
8
11
import Link from 'next/link' ;
9
12
import type { HTMLAttributes , ReactNode } from 'react' ;
@@ -20,14 +23,10 @@ export default function HomePage(): React.ReactElement {
20
23
return (
21
24
< >
22
25
< main className = "container relative max-w-[1100px] px-2 py-4 lg:py-16" >
23
- < div className = "flex justify-between items-center mb-8" >
24
- < h1 className = "text-3xl font-bold" > Documentation</ h1 >
25
- </ div >
26
26
< div >
27
27
< div className = "relative" >
28
28
< Hero />
29
29
</ div >
30
- < Introduction />
31
30
< Highlights />
32
31
< Features />
33
32
</ div >
@@ -39,24 +38,25 @@ export default function HomePage(): React.ReactElement {
39
38
function Highlights ( ) : React . ReactElement {
40
39
return (
41
40
< div className = "grid grid-cols-1 border-r md:grid-cols-2 lg:grid-cols-3" >
42
- < Highlight icon = { SproutIcon } heading = "Quick Start " link = "/docs/quick-start " >
41
+ < Highlight icon = { GraduationCap } heading = "Learn the Fundamentals " link = "/academy/avalanche-fundamentals " >
43
42
Learn about the Avalanche Protocol and it's groundbreaking consensus algorithm.
44
43
</ Highlight >
45
- < Highlight icon = { SquareGanttChart } heading = "Build Applications" link = "/docs/dapps" >
46
- Your one stop shop to deploy smart contracts on the Avalanche C-Chain.
47
- </ Highlight >
48
44
< Highlight icon = { Logs } heading = "Avalanche L1s" link = "/docs/avalanche-l1s" >
49
45
Utilize the Avalanche tech stack to build your own layer 1 blockchain.
50
46
</ Highlight >
47
+ < Highlight icon = { Cable } heading = "Interoperability" link = "/docs/cross-chain" >
48
+ Advanced interoperability protocols to communicate with other blockchains.
49
+ </ Highlight >
50
+ < Highlight icon = { SquareGanttChart } heading = "Build Applications" link = "/docs/dapps" >
51
+ Your one stop shop to deploy smart contracts on the Avalanche C-Chain.
52
+ </ Highlight >
51
53
< Highlight icon = { MonitorCog } heading = "Virtual Machines" link = "/docs/virtual-machines" >
52
54
Learn how to customize the EVM or build new virtual machines from scratch.
53
55
</ Highlight >
54
56
< Highlight icon = { MonitorCheck } heading = "Nodes & Validators" link = "/docs/nodes" >
55
57
Become an active participant in the network by running a node or validator.
56
58
</ Highlight >
57
- < Highlight icon = { Cable } heading = "Interoperability" link = "/docs/cross-chain" >
58
- Advanced interoperability protocols to communicate with other blockchains.
59
- </ Highlight >
59
+
60
60
</ div >
61
61
) ;
62
62
}
@@ -73,15 +73,15 @@ function Highlight({
73
73
children : ReactNode ;
74
74
} ) : React . ReactElement {
75
75
return (
76
- < a href = { link } >
77
- < div className = "border-l border-t px-6 py-12 hover:bg-fd-accent" >
78
- < div className = "mb-4 flex flex-row items-center gap-2 text-fd-muted-foreground" >
79
- < Icon className = "size-4" />
80
- < h2 className = "text-sm font-medium" > { heading } </ h2 >
76
+ < a href = { link } >
77
+ < div className = "border-l border-t px-6 py-12 hover:bg-fd-accent" >
78
+ < div className = "mb-4 flex flex-row items-center gap-2 text-fd-muted-foreground" >
79
+ < Icon className = "size-4" />
80
+ < h2 className = "text-sm font-medium" > { heading } </ h2 >
81
+ </ div >
82
+ < span className = "font-medium" > { children } </ span >
81
83
</ div >
82
- < span className = "font-medium" > { children } </ span >
83
- </ div >
84
- </ a >
84
+ </ a >
85
85
) ;
86
86
}
87
87
@@ -98,88 +98,38 @@ function Hero(): React.ReactElement {
98
98
) ;
99
99
}
100
100
101
- function Introduction ( ) : React . ReactElement {
102
- return (
103
- < div className = "grid grid-cols-1 border-r md:grid-cols-2" >
104
- < div className = "flex flex-col border-l border-t px-6 py-12 md:py-16" >
105
- < div className = { cn ( badgeVariants ( ) , 'bg-red-500' , 'text-white' ) } > 1</ div >
106
- < h3 className = "text-xl font-bold" > Configure.</ h3 >
107
- < p className = "mb-8 text-fd-muted-foreground" >
108
- Configure your blockchain using Avalanche CLI.
109
- </ p >
110
- < div className = "relative flex flex-col" >
111
- < CodeBlock
112
- lang = "bash"
113
- wrapper = { { className : 'absolute inset-x-2 top-0' } }
114
- code = "avalanche blockchain create myblockchain"
115
- />
116
- < div className = "relative mt-20" >
117
- < Link href = "https://build.avax.network/academy" >
118
- < img
119
- src = "/wolfie.png"
120
- alt = "Avalanche Logo"
121
- className = "absolute top-5 left-1/2 -translate-x-1/2 z-[1] w-32 h-32 object-contain transition-all duration-300 ease-in-out group-[.closed]:translate-y-[20px] group-[.closed]:opacity-50 group-[.open]:translate-y-10 group-[.open]:opacity-0"
122
- />
123
- </ Link >
124
- < Files className = "z-[2] shadow-xl hide-icons relative dark:text-white group transition-all duration-300 ease-in-out [&[open]]:open [&:not([open])]:closed" >
125
- < Folder name = "Using the above command, you can configure your:" defaultOpen >
126
- < Link href = "/docs/virtual-machines" >
127
- < File icon = { < CpuIcon /> } name = "Virtual Machine" />
128
- </ Link >
129
- < Link href = "/docs/tooling/create-avalanche-l1#enter-your-avalanche-l1s-chainid" >
130
- < File icon = { < Globe /> } name = "Chain ID" />
131
- </ Link >
132
- < Link href = "/docs/tooling/create-avalanche-l1#token-symbol" >
133
- < File icon = { < BadgeDollarSign /> } name = "Token Name & Symbol" />
134
- </ Link >
135
- </ Folder >
136
- </ Files >
137
- </ div >
138
- </ div >
139
- </ div >
140
- < div className = "flex flex-col border-l border-t px-6 py-12 md:py-16" >
141
- < div className = { cn ( badgeVariants ( ) , 'bg-red-500' , 'text-white' ) } > 2</ div >
142
- < h3 className = "text-xl font-bold" > Deploy.</ h3 >
143
- < p className = "mb-8 text-fd-muted-foreground" >
144
- Deploy an interoperable layer 1 with a single command.
145
- </ p >
146
- < DeployBlockchainAnimation />
147
- </ div >
148
- </ div >
149
- )
150
- }
151
101
152
102
function Features ( ) : React . ReactElement {
153
103
return (
154
104
< div className = "grid grid-cols-1 border-b border-r md:grid-cols-2" >
155
105
< Feature
156
106
icon = { Settings }
157
- subheading = "Toolings "
107
+ subheading = "Tooling "
158
108
heading = "Tools For Developers."
159
109
description = "We provide a suite of tools to make your development experience as smooth as possible."
160
110
>
161
- < div className = "mt-8 flex flex-col gap-4" >
162
- < Link href = "/docs/tooling/get-avalanche-cli" className = "rounded-xl border bg-fd-background p-4 shadow-lg transition-colors hover:bg-fd-accent" >
163
- < Terminal />
164
- < h3 className = "font-semibold" > Avalanche CLI</ h3 >
111
+ < div className = "mt-8 flex flex-col gap-4" >
112
+ < Link href = "/tools/l1-launcher" className = "rounded-xl border bg-fd-background p-4 shadow-lg transition-colors hover:bg-fd-accent" >
113
+ < Rocket />
114
+ < h3 className = "font-semibold" > L1 Launcher</ h3 >
115
+ < p className = "text-sm text-fd-muted-foreground" >
116
+ Launch your EVM L1 with Docker and Core Wallet.
117
+ </ p >
118
+ </ Link >
119
+ < Link href = "/tools/l1-toolbox" className = "rounded-xl border bg-fd-background p-4 shadow-lg transition-colors hover:bg-fd-accent" >
120
+ < Wrench />
121
+ < h3 className = "font-semibold" > L1 Toolbox</ h3 >
165
122
< p className = "text-sm text-fd-muted-foreground" >
166
- Command line interface for everything Avalanche .
123
+ Simple atomic tools to launch and maintain your L1 .
167
124
</ p >
168
- </ Link >
169
- < Link href = "https://github.com/ava-labs/avalanche-starter-kit" className = "rounded-xl border bg-fd-background p-4 shadow-lg transition-colors hover:bg-fd-accent" >
170
- < Github />
171
- < h3 className = "font-semibold" > Avalanche Starter Kit</ h3 >
172
- < p className = "text-sm text-fd-muted-foreground" >
173
- Quickstart your journey into Avalanche with our Starter Kit.
174
- </ p >
175
- </ Link >
176
- < Link href = "https://github.com/ava-labs/hypersdk" className = "rounded-xl border bg-fd-background p-4 shadow-lg transition-colors hover:bg-fd-accent" >
177
- < Atom />
178
- < h3 className = "font-semibold" > HyperSDK</ h3 >
125
+ </ Link >
126
+ < Link href = "https://github.com/ava-labs/avalanche-starter-kit" className = "rounded-xl border bg-fd-background p-4 shadow-lg transition-colors hover:bg-fd-accent" >
127
+ < Github />
128
+ < h3 className = "font-semibold" > Avalanche Starter Kit</ h3 >
179
129
< p className = "text-sm text-fd-muted-foreground" >
180
- High performance, customizable framework for building blockchains .
130
+ Quickstart your journey into Avalanche with our Starter Kit .
181
131
</ p >
182
- </ Link >
132
+ </ Link >
183
133
</ div >
184
134
</ Feature >
185
135
< Feature
@@ -260,3 +210,55 @@ function Feature({
260
210
</ div >
261
211
) ;
262
212
}
213
+
214
+
215
+ function Introduction ( ) : React . ReactElement {
216
+ return (
217
+ < div className = "grid grid-cols-1 border-r md:grid-cols-2" >
218
+ < div className = "flex flex-col border-l border-t px-6 py-12 md:py-16" >
219
+ < div className = { cn ( badgeVariants ( ) , 'bg-red-500' , 'text-white' ) } > 1</ div >
220
+ < h3 className = "text-xl font-bold" > Configure.</ h3 >
221
+ < p className = "mb-8 text-fd-muted-foreground" >
222
+ Configure your blockchain using Avalanche CLI.
223
+ </ p >
224
+ < div className = "relative flex flex-col" >
225
+ < CodeBlock
226
+ lang = "bash"
227
+ wrapper = { { className : 'absolute inset-x-2 top-0' } }
228
+ code = "avalanche blockchain create myblockchain"
229
+ />
230
+ < div className = "relative mt-20" >
231
+ < Link href = "https://build.avax.network/academy" >
232
+ < img
233
+ src = "/wolfie.png"
234
+ alt = "Avalanche Logo"
235
+ className = "absolute top-5 left-1/2 -translate-x-1/2 z-[1] w-32 h-32 object-contain transition-all duration-300 ease-in-out group-[.closed]:translate-y-[20px] group-[.closed]:opacity-50 group-[.open]:translate-y-10 group-[.open]:opacity-0"
236
+ />
237
+ </ Link >
238
+ < Files className = "z-[2] shadow-xl hide-icons relative dark:text-white group transition-all duration-300 ease-in-out [&[open]]:open [&:not([open])]:closed" >
239
+ < Folder name = "Using the above command, you can configure your:" defaultOpen >
240
+ < Link href = "/docs/virtual-machines" >
241
+ < File icon = { < CpuIcon /> } name = "Virtual Machine" />
242
+ </ Link >
243
+ < Link href = "/docs/tooling/create-avalanche-l1#enter-your-avalanche-l1s-chainid" >
244
+ < File icon = { < Globe /> } name = "Chain ID" />
245
+ </ Link >
246
+ < Link href = "/docs/tooling/create-avalanche-l1#token-symbol" >
247
+ < File icon = { < BadgeDollarSign /> } name = "Token Name & Symbol" />
248
+ </ Link >
249
+ </ Folder >
250
+ </ Files >
251
+ </ div >
252
+ </ div >
253
+ </ div >
254
+ < div className = "flex flex-col border-l border-t px-6 py-12 md:py-16" >
255
+ < div className = { cn ( badgeVariants ( ) , 'bg-red-500' , 'text-white' ) } > 2</ div >
256
+ < h3 className = "text-xl font-bold" > Deploy.</ h3 >
257
+ < p className = "mb-8 text-fd-muted-foreground" >
258
+ Deploy an interoperable layer 1 with a single command.
259
+ </ p >
260
+ < DeployBlockchainAnimation />
261
+ </ div >
262
+ </ div >
263
+ )
264
+ }
0 commit comments