aboutsummaryrefslogtreecommitdiff
path: root/src/routes/+layout.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-12-05 14:57:45 -0800
committerFuwn <[email protected]>2023-12-05 14:57:45 -0800
commit13fc063eef72bf5bb8c5e4fdbe28bae188189fcc (patch)
tree98300ca00804781ae1fb27d935ec07bc44e699ff /src/routes/+layout.svelte
parentfix(html): header fouc (diff)
downloaddue.moe-13fc063eef72bf5bb8c5e4fdbe28bae188189fcc.tar.xz
due.moe-13fc063eef72bf5bb8c5e4fdbe28bae188189fcc.zip
feat(layout): mai
Diffstat (limited to 'src/routes/+layout.svelte')
-rw-r--r--src/routes/+layout.svelte12
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>