diff --git a/src/lib/components/header/index.svelte b/src/lib/components/header/index.svelte index 7deadd9..ae6c0d8 100644 --- a/src/lib/components/header/index.svelte +++ b/src/lib/components/header/index.svelte @@ -34,34 +34,38 @@ My Account - - - - ⇧⌘P - - - - - ⇧⌘C - - - - - ⇧⌘W - - -
- -
- ⇧⌘Q -
+ Sign out + + + +
@@ -90,10 +94,6 @@ } } - .menu { - display: grid; - } - .corner { width: 3em; height: 3em; @@ -124,10 +124,6 @@ } nav a { - /* display: flex; */ - /* height: 100%; */ - /* align-items: center; */ - /* padding: 0 1em; */ color: var(--heading-color); font-weight: 700; text-transform: uppercase; @@ -141,54 +137,7 @@ color: var(--accent-color); } - /* .menu { - @apply z-10 flex max-h-[300px] min-w-[220px] flex-col shadow-lg; - @apply rounded-md bg-slate-300 p-1 shadow-neutral-900/30 lg:max-h-none; - @apply ring-0 !important; - } */ - /* - .subMenu { - @apply min-w-[220px] shadow-md shadow-neutral-900/30; - }*/ - /* .item { - @apply relative h-6 select-none rounded-sm pl-6 pr-1; - @apply z-20 text-slate-700 outline-none; - @apply data-[highlighted]:bg-slate-200 data-[highlighted]:text-slate-700; - @apply data-[disabled]:text-neutral-300; - @apply flex items-center leading-none; - @apply ring-0 !important; - } */ - /* - .trigger { - @apply inline-flex h-9 w-9 items-center justify-center rounded-full bg-white; - @apply text-magnum-700 transition-colors hover:bg-white/90; - @apply data-[highlighted]:ring-magnum-400 data-[highlighted]:ring-offset-2 !important; - @apply p-0 text-sm font-medium focus:ring data-[highlighted]:outline-none; - } - .check { - @apply absolute left-2 top-1/2 text-magnum-500; - translate: 0 calc(-50% + 1px); - } - - .dot { - @apply h-[4.75px] w-[4.75px] rounded-full bg-magnum-700; - } */ - .separator { @apply m-[5px] h-[1px] bg-black; } - - /* .rightSlot { - @apply ml-auto pl-5; - } - - .icon { - @apply h-[13px] w-[13px]; - } - .check { - @apply absolute left-0 inline-flex w-6 items-center justify-center; - } - .text { - @apply pl-6 text-xs leading-6 text-neutral-600; - } */ diff --git a/src/routes/(auth)/login/+page.svelte b/src/routes/(auth)/login/+page.svelte index 38ffef6..429a750 100644 --- a/src/routes/(auth)/login/+page.svelte +++ b/src/routes/(auth)/login/+page.svelte @@ -32,6 +32,12 @@ delayMs: 250, }); + $: { + if ($delayed) { + boredState.update((n) => ({ ...n, loading: true })); + } + } + const flash = flashModule.getFlash(page); $: { @@ -60,41 +66,29 @@ {#if $errors._errors} - - - Error - - {$errors._errors} - - - {/if} -

- By clicking continue, you agree to our - - Terms of Use - - and - - Privacy Policy - . -

+ + + Error + + {$errors._errors} + + + {/if} +

+ By clicking continue, you agree to our + + Terms of Use + + and + + Privacy Policy + . +

- {#if $delayed} - - -
- -

Loading...

-
- -
- -{/if} -