- Add Header component with top navigation menu - Create DashboardLayout with nested routing under /dashboard - Implement Users, Companies, Products, Orders CRUD pages - Add adminService with all API operations - Update apiClient to return data directly with patch support - Fix TypeScript errors in existing pages - Update seeder README with detailed user credentials table - Fix fmt.Sprintf format verb in seeder.go
13 lines
341 B
TypeScript
13 lines
341 B
TypeScript
import { Outlet } from 'react-router-dom'
|
|
import { Header } from '../components/Header'
|
|
|
|
export function DashboardLayout() {
|
|
return (
|
|
<div className="min-h-screen bg-gray-100">
|
|
<Header />
|
|
<main className="mx-auto max-w-7xl px-4 py-6">
|
|
<Outlet />
|
|
</main>
|
|
</div>
|
|
)
|
|
}
|