feat(swift): E0 Setup & Foundation + documentatie

Swift - Contextual UI EPD: "Van 12 klikken naar 1 zin"

Documentatie:
- PRD, FO, TO, UX specificaties
- Bouwplan met 6 epics, 27 stories (68 SP)
- Analyse en onderzoeksdocumenten

E0 Setup & Foundation:
- E0.S1: Zustand v5.0.9 geïnstalleerd
- E0.S2: Swift store met context, blocks, input state
- E0.S3: /epd/swift route met eigen layout (dark theme)
- E0.S4: Folder structuur components/swift/, lib/swift/

Components:
- CommandCenter (container)
- ContextBar (shift, patient)
- CommandInput (text + voice button)
- RecentStrip (laatste 5 acties)
- BlockContainer (wrapper voor blocks)

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
colinislit
2025-12-23 22:28:41 +01:00
parent 96a1f25e55
commit 855b1e99ae
27 changed files with 8496 additions and 14 deletions

28
app/epd/swift/layout.tsx Normal file
View File

@@ -0,0 +1,28 @@
/**
* Swift Layout
*
* Full-screen layout for Swift Command Center.
* No sidebar - the entire screen is the Command Center.
*/
import type { ReactNode } from 'react';
import { getUser } from '@/lib/auth/server';
import { redirect } from 'next/navigation';
interface SwiftLayoutProps {
children: ReactNode;
}
export default async function SwiftLayout({ children }: SwiftLayoutProps) {
const user = await getUser();
if (!user) {
redirect('/login');
}
return (
<div className="min-h-screen bg-slate-900 text-white flex flex-col">
{children}
</div>
);
}