saveinmed/marketplace/src/layouts/DashboardLayout.tsx
Tiago Yamamoto 59919cb875 feat(marketplace): implement admin dashboard with full CRUD operations
- 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
2025-12-22 07:22:01 -03:00

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>
)
}