From 320c68dfb59b519144e9c063cd55ccd255b97a32 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 31 Aug 2023 15:55:18 -0700 Subject: feat(app): responsive --- src/app.html | 2 +- src/routes/+page.svelte | 100 +++++++++++++++++++++++++++--------------------- 2 files changed, 58 insertions(+), 44 deletions(-) diff --git a/src/app.html b/src/app.html index 2ad032b3..6c1d6791 100644 --- a/src/app.html +++ b/src/app.html @@ -22,7 +22,7 @@ %sveltekit.head% - +
%sveltekit.body%
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 3d226606..6235fa58 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -28,51 +28,65 @@

-{#if data.user === undefined} - Please log in to view due media. -{:else} -

+

+ {#if data.user === undefined} + Please log in to view due media. + {:else} +

-

- {#if currentUserIdentity.id != -1} - - {:else} - Upcoming Episodes [...] ...s -
  • Loading ...
- {/if} -
+
+ {#if currentUserIdentity.id != -1} + + {:else} + Upcoming Episodes [...] ...s +
  • Loading ...
+ {/if} +
-

+

-

- {#if currentUserIdentity.id != -1} - - {:else} - Anime [...] ...s -
  • Loading ...
- {/if} -
+
+ {#if currentUserIdentity.id != -1} + + {:else} + Anime [...] ...s +
  • Loading ...
+ {/if} +
-

+

-

- {#if currentUserIdentity.id != -1} - - {:else} - Manga [...] ...s -
  • Loading ...
- {/if} -
-{/if} +
+ {#if currentUserIdentity.id != -1} + + {:else} + Manga [...] ...s +
  • Loading ...
+ {/if} +
+ {/if} +
+ + -- cgit v1.2.3