aboutsummaryrefslogtreecommitdiffstats
path: root/apps/kit/src/routes/(main)/(public)/reset-password/+page.svelte
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-10-01 10:44:31 +0200
committerivarlovlie <git@ivarlovlie.no>2022-10-01 10:44:31 +0200
commit7a5ba5ea4aec0704070cfe8d63ba504a07d88cc6 (patch)
tree683a6a121e02b4413774dcc36522c5d3817c9867 /apps/kit/src/routes/(main)/(public)/reset-password/+page.svelte
parent33b5c5a72974af5bd8745298772fe7cc71b87b76 (diff)
downloadgreatoffice-7a5ba5ea4aec0704070cfe8d63ba504a07d88cc6.tar.xz
greatoffice-7a5ba5ea4aec0704070cfe8d63ba504a07d88cc6.zip
feat: Functionality complete public sites
Diffstat (limited to 'apps/kit/src/routes/(main)/(public)/reset-password/+page.svelte')
-rw-r--r--apps/kit/src/routes/(main)/(public)/reset-password/+page.svelte16
1 files changed, 7 insertions, 9 deletions
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>