From 7a5ba5ea4aec0704070cfe8d63ba504a07d88cc6 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Sat, 1 Oct 2022 16:44:31 +0800
Subject: feat: Functionality complete public sites

---
 .../routes/(main)/(public)/reset-password/+page.svelte   | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

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

diff --git a/apps/kit/src/routes/(main)/(public)/reset-password/+page.svelte b/apps/kit/src/routes/(main)/(public)/reset-password/+page.svelte
index 9ee4a83..aa26892 100644
--- a/apps/kit/src/routes/(main)/(public)/reset-password/+page.svelte
+++ b/apps/kit/src/routes/(main)/(public)/reset-password/+page.svelte
@@ -37,16 +37,14 @@
 </script>
 
 <div class="min-h-full flex flex-col justify-center py-12 sm:px-6 lg:px-8">
-    <div class="sm:mx-auto sm:w-full sm:max-w-md">
-        <h2
-            class="mt-6 text-center text-3xl tracking-tight font-bold text-gray-900"
-        >
-            {$LL.requestAPasswordReset()}
+    <div class="sm:mx-auto sm:w-full p-2 sm:p-0 sm:max-w-md">
+        <h2 class="mt-6 text-3xl tracking-tight font-bold text-gray-900">
+            {$LL.resetPasswordPage.requestAPasswordReset()}
         </h2>
-        <p class="mt-2 text-center text-sm text-gray-600">
+        <p class="mt-2 text-sm text-gray-600">
             {$LL.or().toLowerCase()}
             <a href="/sign-in" class="link">
-                {$LL.signIntoYourAccount()}
+                {$LL.signIntoYourAccount().toLowerCase()}
             </a>
         </p>
     </div>
@@ -64,7 +62,7 @@
                 <Alert
                     type="success"
                     title={$LL.success()}
-                    message={$LL.requestSentMessage()}
+                    message={$LL.resetPasswordPage.requestSentMessage()}
                     visible={showSuccessAlert}
                 />
 
@@ -77,7 +75,7 @@
                     bind:value={formData.email}
                     label={$LL.emailAddress()}
                 />
-                <Button text={$LL.submit()} type="submit" fullWidth />
+                <Button text={$LL.submit()} type="submit" {loading} fullWidth />
             </form>
         </div>
     </div>
-- 
cgit v1.3

