From d4dfe9d92dbc517415a85a656520989a6c377aec Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 9 Dec 2023 22:09:57 -0800 Subject: feat(settings): option disable panels --- src/routes/+page.svelte | 86 ++++++++++++++++++++++++++++++------------------- 1 file changed, 53 insertions(+), 33 deletions(-) (limited to 'src/routes/+page.svelte') diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index b62d452b..9b39407c 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -80,40 +80,60 @@ {#if data.user === undefined} Please log in to view due media. {:else} -
- {#if currentUserIdentity.id != -1} - - {:else} - - -
  • Loading ...
- {/if} -
- -
- {#if currentUserIdentity.id != -1} - - {:else} - - -
  • Loading ...
- {/if} -
- -
- {#if currentUserIdentity.id != -1} - + {#if currentUserIdentity.id != -1} + + {:else} + + +
  • Loading ...
+ {/if} +
+ {/if} + + {#if !$settings.disableAnime} +
+ {#if currentUserIdentity.id != -1} + + {:else} + + +
  • Loading ...
+ {/if} +
+ {/if} + + {#if !$settings.disableManga} +
+ {#if currentUserIdentity.id != -1} + + {:else} + + +
  • Loading 0% ...
+ {/if} +
+ {/if} + + {#if $settings.disableUpcomingAnime && $settings.disableAnime && $settings.disableManga} +
+ - {:else} - - -
  • Loading 0% ...
- {/if} - +
+ {/if} {/if} -- cgit v1.2.3