Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
"email-verification.title": "Verify your email address",
"email-verification.subtitle": "You are almost there! We sent an email to",
"email-verification.message": "Just click on the link in that email to complete your signup.<br/>If you don't see the email, check your spam folder.",
"email-verification.foot-note": "If you didn't receive the email, click this button to resend it.",
"email-verification.foot-note": "If you didnt receive the email, click the button below to resend it.",
"email-verification.buttons.resend": "Resend email",
"email-verification.success.title": "Your email has been verified!🎉",
"email-verification.success.subtitle": "You're all set!",
Expand Down
26 changes: 15 additions & 11 deletions pages/email-verification.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
<template>
<div
v-if="user"
class="flex items-center justify-center absolute min-h-screen top-0 w-full"
>
<div class="relative p-6 text-center">
<div v-if="user" class="md:w-7/12 w-full content-wrapper mx-auto">
<div
class="relative px-8 border border-solid border-gray-200 py-8 rounded-3.5xl bg-gray-50"
>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is the right design

<div>
<h1 class="text-3xl font-medium mb-7">
<h1 class="text-3xl font-normal mb-3">
{{ $t('email-verification.title') }}
</h1>

<p class="text-lg">
{{ $t('email-verification.subtitle') }}
<span class="font-normal">{{
$t('email-verification.subtitle')
}}</span>
<span class="font-medium">{{ user.email }}</span>
<span class="font-normal" v-html="$t('email-verification.message')" />
</p>
<p class="text-sm pt-7 pb-5">
{{ $t('email-verification.foot-note') }}
</p>
<p class="text-base font-bold mb-4">{{ user.email }}</p>
<p class="text-lg py-4" v-html="$t('email-verification.message')" />
<p class="text-sm py-4">{{ $t('email-verification.foot-note') }}</p>
</div>

<div class="text-center mt-1">
<div class="mt-1">
<ArrowButton :loading="loading" @click="resendEmail()">
{{ $t('email-verification.buttons.resend') }}
</ArrowButton>
Expand Down