From 33b5c5a72974af5bd8745298772fe7cc71b87b76 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Thu, 29 Sep 2022 22:48:21 +0800
Subject: feat: !WIP Enable an alert to be shown on mount

---
 .../src/routes/(main)/(public)/sign-in/+page.svelte    | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

(limited to 'apps/kit/src/routes/(main)/(public)/sign-in/+page.svelte')

diff --git a/apps/kit/src/routes/(main)/(public)/sign-in/+page.svelte b/apps/kit/src/routes/(main)/(public)/sign-in/+page.svelte
index 16d8c3a..c431e0d 100644
--- a/apps/kit/src/routes/(main)/(public)/sign-in/+page.svelte
+++ b/apps/kit/src/routes/(main)/(public)/sign-in/+page.svelte
@@ -1,3 +1,10 @@
+<script context="module" lang="ts">
+    export type Message =
+        | "after-password-reset"
+        | "user-inactivity"
+        | "user-disabled";
+</script>
+
 <script lang="ts">
     import { goto } from "$app/navigation";
     import { login } from "$lib/api/user";
@@ -43,9 +50,7 @@
         </h2>
         <p class="mt-2 text-center text-sm text-gray-600">
             {$LL.or().toLowerCase()}
-            <a href="/sign-up" class="link"
-                >{$LL.createANewAccount()}</a
-            >
+            <a href="/sign-up" class="link">{$LL.createANewAccount()}</a>
         </p>
     </div>
     <div class="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
@@ -97,12 +102,7 @@
                     </div>
                 </div>
 
-                <Button
-                    text={$LL.signIn()}
-                    fullWidth
-                    type="submit"
-                    {loading}
-                />
+                <Button text={$LL.signIn()} fullWidth type="submit" {loading} />
             </form>
         </div>
     </div>
-- 
cgit v1.3

