You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
713 B
JavaScript
23 lines
713 B
JavaScript
import React from 'react';
|
|
import Authenticated from '@/Layouts/Authenticated';
|
|
import { Head } from '@inertiajs/inertia-react';
|
|
|
|
export default function Dashboard(props) {
|
|
return (
|
|
<Authenticated
|
|
auth={props.auth}
|
|
errors={props.errors}
|
|
>
|
|
<Head title="Dashboard" />
|
|
|
|
<div className="py-0">
|
|
<div className="max-w-7xl sm:px-6">
|
|
<div className="bg-white overflow-hidden shadow-sm sm:rounded-lg">
|
|
<div className="p-6 bg-white border-b border-gray-200">Hai, {props.auth.user.name}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</Authenticated>
|
|
);
|
|
}
|