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.

22 lines
807 B

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