- Add DocsChatWidget to epd-layout-client.tsx - Widget now visible for all authenticated EPD users - Update bouwplan status: all epics complete Completes AI Documentatie Assistent feature (E0-E4, 12 stories) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
739 B
TypeScript
30 lines
739 B
TypeScript
'use client';
|
|
|
|
import type { ReactNode } from 'react';
|
|
import { EPDHeader } from './epd-header';
|
|
import { PatientProvider } from './patient-context';
|
|
import { DocsChatWidget } from '@/components/docs-chat';
|
|
|
|
interface EPDLayoutClientProps {
|
|
children: ReactNode;
|
|
}
|
|
|
|
export function EPDLayoutClient({ children }: EPDLayoutClientProps) {
|
|
return (
|
|
<PatientProvider>
|
|
<div className="flex-1 flex flex-col min-w-0">
|
|
{/* Header - Fixed 60px height */}
|
|
<EPDHeader />
|
|
|
|
{/* Page Content - Scrollable */}
|
|
<main className="flex-1 overflow-auto bg-white">
|
|
{children}
|
|
</main>
|
|
|
|
{/* AI Documentation Assistant */}
|
|
<DocsChatWidget />
|
|
</div>
|
|
</PatientProvider>
|
|
);
|
|
}
|