You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
671 B
JavaScript
20 lines
671 B
JavaScript
import React from 'react';
|
|
import ApplicationLogo from '@/Components/ApplicationLogo';
|
|
import { Link } from '@inertiajs/inertia-react';
|
|
|
|
export default function Guest({ children }) {
|
|
return (
|
|
<div className="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100">
|
|
<div>
|
|
<Link href="/">
|
|
<ApplicationLogo className="w-20 h-20 fill-current text-gray-500" />
|
|
</Link>
|
|
</div>
|
|
|
|
<div className="w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">
|
|
{children}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|