Skip to content

Commit 9f852af

Browse files
Changed standard HTML tags with flux tags (#26)
* Changed standard html tags with flux tags * Added font-medium * Removed gap between heading and subheading * Using headings to make text white in split auth layout * Added more margin top to email field note --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 8c07442 commit 9f852af

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

resources/views/components/auth-header.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'description',
44
])
55

6-
<div class="flex w-full flex-col gap-2 text-center">
7-
<h1 class="text-xl font-medium dark:text-zinc-200">{{ $title }}</h1>
8-
<p class="text-center text-sm dark:text-zinc-400">{{ $description }}</p>
6+
<div class="flex w-full flex-col text-center">
7+
<flux:heading size="xl">{{ $title }}</flux:heading>
8+
<flux:subheading>{{ $description }}</flux:subheading>
99
</div>

resources/views/components/layouts/auth/split.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
<div class="relative z-20 mt-auto">
2222
<blockquote class="space-y-2">
23-
<p class="text-lg">&ldquo;{{ trim($message) }}&rdquo;</p>
24-
<footer class="text-sm">{{ trim($author) }}</footer>
23+
<flux:heading size="lg">&ldquo;{{ trim($message) }}&rdquo;</flux:heading>
24+
<footer><flux:heading>{{ trim($author) }}</flux:heading></footer>
2525
</blockquote>
2626
</div>
2727
</div>

resources/views/livewire/auth/verify-email.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ public function logout(Logout $logout): void
3535
}; ?>
3636

3737
<div class="mt-4 flex flex-col gap-6">
38-
<div class="text-center text-sm text-gray-600">
38+
<flux:text class="text-center">
3939
{{ __('Please verify your email address by clicking on the link we just emailed to you.') }}
40-
</div>
40+
</flux:text>
4141

4242
@if (session('status') == 'verification-link-sent')
43-
<div class="font-medium text-center text-sm text-green-600">
43+
<flux:text class="text-center font-medium !dark:text-green-400 !text-green-600">
4444
{{ __('A new verification link has been sent to the email address you provided during registration.') }}
45-
</div>
45+
</flux:text>
4646
@endif
4747

4848
<div class="flex flex-col items-center justify-between space-y-3">

resources/views/livewire/settings/profile.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,18 @@ public function resendVerificationNotification(): void
8181

8282
@if (auth()->user() instanceof \Illuminate\Contracts\Auth\MustVerifyEmail &&! auth()->user()->hasVerifiedEmail())
8383
<div>
84-
<p class="mt-2 text-sm text-gray-800">
84+
<flux:text class="mt-4">
8585
{{ __('Your email address is unverified.') }}
8686

8787
<flux:link class="text-sm cursor-pointer" wire:click.prevent="resendVerificationNotification">
8888
{{ __('Click here to re-send the verification email.') }}
8989
</flux:link>
90-
</p>
90+
</flux:text>
9191

9292
@if (session('status') === 'verification-link-sent')
93-
<p class="mt-2 text-sm font-medium text-green-600">
93+
<flux:text class="mt-2 font-medium !dark:text-green-400 !text-green-600">
9494
{{ __('A new verification link has been sent to your email address.') }}
95-
</p>
95+
</flux:text>
9696
@endif
9797
</div>
9898
@endif

0 commit comments

Comments
 (0)