From 44b9a709f3e14eb65276245b532455f581167b0d Mon Sep 17 00:00:00 2001 From: hopperelec Date: Thu, 9 Nov 2023 05:40:26 +0000 Subject: [PATCH] Prettier For some reason the format and format-check use less strict settings than my IDE's "Reformat with Prettier" option --- src/app.d.ts | 10 -- src/lib/LogoText.svelte | 136 +++++++++++++++------ src/routes/+error.svelte | 38 +++--- src/routes/+layout.svelte | 251 +++++++++++++++++++++----------------- src/routes/+page.svelte | 9 +- 5 files changed, 259 insertions(+), 185 deletions(-) delete mode 100644 src/app.d.ts diff --git a/src/app.d.ts b/src/app.d.ts deleted file mode 100644 index 10ed528..0000000 --- a/src/app.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare global { - namespace App { - // interface Error {} - // interface Locals {} - // interface PageData {} - // interface Platform {} - } -} - -export {}; diff --git a/src/lib/LogoText.svelte b/src/lib/LogoText.svelte index 0c8fdfd..60e16f6 100644 --- a/src/lib/LogoText.svelte +++ b/src/lib/LogoText.svelte @@ -1,43 +1,101 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file + svg { + fill: var(--main-fg-color); + } + svg:hover #matrix path { + display: none; + } + diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte index 88faaab..3ea9b39 100644 --- a/src/routes/+error.svelte +++ b/src/routes/+error.svelte @@ -1,27 +1,27 @@
-

An error has occurred!

-

{$page.status}: {$page.error?.message}

+

An error has occurred!

+

{$page.status}: {$page.error?.message}

\ No newline at end of file + h1 { + font-size: 64px; + font-weight: bold; + color: white; + } + diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 5ffab38..f855075 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,131 +1,156 @@ - {$title || "website"} - - + {$title || "website"} + + -
- +
+ \ No newline at end of file + } + diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 11bd822..7566109 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,7 @@ - \ No newline at end of file + +