File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
resources/js/pages/dashboard Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ import AppLayout from '@/layouts/app-layout' ;
2+ import { dashboard } from '@/routes' ;
3+ import { BreadcrumbItem } from '@/types' ;
4+ import { EmployeeInfo } from '@/types/application/employee' ;
5+ import { Head } from '@inertiajs/react' ;
6+
7+ interface ManagerDashboardProps {
8+ data : {
9+ managerInfo : EmployeeInfo ;
10+ [ key : string ] : unknown ;
11+ } ;
12+ }
13+
14+ const breadcrumbs : BreadcrumbItem [ ] = [
15+ {
16+ title : 'Dashboard' ,
17+ href : dashboard ( ) . url ,
18+ } ,
19+ ] ;
20+
21+ export default function ManagerDashboard ( { data } : Readonly < ManagerDashboardProps > ) {
22+ console . group ( 'Manager Info' ) ;
23+ console . log ( data ) ;
24+ console . groupEnd ( ) ;
25+
26+ return (
27+ < AppLayout breadcrumbs = { breadcrumbs } >
28+ < Head title = "Manager Dashboard" />
29+ </ AppLayout >
30+ ) ;
31+ }
You can’t perform that action at this time.
0 commit comments