@@ -2,14 +2,14 @@ import Link from 'next/link';
22import {
33 Container ,
44 Boxes ,
5- ServerCog ,
65 Terminal ,
76 Globe ,
87 Code2 ,
98 Network ,
109 Bot ,
1110 ShieldCheck ,
1211 ArrowRight ,
12+ GitBranch ,
1313} from 'lucide-react' ;
1414import { HomeLayout } from 'fumadocs-ui/layouts/home' ;
1515import { baseOptions } from '@/lib/layout.shared' ;
@@ -21,7 +21,7 @@ import {
2121} from '@/lib/download-i18n' ;
2222import { PlatformCard } from '@/components/download/platform-card' ;
2323import { CommandTabsClient } from '@/components/download/command-tabs-client' ;
24- import { DownloadTable } from '@/components/download/download-table' ;
24+ import { DesktopDownloadTable } from '@/components/download/download-table' ;
2525import { ClientCard } from '@/components/download/client-card' ;
2626import { OsDetectHero } from '@/components/download/os-detect' ;
2727
@@ -34,10 +34,9 @@ export default async function DownloadPage({
3434 const t = getDownloadTranslations ( lang ) ;
3535
3636 const cliTabs = [
37- { key : 'macos' , label : t . cli . tabs . macos , commands : CLI_INSTALLS . macos } ,
38- { key : 'linux' , label : t . cli . tabs . linux , commands : CLI_INSTALLS . linux } ,
39- { key : 'windows' , label : t . cli . tabs . windows , commands : CLI_INSTALLS . windows } ,
4037 { key : 'npm' , label : t . cli . tabs . npm , commands : CLI_INSTALLS . npm } ,
38+ { key : 'pnpm' , label : t . cli . tabs . pnpm , commands : CLI_INSTALLS . pnpm } ,
39+ { key : 'yarn' , label : t . cli . tabs . yarn , commands : CLI_INSTALLS . yarn } ,
4140 ] ;
4241
4342 return (
@@ -103,14 +102,14 @@ export default async function DownloadPage({
103102 copiedLabel = { t . copy . copied }
104103 />
105104 < PlatformCard
106- icon = { < ServerCog className = "h-6 w-6" /> }
107- title = { t . server . binary . title }
108- tagline = { t . server . binary . tagline }
109- description = { t . server . binary . description }
110- command = { SERVER_COMMANDS . binary }
105+ icon = { < GitBranch className = "h-6 w-6" /> }
106+ title = { t . server . source . title }
107+ tagline = { t . server . source . tagline }
108+ description = { t . server . source . description }
109+ command = { SERVER_COMMANDS . source }
111110 commandLabel = "shell"
112- cta = { t . server . binary . cta }
113- href = { t . server . binary . href }
111+ cta = { t . server . source . cta }
112+ href = { t . server . source . href }
114113 copyLabel = { t . copy . copy }
115114 copiedLabel = { t . copy . copied }
116115 />
@@ -132,21 +131,16 @@ export default async function DownloadPage({
132131 copyLabel = { t . copy . copy }
133132 copiedLabel = { t . copy . copied }
134133 />
134+ < p className = "mt-3 text-xs text-foreground/50 text-center" > { t . cli . requires } </ p >
135+ </ section >
135136
136- < div className = "mt-10" >
137- < DownloadTable
138- heading = { t . cli . manual . heading }
139- cols = { {
140- arch : t . cli . manual . arch ,
141- file : t . cli . manual . file ,
142- size : t . cli . manual . size ,
143- sha : t . cli . manual . sha ,
144- } }
145- shaHref = { t . verify . checksumsHref }
146- shaLabel = { t . verify . checksumsCta }
147- />
148- < p className = "mt-3 text-xs text-foreground/50 text-center" > { t . cli . verifyHint } </ p >
149- </ div >
137+ { /* Desktop installers */ }
138+ < section className = "w-full px-4 pb-20 max-w-5xl" >
139+ < DesktopDownloadTable
140+ heading = { t . desktop . heading }
141+ subheading = { t . desktop . subheading }
142+ cols = { t . desktop . cols }
143+ />
150144 </ section >
151145
152146 { /* Clients / SDKs */ }
@@ -220,10 +214,10 @@ export default async function DownloadPage({
220214 < p className = "text-sm text-foreground/70 leading-relaxed mb-4" > { t . verify . body } </ p >
221215 < div className = "flex flex-wrap gap-2" >
222216 < Link
223- href = { t . verify . checksumsHref }
217+ href = { t . verify . releaseHref }
224218 className = "inline-flex h-9 items-center rounded-md border border-border bg-card/60 px-3 text-xs font-medium hover:bg-accent transition-colors"
225219 >
226- { t . verify . checksumsCta } ↗
220+ { t . verify . releaseCta } ↗
227221 </ Link >
228222 < Link
229223 href = { t . verify . signingHref }
0 commit comments