Files
triqura-ecd/app/layout.tsx
colinislit 75c7e284b9 feat(verpleegrapportage): Nieuwe module + opruiming codebase
Verpleegrapportage module:
- Nieuwe /epd/verpleegrapportage met patiëntenoverzicht
- Rapportage invoer workspace met timeline view
- Overdracht overzicht met AI-samenvatting
- API endpoints voor verpleegrapportage data

Opruiming:
- Oude /epd/overdracht en /epd/dagregistratie verwijderd (vervangen)
- Oude /api/nursing-logs verwijderd (geconsolideerd naar reports)
- Verouderde design docs en reports verwijderd
- Fonts verplaatst van docs/ naar public/fonts/

Bugfixes:
- Risk-manager: fix constraint violation (db values vs display labels)
- Overdracht API: filter op rapportages i.p.v. encounters

Database:
- Migratie voor consolidatie nursing_logs naar reports tabel

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-08 11:19:48 +01:00

178 lines
4.1 KiB
TypeScript

import type { Metadata } from "next";
import localFont from "next/font/local";
import "./globals.css";
import { Toaster } from '@/components/ui/toaster';
// Serif font voor long-form content (manifesto)
const loraFont = localFont({
variable: "--font-serif",
display: "swap",
src: [
{
path: "../public/fonts/Lora-Regular.woff2",
weight: "400",
style: "normal",
},
{
path: "../public/fonts/Lora-Italic.woff2",
weight: "400",
style: "italic",
},
{
path: "../public/fonts/Lora-SemiBold.woff2",
weight: "600",
style: "normal",
},
],
});
// Sans-serif font voor UI, nav, metadata
const robotoFont = localFont({
variable: "--font-sans",
display: "swap",
src: [
{
path: "../public/fonts/roboto-v47-latin-regular.woff2",
weight: "400",
style: "normal",
},
{
path: "../public/fonts/roboto-v47-latin-500.woff2",
weight: "500",
style: "normal",
},
{
path: "../public/fonts/roboto-v47-latin-600.woff2",
weight: "600",
style: "normal",
},
{
path: "../public/fonts/roboto-v47-latin-italic.woff2",
weight: "400",
style: "italic",
},
{
path: "../public/fonts/roboto-v47-latin-500italic.woff2",
weight: "500",
style: "italic",
},
{
path: "../public/fonts/roboto-v47-latin-600italic.woff2",
weight: "600",
style: "italic",
},
],
});
// Mono font voor tech details, numbers
const sourceCodeProFont = localFont({
variable: "--font-mono",
display: "swap",
src: [
{
path: "../public/fonts/source-code-pro-v30-latin-regular.woff2",
weight: "400",
style: "normal",
},
{
path: "../public/fonts/source-code-pro-v30-latin-600.woff2",
weight: "600",
style: "normal",
},
],
});
export const metadata: Metadata = {
metadataBase: new URL(process.env.NEXT_PUBLIC_APP_URL || 'https://aispeedrun.vercel.app'),
title: {
default: 'AI Speedrun - Software on Demand',
template: '%s | AI Speedrun',
},
description: 'Jensen Huang: "AI is going to eat software". Een experiment: bouw een EPD in 4 weken voor €200.',
keywords: ['AI', 'Software on Demand', 'EPD', 'Development', 'Build in Public'],
authors: [{ name: 'Colin van der Heijden', url: 'https://ikbenlit.nl' }],
creator: 'Colin van der Heijden',
publisher: 'AI Speedrun',
icons: {
icon: [
{ url: '/images/aispeedrun-logo.webp', type: 'image/webp' },
],
apple: '/images/aispeedrun-logo.webp',
},
formatDetection: {
email: false,
address: false,
telephone: false,
},
robots: {
index: true,
follow: true,
googleBot: {
index: true,
follow: true,
'max-video-preview': -1,
'max-image-preview': 'large',
'max-snippet': -1,
},
},
openGraph: {
type: 'website',
locale: 'nl_NL',
siteName: 'AI Speedrun',
},
twitter: {
card: 'summary_large_image',
},
};
const siteUrl = process.env.NEXT_PUBLIC_APP_URL || 'https://aispeedrun.vercel.app'
const jsonLd = {
'@context': 'https://schema.org',
'@graph': [
{
'@type': 'Organization',
'@id': `${siteUrl}/#organization`,
name: 'AI Speedrun',
url: siteUrl,
description: 'AI-powered EPD development experiment - bouw een EPD in 4 weken voor €200',
founder: {
'@type': 'Person',
name: 'Colin van der Heijden',
url: 'https://ikbenlit.nl',
},
},
{
'@type': 'WebSite',
'@id': `${siteUrl}/#website`,
url: siteUrl,
name: 'AI Speedrun',
publisher: { '@id': `${siteUrl}/#organization` },
inLanguage: 'nl-NL',
},
],
}
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="nl">
<head>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
/>
</head>
<body
className={`${loraFont.variable} ${robotoFont.variable} ${sourceCodeProFont.variable} antialiased`}
>
{children}
<Toaster />
</body>
</html>
);
}