Skip to content

Commit

Permalink
Merge pull request #81 from frontChapter/develop
Browse files Browse the repository at this point in the history
feat: :sparkles lot of security and ux fixes
  • Loading branch information
lokiwich authored Feb 25, 2024
2 parents 84b07f8 + 51df334 commit f1c6b3e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions lang/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,7 @@
"Venezuela": "ونزوئلا",
"Venezuela, Bolivarian Republic of": "ونزوئلا",
"Verify Email Address": "تایید آدرس ایمیل",
"Verify Email": "تایید ایمیل",
"Verify Your Email Address": "ایمیل خود را تایید کنید",
"Viet Nam": "ویتنام",
"View": "مشاهده",
Expand Down
14 changes: 8 additions & 6 deletions resources/views/components/check-email-verified.blade.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
@auth
@empty (auth()->user()->email_verified_at)
<div class="py-4 bg-warning-50 text-warning-900 dark:bg-secondary-800 dark:text-warning-200">
<div class="py-4 bg-warning-50 text-warning-900 dark:bg-warning-500/20 dark:text-warning-200">
<div class="container px-4 mx-auto sm:px-2 md:px-0">
<div class="flex items-center gap-2">
@svg("heroicon-s-exclamation-triangle", 'w-6 h-6 text-warning-300 dark:text-warning-300')
<div class="flex items-center gap-4">
@svg("heroicon-s-exclamation-triangle", 'min-w-6 w-6 h-6 text-warning-500 dark:text-warning-300')
<div class="flex flex-col">
<p class="text-base font-medium sm:hidden">{{ __('Verify Your Email Address') }}</p>
@yield('check_email_verification_description', __('Before proceeding, please check your email for a verification link.'))
<p class="hidden sm:block">
@yield('check_email_verification_description', __('Before proceeding, please check your email for a verification link.'))
</p>
</div>
<div class="ms-auto">
<x-button warning :href="route('verification.notice')" :label="__('Verify Email Address')" />
<div class="ms-auto min-w-max">
<x-button warning :href="route('verification.notice')" :label="__('Verify Email')" />
</div>
</div>
</div>
Expand Down

0 comments on commit f1c6b3e

Please sign in to comment.