From 9d8f47dcfe3bd7eac209e6fbafd703247df263d0 Mon Sep 17 00:00:00 2001 From: not-nullptr Date: Fri, 8 Mar 2024 15:04:03 +0000 Subject: [PATCH] grah --- src/lib/css/fluent.css | 17 ++- src/routes/+layout.svelte | 7 +- src/routes/mockup/boot/[game]/+page.svelte | 1 - src/routes/mockup/w11/+page.svelte | 16 ++- src/routes/mockup/w11/components/Card.svelte | 2 +- .../mockup/w11/components/Sidebar.svelte | 117 +++++++++++++++--- src/routes/mockup/w11/pages/Library.svelte | 8 -- .../mockup/w11/pages/Multiplayer.svelte | 1 + src/routes/mockup/w11/pages/Settings.svelte | 2 +- 9 files changed, 134 insertions(+), 37 deletions(-) create mode 100644 src/routes/mockup/w11/pages/Multiplayer.svelte diff --git a/src/lib/css/fluent.css b/src/lib/css/fluent.css index 72533dd..b18b3b3 100644 --- a/src/lib/css/fluent.css +++ b/src/lib/css/fluent.css @@ -17,6 +17,17 @@ user-select: none; } +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: "Segoe UI Variable", sans-serif !important; + font-size: 24px !important; + font-weight: 600; +} + .fluent-press { transition: 0.2s transform var(--fluent-ease-out); } @@ -43,9 +54,9 @@ } button { - border: var(--fluent-stroke); - border-radius: 4px; - background-color: rgba(255, 255, 255, 0.15); + border: var(--fluent-stroke) !important; + border-radius: 4px !important; + background-color: rgba(255, 255, 255, 0.15) !important; height: 32px; padding: 0 12px; font-size: 10pt !important; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 1ff7ce0..9f88830 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -6,10 +6,11 @@ import { page } from "$app/stores"; import "$lib/css/index.css"; import { Button } from "flowbite-svelte"; - import {DiscordSolid, DownloadOutline} from "flowbite-svelte-icons"; + import { DiscordSolid, DownloadOutline } from "flowbite-svelte-icons"; const excludedRoutesNav = ["/mockup/boot", "/mockup/w11"]; const excludedRoutesBg = ["/mockup", "/mockup/w11"]; + console.log($page.url); $: isNavExcluded = excludedRoutesNav.some((route) => $page.url?.pathname.startsWith(route)); $: isBgExcluded = excludedRoutesBg.some((route) => $page.url?.pathname === route); @@ -21,12 +22,12 @@
- - diff --git a/src/routes/mockup/boot/[game]/+page.svelte b/src/routes/mockup/boot/[game]/+page.svelte index 6d6448c..a3512f4 100644 --- a/src/routes/mockup/boot/[game]/+page.svelte +++ b/src/routes/mockup/boot/[game]/+page.svelte @@ -85,7 +85,6 @@ .logo { animation: spin 2s reverse infinite cubic-bezier(0.8, 0, 0.2, 1); - transform-origin: 50.1% 47.45%; } .body { diff --git a/src/routes/mockup/w11/+page.svelte b/src/routes/mockup/w11/+page.svelte index bc57df9..c258d80 100644 --- a/src/routes/mockup/w11/+page.svelte +++ b/src/routes/mockup/w11/+page.svelte @@ -121,6 +121,13 @@
+
+

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. +

+
@@ -195,8 +202,13 @@ width: 1012px; height: 600px; position: absolute; - opacity: 0; - animation: window-appear forwards 0.3s 1s var(--fluent-ease-out); + } + + .disclaimer { + text-align: right; + position: absolute; + bottom: 16px; + right: 24px; } .titlebar-buttons { diff --git a/src/routes/mockup/w11/components/Card.svelte b/src/routes/mockup/w11/components/Card.svelte index 61f8ad7..d8aac0a 100644 --- a/src/routes/mockup/w11/components/Card.svelte +++ b/src/routes/mockup/w11/components/Card.svelte @@ -70,7 +70,7 @@ .card-container { width: 128px; - height: 204px; + height: 212px; border-radius: 10px; border: var(--fluent-stroke); position: relative; diff --git a/src/routes/mockup/w11/components/Sidebar.svelte b/src/routes/mockup/w11/components/Sidebar.svelte index 903e4a5..9b3eb6b 100644 --- a/src/routes/mockup/w11/components/Sidebar.svelte +++ b/src/routes/mockup/w11/components/Sidebar.svelte @@ -1,5 +1,5 @@ -