feat: enhance EPD header with dynamic client data fetching

- Update EPD header to fetch and display real client data from database
- Add loading state while fetching client information
- Improve client name and birth date formatting
- Rename ClientDetailPage component to ClientRedirect for clarity
- Fix import path for ReleaseSidebar in documentation layout

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
colinislit
2025-11-20 00:12:01 +01:00
parent 4b71c4a615
commit a167bdcc6e
3 changed files with 54 additions and 20 deletions

View File

@@ -10,7 +10,7 @@ interface ClientDetailPageProps {
* Wanneer een gebruiker direct naar /epd/clients/[id] navigeert,
* wordt deze automatisch doorgestuurd naar het dashboard.
*/
export default async function ClientDetailPage({
export default async function ClientRedirect({
params,
}: ClientDetailPageProps) {
const { id } = await params;