feat: update authentication layout to use homepage route for logo link
This commit is contained in:
parent
917d8a6e1a
commit
530d2cbbcb
@ -1,4 +1,5 @@
|
|||||||
import AppLogoIcon from '@/components/app-logo-icon';
|
import AppLogoIcon from '@/components/app-logo-icon';
|
||||||
|
import { homepage } from '@/routes';
|
||||||
import type { AuthLayoutProps } from '@/types';
|
import type { AuthLayoutProps } from '@/types';
|
||||||
import { Link, usePage } from '@inertiajs/react';
|
import { Link, usePage } from '@inertiajs/react';
|
||||||
|
|
||||||
@ -20,7 +21,7 @@ export default function AuthSplitLayout({
|
|||||||
<div className="w-full lg:p-8">
|
<div className="w-full lg:p-8">
|
||||||
<div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
|
<div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
|
||||||
<Link
|
<Link
|
||||||
href={home()}
|
href={homepage()}
|
||||||
className="relative z-20 flex items-center justify-center"
|
className="relative z-20 flex items-center justify-center"
|
||||||
>
|
>
|
||||||
<AppLogoIcon className="h-10 fill-current text-black sm:h-12" />
|
<AppLogoIcon className="h-10 fill-current text-black sm:h-12" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user