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.

21 lines
687 B

  1. import Authenticated from '@/Layouts/AuthenticatedLayout';
  2. import { Head } from '@inertiajs/react';
  3. import { PageProps } from '@/types';
  4. export default function Dashboard({ auth }: PageProps) {
  5. return (
  6. <Authenticated
  7. user={auth.user}
  8. >
  9. <Head title="Dashboard" />
  10. <div className="py-12">
  11. <div className="max-w-7xl mx-auto sm:px-6 lg:px-8">
  12. <div className="bg-white overflow-hidden shadow-sm sm:rounded-lg">
  13. <div className="p-6 text-gray-900">You're logged in!</div>
  14. </div>
  15. </div>
  16. </div>
  17. </Authenticated>
  18. );
  19. }