Sha256: cea3c0b74ca865fa3ed04b056880502305849d42dabee9694d3d34abbb27bbe1

Contents?: true

Size: 623 Bytes

Versions: 8

Compression:

Stored size: 623 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-red-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

8 entries across 8 versions & 1 rubygems

Version Path
kaze-0.15.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.14.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.13.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.12.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.11.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.10.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.9.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx
kaze-0.8.0 stubs/inertia-react-ts/app/javascript/Layouts/GuestLayout.tsx