Sha256: be9b1dc5dd31e5f4a27e9fef1577a4e65392387696200ea3f9911cee575b8563

Contents?: true

Size: 698 Bytes

Versions: 5

Compression:

Stored size: 698 Bytes

Contents

import ApplicationLogo from '@/Components/ApplicationLogo';
import { Link } from '@inertiajs/react';
import { PropsWithChildren } from 'react';

export default function Guest({ children }: PropsWithChildren) {
    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>
    );
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kaze-0.5.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.4.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.3.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.2.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.1.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx