-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathgallery-page.tsx
More file actions
751 lines (712 loc) · 26.3 KB
/
Copy pathgallery-page.tsx
File metadata and controls
751 lines (712 loc) · 26.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
import { useState } from "react"
import { AppShell } from "@workspace/ui/components/app-shell"
import { Avatar, AvatarGroup } from "@workspace/ui/components/avatar"
import { Badge } from "@workspace/ui/components/badge"
import { Button } from "@workspace/ui/components/button"
import { Callout } from "@workspace/ui/components/callout"
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@workspace/ui/components/card"
import { Input } from "@workspace/ui/components/input"
import { KeyboardShortcut } from "@workspace/ui/components/keyboard-shortcut"
import { LiveRegion } from "@workspace/ui/components/live-region"
import { PageHeader } from "@workspace/ui/components/page-header"
import { ProgressIndicator } from "@workspace/ui/components/progress-indicator"
import { ScrollArea } from "@workspace/ui/components/scroll-area"
import { Divider, Separator } from "@workspace/ui/components/separator"
import { Skeleton } from "@workspace/ui/components/skeleton"
import { Slider } from "@workspace/ui/components/slider"
import { Spinner } from "@workspace/ui/components/spinner"
import {
Tabs,
TabsContent,
TabsList,
TabsTrigger,
} from "@workspace/ui/components/tabs"
import {
Tooltip,
TooltipContent,
TooltipTrigger,
} from "@workspace/ui/components/tooltip"
import { VisuallyHidden } from "@workspace/ui/components/visually-hidden"
import type { ProgressIndicatorProps } from "@workspace/ui/components/progress-indicator"
import { useDirection } from "@/ui/direction-provider"
import { ChangelogCategoryBadge } from "@/features/changelog/components/ChangelogCategoryBadge"
import { CHANGELOG_ENTRY_TYPES } from "@/features/changelog/types"
const BUTTON_VARIANTS = [
"default",
"outline",
"secondary",
"ghost",
"destructive",
"link",
] as const
const BUTTON_SIZES = ["xs", "sm", "default", "lg"] as const
const BADGE_VARIANTS = [
"default",
"secondary",
"destructive",
"outline",
"ghost",
"link",
] as const
const AVATAR_SIZES = ["xs", "sm", "md", "lg", "xl", "2xl"] as const
const PROGRESS_SIZES = ["sm", "md", "lg"] as const
const PROGRESS_TONES = [
"neutral",
"accent",
"success",
"danger",
] as const satisfies ReadonlyArray<NonNullable<ProgressIndicatorProps["tone"]>>
const SEPARATOR_TONES = ["subtle", "default", "strong"] as const
function Section({
title,
children,
}: {
title: string
children: React.ReactNode
}) {
return (
<section className="space-y-4">
<h2 className="text-lg font-semibold text-foreground">{title}</h2>
<div className="rounded-lg border border-border bg-card p-6">
{children}
</div>
</section>
)
}
/**
* DS-047 / DS-049: a living catalogue of packages/ui primitives, rendered
* with every variant/size so it doubles as:
* - a manual QA surface for reviewing a component change across all its
* states at once, instead of hunting through feature pages for one that
* happens to use the variant you touched
* - the fixed target for the light/dark, desktop/mobile visual regression
* suite (see e2e/design-system-visual.spec.ts)
*
* Not a Storybook replacement — no controls/knobs, no isolated iframe.
* Just render every shipped variant so a regression is visible on sight.
*/
export function GalleryPage() {
const { direction, setDirection } = useDirection()
const [sliderValue, setSliderValue] = useState<Array<number>>([40])
const [announceCount, setAnnounceCount] = useState(0)
return (
<main className="mx-auto max-w-4xl space-y-10 p-6">
<div className="flex items-start justify-between">
<div>
<h1 className="text-2xl font-semibold text-foreground">
Component Gallery
</h1>
<p className="mt-1 text-sm text-muted-foreground">
Every packages/ui primitive, all variants. See{" "}
<a
href="https://github.com/SO4-Markets/interface/blob/main/DESIGN.md"
className="text-primary underline underline-offset-2"
>
DESIGN.md
</a>{" "}
and{" "}
<a
href="https://github.com/SO4-Markets/interface/blob/main/packages/ui/CONTRIBUTING.md"
className="text-primary underline underline-offset-2"
>
packages/ui/CONTRIBUTING.md
</a>{" "}
for how to add to this page.
</p>
</div>
<button
type="button"
onClick={() => setDirection(direction === "ltr" ? "rtl" : "ltr")}
className="shrink-0 rounded-md border border-border bg-card px-3 py-1.5 text-13 font-medium text-foreground transition-colors hover:bg-muted"
aria-label={`Switch to ${direction === "ltr" ? "right-to-left" : "left-to-right"} layout`}
>
{direction === "ltr" ? "LTR" : "RTL"}
</button>
</div>
<Section title="Button">
<div className="flex flex-col gap-4">
{BUTTON_VARIANTS.map((variant) => (
<div key={variant} className="flex flex-wrap items-center gap-3">
<span className="w-20 shrink-0 text-13 text-muted-foreground">
{variant}
</span>
{BUTTON_SIZES.map((size) => (
<Button key={size} variant={variant} size={size}>
{size}
</Button>
))}
</div>
))}
</div>
</Section>
<Section title="Badge">
<div className="flex flex-wrap items-center gap-3">
{BADGE_VARIANTS.map((variant) => (
<Badge key={variant} variant={variant}>
{variant}
</Badge>
))}
</div>
</Section>
<Section title="Changelog status badges">
<div className="grid gap-4 sm:grid-cols-2">
{CHANGELOG_ENTRY_TYPES.map((type) => (
<div
key={type}
className="flex items-center justify-between gap-4 rounded-md bg-surface-canvas p-3"
>
<ChangelogCategoryBadge type={type} />
<span className="text-xs text-muted-foreground">Canvas</span>
</div>
))}
{CHANGELOG_ENTRY_TYPES.map((type) => (
<div
key={`${type}-raised`}
className="flex items-center justify-between gap-4 rounded-md bg-surface-raised p-3"
>
<ChangelogCategoryBadge type={type} />
<span className="text-xs text-muted-foreground">Raised</span>
</div>
))}
<div className="flex items-center gap-3 rounded-md bg-surface-canvas p-3 sm:col-span-2">
<ChangelogCategoryBadge type="changed" breaking />
<span className="text-xs text-muted-foreground">
Breaking marker composes with every category
</span>
</div>
</div>
</Section>
<Section title="Input">
<div className="max-w-sm space-y-3">
<Input placeholder="Default input" />
<Input placeholder="Disabled input" disabled />
<Input aria-invalid placeholder="Invalid input" />
</div>
</Section>
<Section title="Slider">
<div className="max-w-sm">
<Slider
value={sliderValue}
onValueChange={(value) =>
setSliderValue(Array.isArray(value) ? [...value] : [value])
}
max={100}
step={1}
/>
<p className="mt-2 text-13 text-muted-foreground">
Value: {sliderValue[0]}
</p>
</div>
</Section>
<Section title="Tabs">
<Tabs defaultValue="one" className="max-w-sm">
<TabsList>
<TabsTrigger value="one">One</TabsTrigger>
<TabsTrigger value="two">Two</TabsTrigger>
<TabsTrigger value="three">Three</TabsTrigger>
</TabsList>
<TabsContent value="one">First panel content.</TabsContent>
<TabsContent value="two">Second panel content.</TabsContent>
<TabsContent value="three">Third panel content.</TabsContent>
</Tabs>
</Section>
<Section title="Skeleton">
<div className="max-w-sm space-y-2">
<Skeleton className="h-4 w-full" />
<Skeleton className="h-4 w-3/4" />
<Skeleton className="h-20 w-full" />
</div>
</Section>
<Section title="Separator">
<p className="text-sm text-foreground">Above the separator</p>
<Separator className="my-3" />
<p className="text-sm text-foreground">Below the separator</p>
<div className="mt-6 space-y-3">
{SEPARATOR_TONES.map((tone) => (
<div key={tone} className="space-y-2">
<p className="text-11 text-muted-foreground uppercase">{tone}</p>
<Separator tone={tone} decorative />
</div>
))}
</div>
<div className="mt-6 flex h-10 items-center gap-3 text-sm text-foreground">
<span>Vertical</span>
<Separator orientation="vertical" decorative />
<span>in a flex row</span>
<Separator orientation="vertical" tone="strong" decorative />
<span>without a fixed height</span>
</div>
</Section>
<Section title="Divider">
<div className="space-y-6">
<Divider label="or" />
<Divider label="Advanced" align="start" tone="subtle" />
<Divider label="Yesterday" align="end" tone="strong" />
</div>
</Section>
<Section title="ScrollArea">
<div className="grid gap-6 sm:grid-cols-2">
<div className="space-y-2">
<p className="text-11 text-muted-foreground uppercase">
Vertical — edge shadows follow scroll position
</p>
<ScrollArea
className="max-h-40 rounded-md border border-border"
tone="card"
>
<div className="space-y-1 p-3">
{Array.from({ length: 20 }, (_, i) => (
<p key={i} className="text-13 text-foreground">
Row {i + 1}
</p>
))}
</div>
</ScrollArea>
</div>
<div className="space-y-2">
<p className="text-11 text-muted-foreground uppercase">
Horizontal
</p>
<ScrollArea
orientation="horizontal"
className="rounded-md border border-border"
tone="card"
>
<div className="flex w-max gap-2 p-3">
{Array.from({ length: 16 }, (_, i) => (
<span
key={i}
className="rounded-md border border-border px-3 py-1 text-13 text-foreground"
>
Market {i + 1}
</span>
))}
</div>
</ScrollArea>
</div>
</div>
</Section>
<Section title="Accessibility primitives">
<div className="space-y-4">
<p className="text-13 text-muted-foreground">
VisuallyHidden and LiveRegion render nothing visible by default —
the button below carries a hidden label, and the counter announces
itself politely. See packages/ui/ACCESSIBILITY_PRIMITIVES.md.
</p>
<div className="flex flex-wrap items-center gap-3">
<Button
variant="outline"
onClick={() => setAnnounceCount((n) => n + 1)}
>
Announce
<VisuallyHidden> a polite status message</VisuallyHidden>
</Button>
<LiveRegion
visible
message={
announceCount === 0
? "Nothing announced yet"
: `Announced ${announceCount} time(s)`
}
announcementKey={announceCount}
className="text-13 text-muted-foreground"
/>
</div>
<div className="flex items-center gap-3">
<span className="text-13 text-muted-foreground">
Focusable hidden content (tab to reveal):
</span>
<VisuallyHidden focusable>
<button type="button" className="text-13 text-primary underline">
Hidden until focused
</button>
</VisuallyHidden>
</div>
</div>
</Section>
<Section title="Tooltip">
<Tooltip>
<TooltipTrigger>
<Button variant="outline">Hover me</Button>
</TooltipTrigger>
<TooltipContent>A tooltip, positioned automatically.</TooltipContent>
</Tooltip>
</Section>
<Section title="AppShell">
<div className="space-y-4">
<p className="text-13 text-muted-foreground">
Constrained layout (default) — used for Pools, Earn, Referrals,
Faucet
</p>
<div className="overflow-hidden rounded-lg border border-border">
<AppShell
variant="constrained"
maxWidth="full"
// Preview only: the real page already owns the <main> landmark
// and the skip-link target, and neither may be duplicated.
landmark={false}
skipLink={false}
navbar={
<div className="flex h-10 items-center border-b border-border bg-muted/30 px-4">
<span className="text-13 font-medium text-foreground">
Navbar slot
</span>
</div>
}
banner={
<div className="bg-warning/10 px-4 py-2 text-13 text-warning">
Banner slot
</div>
}
>
<div className="rounded-lg border border-dashed border-border bg-muted/10 p-8 text-center text-13 text-muted-foreground">
Content area
</div>
</AppShell>
</div>
<p className="mt-4 text-13 text-muted-foreground">
Full layout — used for Trade (fills viewport)
</p>
<div className="overflow-hidden rounded-lg border border-border">
<AppShell
variant="full"
landmark={false}
skipLink={false}
navbar={
<div className="flex h-10 items-center border-b border-border bg-muted/30 px-4">
<span className="text-13 font-medium text-foreground">
Navbar slot
</span>
</div>
}
>
<div className="flex flex-1 items-center justify-center rounded-lg border border-dashed border-border bg-muted/10 p-8 text-13 text-muted-foreground">
Full-viewport content area
</div>
</AppShell>
</div>
</div>
</Section>
<Section title="PageHeader">
<div className="space-y-6">
<div>
<p className="mb-2 text-13 text-muted-foreground">
Minimal — title + description
</p>
<div className="rounded-lg border border-border bg-muted/10 p-4">
<PageHeader
title="Pools"
description="Provide liquidity to SO4 GM markets."
/>
</div>
</div>
<div>
<p className="mb-2 text-13 text-muted-foreground">
With actions slot
</p>
<div className="rounded-lg border border-border bg-muted/10 p-4">
<PageHeader
title="Earn"
description="Stake SO4 and earn rewards."
actions={
<div className="flex gap-2">
<Button variant="outline" size="sm">
Filter
</Button>
<Button size="sm">Claim all</Button>
</div>
}
/>
</div>
</div>
<div>
<p className="mb-2 text-13 text-muted-foreground">
With metadata + tabs slot
</p>
<div className="rounded-lg border border-border bg-muted/10 p-4">
<PageHeader
title="Referrals"
description="Get fee discounts and earn up to 15% commission."
metadata={
<>
<Badge variant="success">Active</Badge>
<span className="text-13 text-muted-foreground">
Tier 3
</span>
</>
}
tabs={
<Tabs defaultValue="traders">
<TabsList className="h-9">
<TabsTrigger value="traders">Traders</TabsTrigger>
<TabsTrigger value="affiliates">Affiliates</TabsTrigger>
<TabsTrigger value="distributions">
Distributions
</TabsTrigger>
</TabsList>
</Tabs>
}
/>
</div>
</div>
<div>
<p className="mb-2 text-13 text-muted-foreground">
With breadcrumbs slot
</p>
<div className="rounded-lg border border-border bg-muted/10 p-4">
<PageHeader
title="Settings"
description="Manage your account settings."
breadcrumbs={
<nav className="flex items-center gap-1.5 text-13 text-muted-foreground">
<span>Home</span>
<span aria-hidden="true">/</span>
<span className="text-foreground">Settings</span>
</nav>
}
/>
</div>
</div>
</div>
</Section>
<Section title="KeyboardShortcut">
<div className="flex flex-wrap items-center gap-3">
<KeyboardShortcut keys={["Mod", "K"]} platform="mac" />
<KeyboardShortcut keys={["Mod", "Shift", "P"]} platform="mac" />
<KeyboardShortcut
keys={["Ctrl", "Alt", "Delete"]}
platform="windows"
/>
<KeyboardShortcut keys={["Mod", "S"]} presentation="grouped" />
</div>
</Section>
<Section title="Callout">
<div className="space-y-4 max-w-lg">
<Callout variant="note">
This is a note. It provides supplementary information about the
current topic.
</Callout>
<Callout variant="tip" title="Pro tip">
This is a tip. It highlights best practices or helpful shortcuts.
</Callout>
<Callout variant="warning">
<p>This is a warning. It alerts the reader to potential issues.</p>
<pre className="mt-2 rounded-md bg-black/5 p-3 text-xs"><code>const result = await sdk.simulate(tx)</code></pre>
<ul className="mt-2 list-disc pl-4">
<li>Always simulate before submitting</li>
<li>Check the result for errors</li>
</ul>
</Callout>
<Callout variant="caution" title="Caution">
This is a caution. It warns about irreversible actions or critical
information.
</Callout>
</div>
</Section>
<Section title="Card">
<div className="space-y-6">
<div>
<p className="mb-3 text-13 text-muted-foreground">
Default variant
</p>
<Card>
<CardHeader>
<CardTitle>Card Title</CardTitle>
<CardDescription>Card description goes here</CardDescription>
</CardHeader>
<CardContent>Content area with default padding</CardContent>
<CardFooter>
<Button variant="outline" size="sm">
Cancel
</Button>
<Button size="sm">Save</Button>
</CardFooter>
</Card>
</div>
<div>
<p className="mb-3 text-13 text-muted-foreground">
Interactive variant
</p>
<Card variant="interactive" className="cursor-pointer">
<CardHeader>
<CardTitle>Interactive Card</CardTitle>
</CardHeader>
<CardContent>Hover to see interactive states</CardContent>
</Card>
</div>
<div>
<p className="mb-3 text-13 text-muted-foreground">Subtle variant</p>
<Card variant="subtle">
<CardHeader>
<CardTitle>Supporting Information</CardTitle>
</CardHeader>
<CardContent>
Recessed surface for secondary information
</CardContent>
</Card>
</div>
<div>
<p className="mb-3 text-13 text-muted-foreground">
With compact padding
</p>
<Card padding="compact">
<CardHeader>
<CardTitle>Compact Card</CardTitle>
</CardHeader>
<CardContent>Minimal spacing card</CardContent>
</Card>
</div>
</div>
</Section>
<Section title="Spinner">
<div className="space-y-6">
<div>
<p className="mb-3 text-13 text-muted-foreground">
Decorative (hidden from screen readers)
</p>
<Spinner />
</div>
<div>
<p className="mb-3 text-13 text-muted-foreground">
With accessible label
</p>
<Spinner label="Loading data..." />
</div>
</div>
</Section>
<Section title="ProgressIndicator">
<div className="space-y-6">
{PROGRESS_SIZES.map((size) => (
<div key={size}>
<p className="mb-2 text-13 text-muted-foreground">{size}</p>
{PROGRESS_TONES.map((tone) => (
<div key={`${size}-${tone}`} className="mb-3 space-y-1">
<span className="text-10 text-text-tertiary">{tone}</span>
<ProgressIndicator value={65} size={size} tone={tone} />
</div>
))}
</div>
))}
</div>
</Section>
<Section title="Avatar">
<div className="space-y-6">
<div>
<p className="mb-3 text-13 text-muted-foreground">All sizes</p>
<div className="flex items-center gap-4">
{AVATAR_SIZES.map((size) => (
<Avatar
key={size}
size={size}
fallback={size.charAt(0).toUpperCase()}
/>
))}
</div>
</div>
<div>
<p className="mb-3 text-13 text-muted-foreground">With image</p>
<div className="flex gap-4">
<Avatar
src="https://api.dicebear.com/7.x/avataaars/svg?seed=user1"
alt="User avatar"
fallback="AB"
/>
<Avatar
src="https://api.dicebear.com/7.x/avataaars/svg?seed=user2"
alt="Another user"
fallback="CD"
/>
</div>
</div>
</div>
</Section>
<Section title="AvatarGroup">
<div className="space-y-6">
<div>
<p className="mb-3 text-13 text-muted-foreground">
With maximum visible
</p>
<AvatarGroup max={3}>
<Avatar fallback="A" />
<Avatar fallback="B" />
<Avatar fallback="C" />
<Avatar fallback="D" />
<Avatar fallback="E" />
</AvatarGroup>
</div>
<div>
<p className="mb-3 text-13 text-muted-foreground">All visible</p>
<AvatarGroup>
<Avatar fallback="X" />
<Avatar fallback="Y" />
<Avatar fallback="Z" />
</AvatarGroup>
</div>
<div>
<p className="mb-3 text-13 text-muted-foreground">
Without overflow count
</p>
<AvatarGroup max={2} showCount={false}>
<Avatar fallback="A" />
<Avatar fallback="B" />
<Avatar fallback="C" />
</AvatarGroup>
</div>
</div>
</Section>
<Section title="Landing Typography (GMX)">
{/* GMX's landing is dark-only (docs/gf_3/001_theme_update.md §7), so
this swatch forces the `.dark` token scope the same way the
landing route itself does, independent of the gallery's own
theme toggle. */}
<div className="dark space-y-6 bg-background p-6">
<div>
<p className="mb-2 text-13 text-muted-foreground">text-heading-1</p>
<h1 className="text-heading-1 text-foreground">
Perpetual markets.
</h1>
</div>
<div>
<p className="mb-2 text-13 text-muted-foreground">text-heading-2</p>
<h2 className="text-heading-2 text-foreground">
Built for traders.
</h2>
</div>
<div>
<p className="mb-2 text-13 text-muted-foreground">text-heading-3</p>
<h3 className="text-heading-3 text-foreground">Card titles</h3>
</div>
<div>
<p className="mb-2 text-13 text-muted-foreground">text-heading-4</p>
<h4 className="text-heading-4 text-foreground">
Small card titles
</h4>
</div>
<div>
<p className="mb-2 text-13 text-muted-foreground">
text-subheadline
</p>
<p className="text-subheadline">
Supporting copy under a call to action.
</p>
</div>
<div>
<p className="mb-2 text-13 text-muted-foreground">
text-description
</p>
<p className="max-w-md text-description">
Body copy on a dark card surface, set in Archivo at 16px with
GMX's tracking and line height.
</p>
</div>
<div>
<p className="mb-2 text-13 text-muted-foreground">btn-landing</p>
<Button variant="default" className="h-10 btn-landing px-5 text-sm">
Launch trading app
</Button>
</div>
</div>
</Section>
</main>
)
}