From 123ee14461370ced80906e8913246125c47674d8 Mon Sep 17 00:00:00 2001 From: colinislit Date: Sun, 23 Nov 2025 09:55:46 +0100 Subject: [PATCH] chore: self-host fonts and log ops fixes --- app/layout.tsx | 63 +++++++++++++++++++++++++++++++++-------- docs/release/ops-log.md | 12 ++++++++ 2 files changed, 63 insertions(+), 12 deletions(-) create mode 100644 docs/release/ops-log.md diff --git a/app/layout.tsx b/app/layout.tsx index 95e60be..7bcca0a 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,30 +1,69 @@ import type { Metadata } from "next"; -import { Crimson_Text, Inter, JetBrains_Mono } from "next/font/google"; +import localFont from "next/font/local"; import "./globals.css"; -// Serif font voor long-form content (manifesto) -const crimsonText = Crimson_Text({ +// Serif font voor long-form content (manifesto) - lokaal geladen om build zonder netwerk te laten slagen +const crimsonText = localFont({ variable: "--font-serif", - subsets: ["latin"], - weight: ["400", "600"], display: "swap", - preload: true, + src: [ + { + path: "../docs/fonts/Lora-Regular.woff2", + weight: "400", + style: "normal", + }, + { + path: "../docs/fonts/Lora-Italic.woff2", + weight: "400", + style: "italic", + }, + { + path: "../docs/fonts/Lora-SemiBold.woff2", + weight: "600", + style: "normal", + }, + ], }); // Sans-serif font voor UI, nav, metadata -const inter = Inter({ +const inter = localFont({ variable: "--font-sans", - subsets: ["latin"], display: "swap", - preload: true, + src: [ + { + path: "../docs/fonts/source-sans-3-v18-latin-regular.woff2", + weight: "400", + style: "normal", + }, + { + path: "../docs/fonts/source-sans-3-v18-latin-600.woff2", + weight: "600", + style: "normal", + }, + { + path: "../docs/fonts/source-sans-3-v18-latin-600italic.woff2", + weight: "600", + style: "italic", + }, + ], }); // Mono font voor tech details, numbers -const jetBrainsMono = JetBrains_Mono({ +const jetBrainsMono = localFont({ variable: "--font-mono", - subsets: ["latin"], display: "swap", - preload: true, + src: [ + { + path: "../docs/fonts/source-code-pro-v30-latin-regular.woff2", + weight: "400", + style: "normal", + }, + { + path: "../docs/fonts/source-code-pro-v30-latin-600.woff2", + weight: "600", + style: "normal", + }, + ], }); export const metadata: Metadata = { diff --git a/docs/release/ops-log.md b/docs/release/ops-log.md new file mode 100644 index 0000000..e00edec --- /dev/null +++ b/docs/release/ops-log.md @@ -0,0 +1,12 @@ +## 2025-11-23 — Clients → Patients datafix + seeds (Colin) +- Clients die na de hoofdrelease nog in `clients` stonden opgespoord met `clients LEFT JOIN patients` sanity check (Supabase SQL editor) +- Idempotente blok uit `20241121_migrate_legacy_to_fhir.sql` opnieuw gedraaid zodat alle ontbrekende clients nu als patients bestaan +- Verification DO-block uitgevoerd zodat de teller op 0 missing clients staat en de migratie gelogd +- Default organisatie opnieuw gezaaid met `pnpm tsx scripts/seed-organization.ts` (env geladen via `.env.local`) + +## 2026-02-XX — Screening Intake Fase 1 & 2 (Colin) +- TipTap placeholder hints toegevoegd + styled zodat behandeladvies-sectie guidance toont +- Metadata-sectie, afrondingsworkflow en behandelaarselecties bouwden de behandeladvies-tab af +- Intake-tabs (contact, kindcheck, risico, anamnese, onderzoeken/ROM, diagnose, behandeladvies) compleet met Supabase CRUD +- Status dropdowns gecorrigeerd (bezig/afgerond) en dokument flows afgerond +- Supabase migratiestappen wachten nog op einde maintenance (fase 0 runbook ligt klaar)