Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
refactor: update verify page design (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarnsley authored Mar 23, 2021
1 parent 43e6bac commit 31d7f6d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/lang/en/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
'verify' => [
'page_header' => 'Verify Your Email Address',
'link_description' => 'A verification link has been sent to your email address.',
'resend_verification' => 'Before proceeding, please check your email for a verification link. If you did not receive the email, <button type="submit" class="link">click here to request another</button>.',
'resend_verification' => '<span>Before proceeding, please check your email for a verification link.</span> <span>If you did not receive the email, <button type="submit" class="link">click here to request another</button>.</span>',
],
];
18 changes: 10 additions & 8 deletions resources/views/auth/verify-email.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,20 @@
@endsection

@section('content')
<div class="flex max-w-md p-8 mx-auto my-6 bg-white rounded-lg">
<div class="flex flex-col w-full">
<img class="mb-5" src="/images/auth/verify-email.svg" />
<h2>@lang('fortify::auth.verify.page_header')</h2>
<p>
@lang('fortify::auth.verify.link_description')
</p>
<div class="flex max-w-xl p-8 mx-auto my-6 bg-white rounded-lg">
<div class="flex flex-col w-full text-center space-y-6">
<div class="space-y-4">
<h1>@lang('fortify::auth.verify.page_header')</h1>

<p>@lang('fortify::auth.verify.link_description')</p>
</div>

<img class="mb-5 mx-12" src="/images/auth/verify-email.svg" />

<form method="POST" action="{{ route('verification.send') }}">
@csrf

<p class="mt-5 text-sm text-theme-secondary-600">
<p class="text-sm text-theme-secondary-600 lg:no-wrap-span-children">
@lang('fortify::auth.verify.resend_verification')
</p>
</form>
Expand Down

0 comments on commit 31d7f6d

Please sign in to comment.