Update
This commit is contained in:
@@ -9,7 +9,7 @@ interface AuthLayoutProps {
|
||||
}
|
||||
|
||||
export default function AuthSplitLayout({ children, title, description }: PropsWithChildren<AuthLayoutProps>) {
|
||||
const { name, quote } = usePage<SharedData>().props;
|
||||
const appName = 'MEMEFAST';
|
||||
|
||||
return (
|
||||
<div className="relative grid h-dvh flex-col items-center justify-center px-8 sm:px-0 lg:max-w-none lg:grid-cols-2 lg:px-0">
|
||||
@@ -17,16 +17,8 @@ export default function AuthSplitLayout({ children, title, description }: PropsW
|
||||
<div className="absolute inset-0 bg-zinc-900" />
|
||||
<Link href={route('home')} className="relative z-20 flex items-center text-lg font-medium">
|
||||
<AppLogoIcon className="mr-2 size-8 fill-current text-white" />
|
||||
{name}
|
||||
{appName}
|
||||
</Link>
|
||||
{quote && (
|
||||
<div className="relative z-20 mt-auto">
|
||||
<blockquote className="space-y-2">
|
||||
<p className="text-lg">“{quote.message}”</p>
|
||||
<footer className="text-sm text-neutral-300">{quote.author}</footer>
|
||||
</blockquote>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
<div className="w-full lg:p-8">
|
||||
<div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
|
||||
|
||||
Reference in New Issue
Block a user