Files
fotospiel-app/resources/js/layouts/auth-layout.tsx

19 lines
542 B
TypeScript

import AuthLayoutTemplate from '@/layouts/auth/auth-simple-layout';
interface AuthLayoutProps {
children: React.ReactNode;
title: string;
description: string;
name?: string;
logoSrc?: string;
logoAlt?: string;
}
export default function AuthLayout({ children, title, description, name, logoSrc, logoAlt }: AuthLayoutProps) {
return (
<AuthLayoutTemplate title={title} description={description} name={name} logoSrc={logoSrc} logoAlt={logoAlt}>
{children}
</AuthLayoutTemplate>
);
}