From a49171f8cc46ec1a15c5404f14319dc94cb2be9d Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 5 Sep 2022 09:29:58 +0200 Subject: [PATCH] ui: login page --- apps/ui/src/lib/store.ts | 1 + apps/ui/src/routes/__layout.svelte | 22 ++++++++++------------ apps/ui/src/routes/login.svelte | 21 +++++++++++++-------- 3 files changed, 24 insertions(+), 20 deletions(-) diff --git a/apps/ui/src/lib/store.ts b/apps/ui/src/lib/store.ts index 5c7ee92a3..4114026d5 100644 --- a/apps/ui/src/lib/store.ts +++ b/apps/ui/src/lib/store.ts @@ -3,6 +3,7 @@ import cuid from 'cuid'; import { writable, readable, type Writable } from 'svelte/store'; interface AppSession { + registrationEnabled: boolean; ipv4: string | null, ipv6: string | null, version: string | null, diff --git a/apps/ui/src/routes/__layout.svelte b/apps/ui/src/routes/__layout.svelte index fcf040cd5..cd6033532 100644 --- a/apps/ui/src/routes/__layout.svelte +++ b/apps/ui/src/routes/__layout.svelte @@ -66,6 +66,7 @@