create-tauri-ui 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +6 -6
- package/templates/.shared/.github/workflows/release.yml +112 -112
- package/templates/.shared/src-tauri/Cargo.lock +3835 -3835
- package/templates/.shared/src-tauri/Cargo.toml +4 -4
- package/templates/.shared/src-tauri/build.rs +3 -3
- package/templates/.shared/src-tauri/src/main.rs +22 -22
- package/templates/next/.github/workflows/release.yml +108 -108
- package/templates/next/.vscode/extensions.json +3 -3
- package/templates/next/README.md +95 -95
- package/templates/next/next-env.d.ts +5 -5
- package/templates/next/package.json +87 -87
- package/templates/next/pnpm-lock.yaml +4911 -4911
- package/templates/next/postcss.config.js +6 -6
- package/templates/next/prettier.config.js +35 -35
- package/templates/next/src/app/examples/layout.tsx +7 -7
- package/templates/next/src/app/page.tsx +5 -5
- package/templates/next/src/components/examples-nav.tsx +70 -70
- package/templates/next/src/components/greeting.tsx +21 -21
- package/templates/next/src/components/mode-toggle.tsx +43 -43
- package/templates/next/src/components/page-header.tsx +52 -52
- package/templates/next/src/components/style-switcher.tsx +19 -19
- package/templates/next/src/components/tailwind-indicator.tsx +18 -18
- package/templates/next/src/components/theme-provider.tsx +9 -9
- package/templates/next/src/components/ui/accordion.tsx +60 -60
- package/templates/next/src/components/ui/alert-dialog.tsx +145 -145
- package/templates/next/src/components/ui/alert.tsx +59 -59
- package/templates/next/src/components/ui/aspect-ratio.tsx +7 -7
- package/templates/next/src/components/ui/avatar.tsx +50 -50
- package/templates/next/src/components/ui/badge.tsx +36 -36
- package/templates/next/src/components/ui/button.tsx +56 -56
- package/templates/next/src/components/ui/calendar.tsx +64 -64
- package/templates/next/src/components/ui/card.tsx +79 -79
- package/templates/next/src/components/ui/checkbox.tsx +30 -30
- package/templates/next/src/components/ui/collapsible.tsx +11 -11
- package/templates/next/src/components/ui/command.tsx +155 -155
- package/templates/next/src/components/ui/context-menu.tsx +200 -200
- package/templates/next/src/components/ui/dialog.tsx +123 -123
- package/templates/next/src/components/ui/dropdown-menu.tsx +200 -200
- package/templates/next/src/components/ui/form.tsx +176 -176
- package/templates/next/src/components/ui/hover-card.tsx +29 -29
- package/templates/next/src/components/ui/input.tsx +25 -25
- package/templates/next/src/components/ui/label.tsx +26 -26
- package/templates/next/src/components/ui/menubar.tsx +236 -236
- package/templates/next/src/components/ui/navigation-menu.tsx +128 -128
- package/templates/next/src/components/ui/popover.tsx +31 -31
- package/templates/next/src/components/ui/progress.tsx +28 -28
- package/templates/next/src/components/ui/radio-group.tsx +44 -44
- package/templates/next/src/components/ui/scroll-area.tsx +48 -48
- package/templates/next/src/components/ui/select.tsx +121 -121
- package/templates/next/src/components/ui/separator.tsx +31 -31
- package/templates/next/src/components/ui/sheet.tsx +144 -144
- package/templates/next/src/components/ui/skeleton.tsx +15 -15
- package/templates/next/src/components/ui/slider.tsx +28 -28
- package/templates/next/src/components/ui/switch.tsx +29 -29
- package/templates/next/src/components/ui/table.tsx +114 -114
- package/templates/next/src/components/ui/tabs.tsx +55 -55
- package/templates/next/src/components/ui/textarea.tsx +24 -24
- package/templates/next/src/components/ui/toast.tsx +127 -127
- package/templates/next/src/components/ui/toaster.tsx +35 -35
- package/templates/next/src/components/ui/toggle.tsx +45 -45
- package/templates/next/src/components/ui/tooltip.tsx +30 -30
- package/templates/next/src/components/ui/use-toast.ts +192 -192
- package/templates/next/src/data/albums.ts +71 -71
- package/templates/next/src/data/playlists.ts +16 -16
- package/templates/next/src-tauri/Cargo.lock +3835 -3835
- package/templates/next/src-tauri/Cargo.toml +39 -39
- package/templates/next/src-tauri/build.rs +3 -3
- package/templates/sveltekit/.github/workflows/release.yml +108 -108
- package/templates/sveltekit/.prettierignore +13 -13
- package/templates/sveltekit/.prettierrc +8 -8
- package/templates/sveltekit/README.md +1 -1
- package/templates/sveltekit/package.json +85 -85
- package/templates/sveltekit/pnpm-lock.yaml +4177 -4177
- package/templates/sveltekit/postcss.config.cjs +13 -13
- package/templates/sveltekit/src/app.d.ts +18 -18
- package/templates/sveltekit/src/app.html +16 -16
- package/templates/sveltekit/src/index.test.ts +7 -7
- package/templates/sveltekit/src/lib/components/docs/TailwindIndicator.svelte +10 -10
- package/templates/sveltekit/src/lib/components/docs/charts/Bar.svelte +152 -152
- package/templates/sveltekit/src/lib/components/docs/dashboard/DashboardPage.svelte +108 -108
- package/templates/sveltekit/src/lib/components/docs/dashboard/MainNav.svelte +31 -31
- package/templates/sveltekit/src/lib/components/docs/dashboard/Overview.svelte +5 -5
- package/templates/sveltekit/src/lib/components/docs/dashboard/RecentSales.svelte +61 -61
- package/templates/sveltekit/src/lib/components/docs/dashboard/Search.svelte +7 -7
- package/templates/sveltekit/src/lib/components/docs/dashboard/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/docs/examples-nav/ExampleCodeLink.svelte +19 -19
- package/templates/sveltekit/src/lib/components/docs/examples-nav/ExamplesNav.svelte +27 -27
- package/templates/sveltekit/src/lib/components/docs/examples-nav/index.ts +2 -2
- package/templates/sveltekit/src/lib/components/docs/icons/Apple.svelte +12 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Aria.svelte +11 -11
- package/templates/sveltekit/src/lib/components/docs/icons/GitHub.svelte +12 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Google.svelte +12 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Logo.svelte +17 -17
- package/templates/sveltekit/src/lib/components/docs/icons/Minimize.svelte +12 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Npm.svelte +12 -12
- package/templates/sveltekit/src/lib/components/docs/icons/PayPal.svelte +12 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Pnpm.svelte +12 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Radix.svelte +14 -14
- package/templates/sveltekit/src/lib/components/docs/icons/RadixSvelte.svelte +14 -14
- package/templates/sveltekit/src/lib/components/docs/icons/Tailwind.svelte +12 -12
- package/templates/sveltekit/src/lib/components/docs/icons/Yarn.svelte +12 -12
- package/templates/sveltekit/src/lib/components/docs/icons/index.ts +78 -78
- package/templates/sveltekit/src/lib/components/docs/index.ts +6 -6
- package/templates/sveltekit/src/lib/components/docs/light-switch/LightSwitch.svelte +75 -75
- package/templates/sveltekit/src/lib/components/docs/light-switch/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/docs/light-switch/light-switch.ts +87 -87
- package/templates/sveltekit/src/lib/components/docs/light-switch/local-storage-store.ts +81 -81
- package/templates/sveltekit/src/lib/components/ui/accordion/Accordion.svelte +11 -11
- package/templates/sveltekit/src/lib/components/ui/accordion/AccordionContent.svelte +19 -19
- package/templates/sveltekit/src/lib/components/ui/accordion/AccordionItem.svelte +13 -13
- package/templates/sveltekit/src/lib/components/ui/accordion/AccordionTrigger.svelte +21 -21
- package/templates/sveltekit/src/lib/components/ui/accordion/index.ts +4 -4
- package/templates/sveltekit/src/lib/components/ui/alert/Alert.svelte +29 -29
- package/templates/sveltekit/src/lib/components/ui/alert/AlertDescription.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/alert/AlertTitle.svelte +15 -15
- package/templates/sveltekit/src/lib/components/ui/alert/index.ts +3 -3
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogAction.svelte +12 -12
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogCancel.svelte +15 -15
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogContent.svelte +22 -22
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogDescription.svelte +14 -14
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogFooter.svelte +13 -13
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogHeader.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogOverlay.svelte +15 -15
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogPortal.svelte +9 -9
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogTitle.svelte +11 -11
- package/templates/sveltekit/src/lib/components/ui/alert-dialog/index.ts +12 -12
- package/templates/sveltekit/src/lib/components/ui/aspect-ratio/AspectRatio.svelte +13 -13
- package/templates/sveltekit/src/lib/components/ui/aspect-ratio/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/avatar/Avatar.svelte +14 -14
- package/templates/sveltekit/src/lib/components/ui/avatar/AvatarFallback.svelte +14 -14
- package/templates/sveltekit/src/lib/components/ui/avatar/AvatarImage.svelte +17 -17
- package/templates/sveltekit/src/lib/components/ui/avatar/index.ts +3 -3
- package/templates/sveltekit/src/lib/components/ui/badge/Badge.svelte +39 -39
- package/templates/sveltekit/src/lib/components/ui/badge/index.ts +21 -21
- package/templates/sveltekit/src/lib/components/ui/button/Button.svelte +47 -47
- package/templates/sveltekit/src/lib/components/ui/button/index.ts +28 -28
- package/templates/sveltekit/src/lib/components/ui/card/Card.svelte +18 -18
- package/templates/sveltekit/src/lib/components/ui/card/CardContent.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/card/CardDescription.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/card/CardFooter.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/card/CardHeader.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/card/CardTitle.svelte +16 -16
- package/templates/sveltekit/src/lib/components/ui/card/index.ts +6 -6
- package/templates/sveltekit/src/lib/components/ui/checkbox/Checkbox.svelte +23 -23
- package/templates/sveltekit/src/lib/components/ui/checkbox/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/collapsible/index.ts +7 -7
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogContent.svelte +29 -29
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogDescription.svelte +14 -14
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogFooter.svelte +13 -13
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogHeader.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogOverlay.svelte +15 -15
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogPortal.svelte +13 -13
- package/templates/sveltekit/src/lib/components/ui/dialog/DialogTitle.svelte +14 -14
- package/templates/sveltekit/src/lib/components/ui/dialog/index.ts +12 -12
- package/templates/sveltekit/src/lib/components/ui/hover-card/HoverCardContent.svelte +24 -24
- package/templates/sveltekit/src/lib/components/ui/hover-card/index.ts +6 -6
- package/templates/sveltekit/src/lib/components/ui/input/Input.svelte +30 -30
- package/templates/sveltekit/src/lib/components/ui/input/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/label/Label.svelte +16 -16
- package/templates/sveltekit/src/lib/components/ui/label/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/progress/Progress.svelte +22 -22
- package/templates/sveltekit/src/lib/components/ui/progress/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/radio-group/RadioGroup.svelte +13 -13
- package/templates/sveltekit/src/lib/components/ui/radio-group/RadioGroupItem.svelte +23 -23
- package/templates/sveltekit/src/lib/components/ui/radio-group/index.ts +2 -2
- package/templates/sveltekit/src/lib/components/ui/select/SelectContent.svelte +26 -26
- package/templates/sveltekit/src/lib/components/ui/select/SelectItem.svelte +29 -29
- package/templates/sveltekit/src/lib/components/ui/select/SelectLabel.svelte +14 -14
- package/templates/sveltekit/src/lib/components/ui/select/SelectSeparator.svelte +9 -9
- package/templates/sveltekit/src/lib/components/ui/select/SelectTrigger.svelte +21 -21
- package/templates/sveltekit/src/lib/components/ui/select/index.ts +10 -10
- package/templates/sveltekit/src/lib/components/ui/separator/Separator.svelte +22 -22
- package/templates/sveltekit/src/lib/components/ui/separator/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetContent.svelte +27 -27
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetDescription.svelte +11 -11
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetFooter.svelte +13 -13
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetHeader.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetOverlay.svelte +15 -15
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetPortal.svelte +28 -28
- package/templates/sveltekit/src/lib/components/ui/sheet/SheetTitle.svelte +14 -14
- package/templates/sveltekit/src/lib/components/ui/sheet/index.ts +102 -102
- package/templates/sveltekit/src/lib/components/ui/skeleton/Skeleton.svelte +8 -8
- package/templates/sveltekit/src/lib/components/ui/skeleton/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/slider/Slider.svelte +22 -22
- package/templates/sveltekit/src/lib/components/ui/slider/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/switch/Switch.svelte +32 -32
- package/templates/sveltekit/src/lib/components/ui/switch/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/table/Table.svelte +12 -12
- package/templates/sveltekit/src/lib/components/ui/table/TableBody.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/table/TableCaption.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/table/TableCell.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/table/TableFooter.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/table/TableHead.svelte +16 -16
- package/templates/sveltekit/src/lib/components/ui/table/TableHeader.svelte +10 -10
- package/templates/sveltekit/src/lib/components/ui/table/TableRow.svelte +16 -16
- package/templates/sveltekit/src/lib/components/ui/table/index.ts +8 -8
- package/templates/sveltekit/src/lib/components/ui/tabs/TabsContent.svelte +20 -20
- package/templates/sveltekit/src/lib/components/ui/tabs/TabsList.svelte +17 -17
- package/templates/sveltekit/src/lib/components/ui/tabs/TabsTrigger.svelte +20 -20
- package/templates/sveltekit/src/lib/components/ui/tabs/index.ts +7 -7
- package/templates/sveltekit/src/lib/components/ui/textarea/Textarea.svelte +30 -30
- package/templates/sveltekit/src/lib/components/ui/textarea/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/toggle/Toggle.svelte +44 -44
- package/templates/sveltekit/src/lib/components/ui/toggle/index.ts +1 -1
- package/templates/sveltekit/src/lib/components/ui/tooltip/TooltipContent.svelte +22 -22
- package/templates/sveltekit/src/lib/components/ui/tooltip/index.ts +6 -6
- package/templates/sveltekit/src/lib/config/components.ts +306 -306
- package/templates/sveltekit/src/lib/config/docs.ts +356 -356
- package/templates/sveltekit/src/lib/config/site.ts +15 -15
- package/templates/sveltekit/src/lib/types/docs.ts +50 -50
- package/templates/sveltekit/src/lib/types/nav.ts +18 -18
- package/templates/sveltekit/src/lib/utils.ts +75 -75
- package/templates/sveltekit/src/routes/+layout.svelte +48 -48
- package/templates/sveltekit/src/routes/+page.ts +6 -6
- package/templates/sveltekit/src/routes/authentication/+page.svelte +57 -57
- package/templates/sveltekit/src/routes/authentication/+page.ts +7 -7
- package/templates/sveltekit/src/routes/authentication/UserAuthForm.svelte +61 -61
- package/templates/sveltekit/src/routes/cards/+page.svelte +26 -26
- package/templates/sveltekit/src/routes/cards/+page.ts +7 -7
- package/templates/sveltekit/src/routes/cards/CookieSettings.svelte +52 -52
- package/templates/sveltekit/src/routes/cards/CreateAccount.svelte +52 -52
- package/templates/sveltekit/src/routes/cards/DemoContainer.svelte +10 -10
- package/templates/sveltekit/src/routes/cards/Notifications.svelte +38 -38
- package/templates/sveltekit/src/routes/cards/PaymentMethod.svelte +110 -110
- package/templates/sveltekit/src/routes/cards/ReportAnIssue.svelte +71 -71
- package/templates/sveltekit/src/routes/cards/ShareDocument.svelte +91 -91
- package/templates/sveltekit/src/routes/dashboard/+page.svelte +5 -5
- package/templates/sveltekit/src/routes/dashboard/+page.ts +7 -7
- package/templates/sveltekit/src/routes/music/albums.ts +61 -61
- package/templates/sveltekit/src/routes/music/playlists.ts +16 -16
- package/templates/sveltekit/src/styles/globals.css +125 -125
- package/templates/sveltekit/src/styles/mdsvex.css +80 -80
- package/templates/sveltekit/src-tauri/Cargo.lock +3835 -3835
- package/templates/sveltekit/src-tauri/Cargo.toml +39 -39
- package/templates/sveltekit/src-tauri/build.rs +3 -3
- package/templates/sveltekit/src-tauri/tauri.conf.json +71 -71
- package/templates/sveltekit/svelte.config.js +22 -22
- package/templates/sveltekit/tailwind.config.js +67 -67
- package/templates/sveltekit/tsconfig.json +13 -13
- package/templates/vite/package.json +83 -83
- package/templates/vite/pnpm-lock.yaml +5176 -5176
- package/templates/vite/src-tauri/Cargo.lock +3835 -3835
- package/templates/vite/src-tauri/Cargo.toml +39 -39
- package/templates/vite/src-tauri/build.rs +3 -3
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
export interface Album {
|
|
2
|
-
name: string;
|
|
3
|
-
artist: string;
|
|
4
|
-
cover: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export const listenNowAlbums: Album[] = [
|
|
8
|
-
{
|
|
9
|
-
name: 'React Rendezvous',
|
|
10
|
-
artist: 'Ethan Byte',
|
|
11
|
-
cover: 'https://images.unsplash.com/photo-1611348586804-61bf6c080437?w=300&dpr=2&q=80'
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
name: 'Async Awakenings',
|
|
15
|
-
artist: 'Nina Netcode',
|
|
16
|
-
cover: 'https://images.unsplash.com/photo-1468817814611-b7edf94b5d60?w=300&dpr=2&q=80'
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
name: 'The Art of Reusability',
|
|
20
|
-
artist: 'Lena Logic',
|
|
21
|
-
cover: 'https://images.unsplash.com/photo-1528143358888-6d3c7f67bd5d?w=300&dpr=2&q=80'
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
name: 'Stateful Symphony',
|
|
25
|
-
artist: 'Beth Binary',
|
|
26
|
-
cover: 'https://images.unsplash.com/photo-1490300472339-79e4adc6be4a?w=300&dpr=2&q=80'
|
|
27
|
-
}
|
|
28
|
-
];
|
|
29
|
-
|
|
30
|
-
export const madeForYouAlbums: Album[] = [
|
|
31
|
-
{
|
|
32
|
-
name: 'Thinking Components',
|
|
33
|
-
artist: 'Lena Logic',
|
|
34
|
-
cover: 'https://images.unsplash.com/photo-1615247001958-f4bc92fa6a4a?w=300&dpr=2&q=80'
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
name: 'Functional Fury',
|
|
38
|
-
artist: 'Beth Binary',
|
|
39
|
-
cover: 'https://images.unsplash.com/photo-1513745405825-efaf9a49315f?w=300&dpr=2&q=80'
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
name: 'React Rendezvous',
|
|
43
|
-
artist: 'Ethan Byte',
|
|
44
|
-
cover: 'https://images.unsplash.com/photo-1614113489855-66422ad300a4?w=300&dpr=2&q=80'
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: 'Stateful Symphony',
|
|
48
|
-
artist: 'Beth Binary',
|
|
49
|
-
cover: 'https://images.unsplash.com/photo-1446185250204-f94591f7d702?w=300&dpr=2&q=80'
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
name: 'Async Awakenings',
|
|
53
|
-
artist: 'Nina Netcode',
|
|
54
|
-
cover: 'https://images.unsplash.com/photo-1468817814611-b7edf94b5d60?w=300&dpr=2&q=80'
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
name: 'The Art of Reusability',
|
|
58
|
-
artist: 'Lena Logic',
|
|
59
|
-
cover: 'https://images.unsplash.com/photo-1490300472339-79e4adc6be4a?w=300&dpr=2&q=80'
|
|
60
|
-
}
|
|
61
|
-
];
|
|
1
|
+
export interface Album {
|
|
2
|
+
name: string;
|
|
3
|
+
artist: string;
|
|
4
|
+
cover: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export const listenNowAlbums: Album[] = [
|
|
8
|
+
{
|
|
9
|
+
name: 'React Rendezvous',
|
|
10
|
+
artist: 'Ethan Byte',
|
|
11
|
+
cover: 'https://images.unsplash.com/photo-1611348586804-61bf6c080437?w=300&dpr=2&q=80'
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
name: 'Async Awakenings',
|
|
15
|
+
artist: 'Nina Netcode',
|
|
16
|
+
cover: 'https://images.unsplash.com/photo-1468817814611-b7edf94b5d60?w=300&dpr=2&q=80'
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'The Art of Reusability',
|
|
20
|
+
artist: 'Lena Logic',
|
|
21
|
+
cover: 'https://images.unsplash.com/photo-1528143358888-6d3c7f67bd5d?w=300&dpr=2&q=80'
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'Stateful Symphony',
|
|
25
|
+
artist: 'Beth Binary',
|
|
26
|
+
cover: 'https://images.unsplash.com/photo-1490300472339-79e4adc6be4a?w=300&dpr=2&q=80'
|
|
27
|
+
}
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
export const madeForYouAlbums: Album[] = [
|
|
31
|
+
{
|
|
32
|
+
name: 'Thinking Components',
|
|
33
|
+
artist: 'Lena Logic',
|
|
34
|
+
cover: 'https://images.unsplash.com/photo-1615247001958-f4bc92fa6a4a?w=300&dpr=2&q=80'
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'Functional Fury',
|
|
38
|
+
artist: 'Beth Binary',
|
|
39
|
+
cover: 'https://images.unsplash.com/photo-1513745405825-efaf9a49315f?w=300&dpr=2&q=80'
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'React Rendezvous',
|
|
43
|
+
artist: 'Ethan Byte',
|
|
44
|
+
cover: 'https://images.unsplash.com/photo-1614113489855-66422ad300a4?w=300&dpr=2&q=80'
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Stateful Symphony',
|
|
48
|
+
artist: 'Beth Binary',
|
|
49
|
+
cover: 'https://images.unsplash.com/photo-1446185250204-f94591f7d702?w=300&dpr=2&q=80'
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'Async Awakenings',
|
|
53
|
+
artist: 'Nina Netcode',
|
|
54
|
+
cover: 'https://images.unsplash.com/photo-1468817814611-b7edf94b5d60?w=300&dpr=2&q=80'
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'The Art of Reusability',
|
|
58
|
+
artist: 'Lena Logic',
|
|
59
|
+
cover: 'https://images.unsplash.com/photo-1490300472339-79e4adc6be4a?w=300&dpr=2&q=80'
|
|
60
|
+
}
|
|
61
|
+
];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export type Playlist = (typeof playlists)[number];
|
|
2
|
-
|
|
3
|
-
export const playlists = [
|
|
4
|
-
'Recently Added',
|
|
5
|
-
'Recently Played',
|
|
6
|
-
'Top Songs',
|
|
7
|
-
'Top Albums',
|
|
8
|
-
'Top Artists',
|
|
9
|
-
'Logic Discography',
|
|
10
|
-
'Bedtime Beats',
|
|
11
|
-
'Feeling Happy',
|
|
12
|
-
'I miss Y2K Pop',
|
|
13
|
-
'Runtober',
|
|
14
|
-
'Mellow Days',
|
|
15
|
-
'Eminem Essentials'
|
|
16
|
-
];
|
|
1
|
+
export type Playlist = (typeof playlists)[number];
|
|
2
|
+
|
|
3
|
+
export const playlists = [
|
|
4
|
+
'Recently Added',
|
|
5
|
+
'Recently Played',
|
|
6
|
+
'Top Songs',
|
|
7
|
+
'Top Albums',
|
|
8
|
+
'Top Artists',
|
|
9
|
+
'Logic Discography',
|
|
10
|
+
'Bedtime Beats',
|
|
11
|
+
'Feeling Happy',
|
|
12
|
+
'I miss Y2K Pop',
|
|
13
|
+
'Runtober',
|
|
14
|
+
'Mellow Days',
|
|
15
|
+
'Eminem Essentials'
|
|
16
|
+
];
|
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: "Inter";
|
|
3
|
-
src: url("../assets/Inter.var.woff2") format("woff2");
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
@tailwind base;
|
|
7
|
-
@tailwind components;
|
|
8
|
-
@tailwind utilities;
|
|
9
|
-
|
|
10
|
-
@layer base {
|
|
11
|
-
:root {
|
|
12
|
-
--background: 0 0% 100%;
|
|
13
|
-
--foreground: 222.2 47.4% 11.2%;
|
|
14
|
-
|
|
15
|
-
--muted: 210 40% 96.1%;
|
|
16
|
-
--muted-foreground: 215.4 16.3% 46.9%;
|
|
17
|
-
|
|
18
|
-
--popover: 0 0% 100%;
|
|
19
|
-
--popover-foreground: 222.2 47.4% 11.2%;
|
|
20
|
-
|
|
21
|
-
--border: 214.3 31.8% 91.4%;
|
|
22
|
-
--input: 214.3 31.8% 91.4%;
|
|
23
|
-
|
|
24
|
-
--card: 0 0% 100%;
|
|
25
|
-
--card-foreground: 222.2 47.4% 11.2%;
|
|
26
|
-
|
|
27
|
-
--primary: 222.2 47.4% 11.2%;
|
|
28
|
-
--primary-foreground: 210 40% 98%;
|
|
29
|
-
|
|
30
|
-
--secondary: 210 40% 96.1%;
|
|
31
|
-
--secondary-foreground: 222.2 47.4% 11.2%;
|
|
32
|
-
|
|
33
|
-
--accent: 210 40% 96.1%;
|
|
34
|
-
--accent-foreground: 222.2 47.4% 11.2%;
|
|
35
|
-
|
|
36
|
-
--destructive: 0 92% 38%;
|
|
37
|
-
--destructive-foreground: 210 40% 98%;
|
|
38
|
-
|
|
39
|
-
--ring: 215 20.2% 65.1%;
|
|
40
|
-
|
|
41
|
-
--radius: 0.5rem;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.dark {
|
|
45
|
-
--background: 224 71% 4%;
|
|
46
|
-
--foreground: 213 31% 91%;
|
|
47
|
-
|
|
48
|
-
--muted: 223 47% 11%;
|
|
49
|
-
--muted-foreground: 215.4 16.3% 56.9%;
|
|
50
|
-
|
|
51
|
-
--accent: 216 34% 17%;
|
|
52
|
-
--accent-foreground: 210 40% 98%;
|
|
53
|
-
|
|
54
|
-
--popover: 224 71% 4%;
|
|
55
|
-
--popover-foreground: 215 20.2% 65.1%;
|
|
56
|
-
|
|
57
|
-
--border: 216 34% 17%;
|
|
58
|
-
--input: 216 34% 17%;
|
|
59
|
-
|
|
60
|
-
--card: 224 71% 4%;
|
|
61
|
-
--card-foreground: 213 31% 91%;
|
|
62
|
-
|
|
63
|
-
--primary: 210 40% 98%;
|
|
64
|
-
--primary-foreground: 222.2 47.4% 1.2%;
|
|
65
|
-
|
|
66
|
-
--secondary: 222.2 47.4% 11.2%;
|
|
67
|
-
--secondary-foreground: 210 40% 98%;
|
|
68
|
-
|
|
69
|
-
--destructive: 359 51% 48%;
|
|
70
|
-
--destructive-foreground: 210 40% 98%;
|
|
71
|
-
|
|
72
|
-
--ring: 216 34% 17%;
|
|
73
|
-
|
|
74
|
-
--radius: 0.5rem;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@layer base {
|
|
79
|
-
* {
|
|
80
|
-
@apply border-border;
|
|
81
|
-
}
|
|
82
|
-
body {
|
|
83
|
-
@apply bg-background text-foreground;
|
|
84
|
-
font-feature-settings: 'rlig' 1, 'calt' 1;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/* * {
|
|
88
|
-
scrollbar-width: auto;
|
|
89
|
-
scrollbar-color: #7f8ea3;
|
|
90
|
-
} */
|
|
91
|
-
|
|
92
|
-
/* Chrome, Edge, and Safari */
|
|
93
|
-
/* *::-webkit-scrollbar {
|
|
94
|
-
width: 10px;
|
|
95
|
-
height: 10px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
*::-webkit-scrollbar-track {
|
|
99
|
-
background: transparent;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
*::-webkit-scrollbar-thumb {
|
|
103
|
-
background-color: #7f8ea3;
|
|
104
|
-
border: 3px none #ffffff;
|
|
105
|
-
}
|
|
106
|
-
*/
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@layer utilities {
|
|
110
|
-
.step {
|
|
111
|
-
counter-increment: step;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.step:before {
|
|
115
|
-
@apply absolute inline-flex h-8 w-8 items-center justify-center rounded-full bg-muted text-center -indent-px text-base font-medium;
|
|
116
|
-
@apply ml-[-41px];
|
|
117
|
-
content: counter(step);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@media (max-width: 640px) {
|
|
122
|
-
.container {
|
|
123
|
-
@apply px-4;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "Inter";
|
|
3
|
+
src: url("../assets/Inter.var.woff2") format("woff2");
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@tailwind base;
|
|
7
|
+
@tailwind components;
|
|
8
|
+
@tailwind utilities;
|
|
9
|
+
|
|
10
|
+
@layer base {
|
|
11
|
+
:root {
|
|
12
|
+
--background: 0 0% 100%;
|
|
13
|
+
--foreground: 222.2 47.4% 11.2%;
|
|
14
|
+
|
|
15
|
+
--muted: 210 40% 96.1%;
|
|
16
|
+
--muted-foreground: 215.4 16.3% 46.9%;
|
|
17
|
+
|
|
18
|
+
--popover: 0 0% 100%;
|
|
19
|
+
--popover-foreground: 222.2 47.4% 11.2%;
|
|
20
|
+
|
|
21
|
+
--border: 214.3 31.8% 91.4%;
|
|
22
|
+
--input: 214.3 31.8% 91.4%;
|
|
23
|
+
|
|
24
|
+
--card: 0 0% 100%;
|
|
25
|
+
--card-foreground: 222.2 47.4% 11.2%;
|
|
26
|
+
|
|
27
|
+
--primary: 222.2 47.4% 11.2%;
|
|
28
|
+
--primary-foreground: 210 40% 98%;
|
|
29
|
+
|
|
30
|
+
--secondary: 210 40% 96.1%;
|
|
31
|
+
--secondary-foreground: 222.2 47.4% 11.2%;
|
|
32
|
+
|
|
33
|
+
--accent: 210 40% 96.1%;
|
|
34
|
+
--accent-foreground: 222.2 47.4% 11.2%;
|
|
35
|
+
|
|
36
|
+
--destructive: 0 92% 38%;
|
|
37
|
+
--destructive-foreground: 210 40% 98%;
|
|
38
|
+
|
|
39
|
+
--ring: 215 20.2% 65.1%;
|
|
40
|
+
|
|
41
|
+
--radius: 0.5rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.dark {
|
|
45
|
+
--background: 224 71% 4%;
|
|
46
|
+
--foreground: 213 31% 91%;
|
|
47
|
+
|
|
48
|
+
--muted: 223 47% 11%;
|
|
49
|
+
--muted-foreground: 215.4 16.3% 56.9%;
|
|
50
|
+
|
|
51
|
+
--accent: 216 34% 17%;
|
|
52
|
+
--accent-foreground: 210 40% 98%;
|
|
53
|
+
|
|
54
|
+
--popover: 224 71% 4%;
|
|
55
|
+
--popover-foreground: 215 20.2% 65.1%;
|
|
56
|
+
|
|
57
|
+
--border: 216 34% 17%;
|
|
58
|
+
--input: 216 34% 17%;
|
|
59
|
+
|
|
60
|
+
--card: 224 71% 4%;
|
|
61
|
+
--card-foreground: 213 31% 91%;
|
|
62
|
+
|
|
63
|
+
--primary: 210 40% 98%;
|
|
64
|
+
--primary-foreground: 222.2 47.4% 1.2%;
|
|
65
|
+
|
|
66
|
+
--secondary: 222.2 47.4% 11.2%;
|
|
67
|
+
--secondary-foreground: 210 40% 98%;
|
|
68
|
+
|
|
69
|
+
--destructive: 359 51% 48%;
|
|
70
|
+
--destructive-foreground: 210 40% 98%;
|
|
71
|
+
|
|
72
|
+
--ring: 216 34% 17%;
|
|
73
|
+
|
|
74
|
+
--radius: 0.5rem;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@layer base {
|
|
79
|
+
* {
|
|
80
|
+
@apply border-border;
|
|
81
|
+
}
|
|
82
|
+
body {
|
|
83
|
+
@apply bg-background text-foreground;
|
|
84
|
+
font-feature-settings: 'rlig' 1, 'calt' 1;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* * {
|
|
88
|
+
scrollbar-width: auto;
|
|
89
|
+
scrollbar-color: #7f8ea3;
|
|
90
|
+
} */
|
|
91
|
+
|
|
92
|
+
/* Chrome, Edge, and Safari */
|
|
93
|
+
/* *::-webkit-scrollbar {
|
|
94
|
+
width: 10px;
|
|
95
|
+
height: 10px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
*::-webkit-scrollbar-track {
|
|
99
|
+
background: transparent;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
*::-webkit-scrollbar-thumb {
|
|
103
|
+
background-color: #7f8ea3;
|
|
104
|
+
border: 3px none #ffffff;
|
|
105
|
+
}
|
|
106
|
+
*/
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@layer utilities {
|
|
110
|
+
.step {
|
|
111
|
+
counter-increment: step;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.step:before {
|
|
115
|
+
@apply absolute inline-flex h-8 w-8 items-center justify-center rounded-full bg-muted text-center -indent-px text-base font-medium;
|
|
116
|
+
@apply ml-[-41px];
|
|
117
|
+
content: counter(step);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@media (max-width: 640px) {
|
|
122
|
+
.container {
|
|
123
|
+
@apply px-4;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
.mdsvex code {
|
|
2
|
-
@apply relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
[data-theme='light'] {
|
|
6
|
-
display: flex;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
[data-theme='dark'] {
|
|
10
|
-
display: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.dark [data-theme='light'] {
|
|
14
|
-
display: none;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.dark [data-theme='dark'] {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
[data-rehype-pretty-code-fragment] {
|
|
23
|
-
@apply relative;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
[data-rehype-pretty-code-fragment] code {
|
|
27
|
-
@apply grid min-w-full break-words rounded-none border-0 bg-transparent p-0;
|
|
28
|
-
counter-reset: line;
|
|
29
|
-
box-decoration-break: clone;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
[data-rehype-pretty-code-fragment] .line {
|
|
33
|
-
@apply inline-block w-full basis-4 px-4 py-0.5;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
[data-rehype-pretty-code-fragment] [data-line-numbers] .line {
|
|
37
|
-
@apply px-2;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
[data-rehype-pretty-code-fragment] [data-line-numbers] > .line::before {
|
|
41
|
-
@apply text-xs text-muted-foreground/40;
|
|
42
|
-
counter-increment: line;
|
|
43
|
-
content: counter(line);
|
|
44
|
-
display: inline-block;
|
|
45
|
-
width: 1.8rem;
|
|
46
|
-
margin-right: 1.4rem;
|
|
47
|
-
text-align: right;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
[data-metadata] .pre-copy-btn {
|
|
51
|
-
@apply top-16 !important;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
[data-rehype-pretty-code-fragment] .line--highlighted {
|
|
55
|
-
@apply bg-muted;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
[data-rehype-pretty-code-fragment] .with--meta {
|
|
59
|
-
@apply top-16 !important;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
[data-rehype-pretty-code-fragment] .line-highlighted span {
|
|
63
|
-
@apply relative;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
[data-rehype-pretty-code-fragment] .word--highlighted {
|
|
67
|
-
@apply rounded-md border border-muted bg-muted p-1;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.dark [data-rehype-pretty-code-fragment] .word--highlighted {
|
|
71
|
-
@apply bg-zinc-900;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
[data-rehype-pretty-code-title] {
|
|
75
|
-
@apply mt-2 px-4 pt-6 text-sm font-medium;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
[data-rehype-pretty-code-title] + pre {
|
|
79
|
-
@apply mt-2;
|
|
80
|
-
}
|
|
1
|
+
.mdsvex code {
|
|
2
|
+
@apply relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
[data-theme='light'] {
|
|
6
|
+
display: flex;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[data-theme='dark'] {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.dark [data-theme='light'] {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.dark [data-theme='dark'] {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-rehype-pretty-code-fragment] {
|
|
23
|
+
@apply relative;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-rehype-pretty-code-fragment] code {
|
|
27
|
+
@apply grid min-w-full break-words rounded-none border-0 bg-transparent p-0;
|
|
28
|
+
counter-reset: line;
|
|
29
|
+
box-decoration-break: clone;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-rehype-pretty-code-fragment] .line {
|
|
33
|
+
@apply inline-block w-full basis-4 px-4 py-0.5;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-rehype-pretty-code-fragment] [data-line-numbers] .line {
|
|
37
|
+
@apply px-2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[data-rehype-pretty-code-fragment] [data-line-numbers] > .line::before {
|
|
41
|
+
@apply text-xs text-muted-foreground/40;
|
|
42
|
+
counter-increment: line;
|
|
43
|
+
content: counter(line);
|
|
44
|
+
display: inline-block;
|
|
45
|
+
width: 1.8rem;
|
|
46
|
+
margin-right: 1.4rem;
|
|
47
|
+
text-align: right;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[data-metadata] .pre-copy-btn {
|
|
51
|
+
@apply top-16 !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[data-rehype-pretty-code-fragment] .line--highlighted {
|
|
55
|
+
@apply bg-muted;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[data-rehype-pretty-code-fragment] .with--meta {
|
|
59
|
+
@apply top-16 !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[data-rehype-pretty-code-fragment] .line-highlighted span {
|
|
63
|
+
@apply relative;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[data-rehype-pretty-code-fragment] .word--highlighted {
|
|
67
|
+
@apply rounded-md border border-muted bg-muted p-1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.dark [data-rehype-pretty-code-fragment] .word--highlighted {
|
|
71
|
+
@apply bg-zinc-900;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
[data-rehype-pretty-code-title] {
|
|
75
|
+
@apply mt-2 px-4 pt-6 text-sm font-medium;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[data-rehype-pretty-code-title] + pre {
|
|
79
|
+
@apply mt-2;
|
|
80
|
+
}
|