diff options
| author | Fuwn <[email protected]> | 2023-12-05 14:57:45 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-05 14:57:45 -0800 |
| commit | 13fc063eef72bf5bb8c5e4fdbe28bae188189fcc (patch) | |
| tree | 98300ca00804781ae1fb27d935ec07bc44e699ff /src/routes/+layout.svelte | |
| parent | fix(html): header fouc (diff) | |
| download | due.moe-13fc063eef72bf5bb8c5e4fdbe28bae188189fcc.tar.xz due.moe-13fc063eef72bf5bb8c5e4fdbe28bae188189fcc.zip | |
feat(layout): mai
Diffstat (limited to 'src/routes/+layout.svelte')
| -rw-r--r-- | src/routes/+layout.svelte | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 95c7c678..8de5b2de 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -94,6 +94,10 @@ <slot /> </div> +{#if $settings.displayMai} + <img src="mai.png" alt="Mai Sakurajima" id="mai" /> +{/if} + <style> :global(html.light-theme) { filter: invert(0); @@ -139,4 +143,12 @@ #hover-header:hover { opacity: 1; } + + #mai { + position: fixed; + left: 0; + bottom: 0; + height: auto; + width: 10vh; + } </style> |