You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
698 B

  1. import ApplicationLogo from '@/Components/ApplicationLogo';
  2. import { Link } from '@inertiajs/react';
  3. import { PropsWithChildren } from 'react';
  4. export default function Guest({ children }: PropsWithChildren) {
  5. return (
  6. <div className="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100">
  7. <div>
  8. <Link href="/">
  9. <ApplicationLogo className="w-20 h-20 fill-current text-gray-500" />
  10. </Link>
  11. </div>
  12. <div className="w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">
  13. {children}
  14. </div>
  15. </div>
  16. );
  17. }