chore(strip): fase 0 — verwijder marketing, leads, archive en sitemap

Prototype-ballast verwijderd als eerste stap van de ECD-rebuild:
- app/(marketing) incl. blog, contact, documentatie + lib/mdx, lib/content, content/
- /api/leads en publieke marketing-routes uit middleware
- app/epd/_archive (backup van clients-module)
- sitemap.ts (verwees alleen naar blog), globals.css.backup
- root / redirect naar /login; robots.txt op disallow-all (afgeschermd systeem)

FHIR-routes blijven bewust staan: /api/fhir/Patient is de facto de
patienten-API voor dossier, agenda en Cortex — vervangen volgt in fase 3.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
colinislit
2026-07-14 22:21:20 +02:00
parent c0a4fa24f2
commit 10c994b252
109 changed files with 8 additions and 14533 deletions

View File

@@ -1,36 +1,18 @@
/**
* Robots.txt Generator
*
* Generates robots.txt for SEO.
* Next.js will automatically serve this at /robots.txt
*
* ECD is een afgeschermd systeem — zoekmachines mogen niets indexeren.
*/
import type { MetadataRoute } from 'next'
export default function robots(): MetadataRoute.Robots {
const baseUrl = process.env.NEXT_PUBLIC_APP_URL || 'https://aispeedrun.vercel.app'
return {
rules: [
{
userAgent: '*',
allow: '/',
disallow: [
'/api/',
'/_next/',
'/admin/',
],
},
{
userAgent: 'Googlebot',
allow: '/',
disallow: [
'/api/',
'/_next/',
],
disallow: '/',
},
],
sitemap: `${baseUrl}/sitemap.xml`,
}
}