Phase 1: scaffold Next.js 16 web-ui + Coolify staging

- create-next-app with TypeScript, Tailwind v4, App Router
- Port design-system.css tokens into Tailwind @theme (navy/gold/parchment, Heebo)
- Install TanStack Query, react-hook-form, zod, lucide-react, react-dropzone
- layout.tsx: RTL Hebrew + Heebo via next/font/google
- AppShell component with navy header + gold rule + nav
- next.config.ts: output:standalone + rewrites to proxy /api/* to production FastAPI
- Dockerfile: multi-stage Node 20 Alpine build for Next.js standalone
  (branch-local override of the FastAPI Dockerfile; main is unaffected)
- Switch .taskmaster to claude-code provider (no API key required)
- Add 7 phase tasks (83-89) tracking the full rewrite plan

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Chaim
2026-04-11 13:47:05 +00:00
parent a8b79822bf
commit 64724656af
24 changed files with 7752 additions and 82 deletions

27
web-ui/src/app/page.tsx Normal file
View File

@@ -0,0 +1,27 @@
import { AppShell } from "@/components/app-shell";
export default function HomePage() {
return (
<AppShell>
<section className="space-y-6">
<header className="space-y-2">
<h1 className="text-navy">עוזר משפטי</h1>
<p className="text-ink-muted text-base max-w-2xl">
מערכת סיוע בניסוח החלטות לוועדת ערר לתכנון ובנייה ניהול תיקים, חיפוש
סמנטי, וכלי כתיבה לפי ארכיטקטורת 12 הבלוקים.
</p>
</header>
<hr className="border-0 h-[2px] bg-gradient-to-l from-transparent via-gold to-transparent" />
<div className="rounded-lg bg-surface shadow-sm p-6 border border-rule">
<p className="text-ink">
שלב 1 של תוכנית השדרוג הושלם: scaffold של Next.js 16, פורט של design
tokens ל-Tailwind v4, RTL עברית עם Heebo. הפאזות הבאות יביאו את 10
המסכים ל-parity עם ה-UI הקיים.
</p>
</div>
</section>
</AppShell>
);
}