mirror of
https://github.com/anna-sara/lan_kiosk
synced 2025-10-26 21:17:13 +01:00
19 lines
603 B
TypeScript
19 lines
603 B
TypeScript
|
|
import { Link } from '@inertiajs/react';
|
|
import { PropsWithChildren } from 'react';
|
|
|
|
export default function Guest({ children }: PropsWithChildren) {
|
|
return (
|
|
<div className="flex min-h-screen flex-col items-center bg-gray-100 pt-6 sm:pt-0">
|
|
<div>
|
|
<Link href="/">
|
|
<img className="login-logo" src="/img/logo.png" />
|
|
</Link>
|
|
</div>
|
|
|
|
<div className="mt-6 w-full overflow-hidden bg-white px-6 py-6 shadow-md sm:max-w-md sm:rounded-lg">
|
|
{children}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|