mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
Setup Inertia (#593)
This commit is contained in:
11
resources/js/layouts/auth-layout.tsx
Normal file
11
resources/js/layouts/auth-layout.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
import AuthLayoutTemplate from '@/layouts/auth/auth-simple-layout';
|
||||
import { Toaster } from '@/components/ui/sonner';
|
||||
|
||||
export default function AuthLayout({ children, title, description, ...props }: { children: React.ReactNode; title: string; description: string }) {
|
||||
return (
|
||||
<AuthLayoutTemplate title={title} description={description} {...props}>
|
||||
{children}
|
||||
<Toaster />
|
||||
</AuthLayoutTemplate>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user