diff --git a/src/assets/fonts/suivar.ttf b/src/assets/fonts/suivar.ttf new file mode 100644 index 0000000..859db80 Binary files /dev/null and b/src/assets/fonts/suivar.ttf differ diff --git a/src/components/Card.svelte b/src/components/Card.svelte new file mode 100644 index 0000000..f013004 --- /dev/null +++ b/src/components/Card.svelte @@ -0,0 +1,78 @@ + + +
+
+ Mario Odyssey +
+
+

{title}

+
Released: {releaseYear}
+
+ Compatibility: {capitalizeFirstLetter(compatibility)} +
+
+
+ + diff --git a/src/components/CardCarousel.svelte b/src/components/CardCarousel.svelte new file mode 100644 index 0000000..dbe33c4 --- /dev/null +++ b/src/components/CardCarousel.svelte @@ -0,0 +1,283 @@ + + + + + + +
+
+ +
+ + +
go(-1)}> + +
+
+ +
+ +
go(1)}> + +
+
+ +
+
+ + diff --git a/src/lib/data/strings.json b/src/lib/data/strings.json new file mode 100644 index 0000000..f799165 --- /dev/null +++ b/src/lib/data/strings.json @@ -0,0 +1,5 @@ +{ + "landingHeader": "suyu", + "landingOne": "Suyu is an open-source, Switch compatible emulator with almost full coverage of the game library.", + "landingCardHeader": "We care about preservation" +} diff --git a/src/lib/index.ts b/src/lib/index.ts new file mode 100644 index 0000000..856f2b6 --- /dev/null +++ b/src/lib/index.ts @@ -0,0 +1 @@ +// place files you want to import through the `$lib` alias in this folder. diff --git a/src/routes/mockup/boot/[game]/+page.server.ts b/src/routes/mockup/boot/[game]/+page.server.ts new file mode 100644 index 0000000..52cd706 --- /dev/null +++ b/src/routes/mockup/boot/[game]/+page.server.ts @@ -0,0 +1,11 @@ +import type { PageServerLoad } from "./$types"; +import { getQueriedGamesAmerica, type GameUS } from "nintendo-switch-eshop"; + +export const load: PageServerLoad = async ({ params }) => { + const games = await getQueriedGamesAmerica(params.game); + return { + props: { + games, + }, + }; +}; diff --git a/src/routes/mockup/boot/[game]/+page.svelte b/src/routes/mockup/boot/[game]/+page.svelte new file mode 100644 index 0000000..a3512f4 --- /dev/null +++ b/src/routes/mockup/boot/[game]/+page.svelte @@ -0,0 +1,150 @@ + + +
+
+ Box art for {game.title} +
+

Launching {game.title}

+

Shaders compiled: {shadersDone} / {shadersTotal}

+
+ +
+
+
+ +
+
+
+ + diff --git a/src/routes/mockup/w11/+page.svelte b/src/routes/mockup/w11/+page.svelte new file mode 100644 index 0000000..c258d80 --- /dev/null +++ b/src/routes/mockup/w11/+page.svelte @@ -0,0 +1,228 @@ + + +
+
+
+
+
+
+
+ +
+
suyu | dev-1574a6818
+
+
+ +
+
+
+
+
+ Minimize +
+
+ Maximize +
+
+ Close +
+
+
+
+ +
+
+
+
+

Disclaimer

+

+ This is a concept for suyu's launcher, made by nullptr. It is not
a true + desktop application, it is non-functional and running in
a browser. +

+
+
+
+ + diff --git a/src/routes/mockup/w11/components/Card.svelte b/src/routes/mockup/w11/components/Card.svelte new file mode 100644 index 0000000..d8aac0a --- /dev/null +++ b/src/routes/mockup/w11/components/Card.svelte @@ -0,0 +1,91 @@ + + +
+
+
+ smo +
+
+
Super Mario Odyssey
+
1.1 KB • 382 hours
+
+
+ +
+ + diff --git a/src/routes/mockup/w11/components/Sidebar.svelte b/src/routes/mockup/w11/components/Sidebar.svelte new file mode 100644 index 0000000..9b3eb6b --- /dev/null +++ b/src/routes/mockup/w11/components/Sidebar.svelte @@ -0,0 +1,193 @@ + + +