Sha256: 8a6cf9f64edf61bf5bf317f29accbe2fdcd612b2aedd673daa2b15a45c060737

Contents?: true

Size: 862 Bytes

Versions: 5

Compression:

Stored size: 862 Bytes

Contents

import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout';
import { Head } from '@inertiajs/react';
import { PageProps } from '@/types';

export default function Dashboard({ auth }: PageProps) {
    return (
        <AuthenticatedLayout
            user={auth.user}
            header={<h2 className="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">Dashboard</h2>}
        >
            <Head title="Dashboard" />

            <div className="py-12">
                <div className="max-w-7xl mx-auto sm:px-6 lg:px-8">
                    <div className="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg">
                        <div className="p-6 text-gray-900 dark:text-gray-100">You're logged in!</div>
                    </div>
                </div>
            </div>
        </AuthenticatedLayout>
    );
}

Version data entries

5 entries across 5 versions & 1 rubygems

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