File tree Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change 1
1
// Components
2
- import { Head , Link , useForm } from '@inertiajs/react' ;
2
+ import { Head , useForm } from '@inertiajs/react' ;
3
3
import { LoaderCircle } from 'lucide-react' ;
4
4
import { FormEventHandler } from 'react' ;
5
5
6
+ import TextLink from '@/components/text-link' ;
6
7
import { Button } from '@/components/ui/button' ;
7
8
import AuthLayout from '@/layouts/auth-layout' ;
8
9
@@ -25,22 +26,15 @@ export default function VerifyEmail({ status }: { status?: string }) {
25
26
</ div >
26
27
) }
27
28
28
- < form onSubmit = { submit } >
29
- < div className = "mt-4 flex items-center justify-between" >
30
- < Button disabled = { processing } >
31
- { processing && < LoaderCircle className = "h-4 w-4 animate-spin" /> }
29
+ < form onSubmit = { submit } className = "space-y-6 text-center" >
30
+ < Button disabled = { processing } variant = "secondary" >
31
+ { processing && < LoaderCircle className = "h-4 w-4 animate-spin" /> }
32
32
Resend verification email
33
- </ Button >
34
-
35
- < Link
36
- href = { route ( 'logout' ) }
37
- method = "post"
38
- as = "button"
39
- className = "rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden"
40
- >
41
- Log Out
42
- </ Link >
43
- </ div >
33
+ </ Button >
34
+
35
+ < TextLink href = { route ( 'logout' ) } method = "post" className = "mx-auto block text-sm" >
36
+ Log out
37
+ </ TextLink >
44
38
</ form >
45
39
</ AuthLayout >
46
40
) ;
You can’t perform that action at this time.
0 commit comments