diff --git a/README.md b/README.md
index 2af98a4..8eb6cae 100644
--- a/README.md
+++ b/README.md
@@ -45,6 +45,8 @@ or run `npm run eid:bridge:mock` for a virtual reader through the real bridge.
| `components/eid-reader.tsx` | Status and card data (`useEid()`) |
| `lib/eid-client.ts` | Picks the real bridge or the virtual card (`?mock=1`) |
| `lib/eid-view.ts` | Turns card data into what the page shows, with masking |
+| `app/download/page.tsx` | Download page for the Windows setup (`/download`) |
+| `lib/releasenotes.ts` | Release notes per version, in Dutch and French |
| `installer/eid-installer.json` | Websites baked into the setup |
| `scripts/build-exe.mjs` | Builds the eID program (`npm run build:exe`) |
| `scripts/build-installer.mjs` | Builds the Windows setup (`npm run build:installer`) |
@@ -76,6 +78,11 @@ Result: `public/downloads/projectx-eid-setup.exe` (+ `.sha256`). The app automat
"eID-programma installeren" button when the program is not running, pointing to this file (other
address: `NEXT_PUBLIC_EID_SETUP_URL`).
+**Download page.** `/download` (e.g. https://prod.dafkedd.be/download) offers the setup with version,
+size, SHA-256 and release notes, with an NL/FR language switch (also via `?lang=fr`). Version and setup
+come from the same image, so QA, ACC and production each show their own version. Release notes live in
+`lib/releasenotes.ts`; a test fails if the version in `package.json` is missing there in either language.
+
IT can deploy the setup silently: `projectx-eid-setup.exe /VERYSILENT /SUPPRESSMSGBOXES`
(see `packages/eid/docs/uitrollen.md`, in Dutch, for Intune and extra parameters).
@@ -138,6 +145,8 @@ Making a release:
npm run version:patch # or version:minor / version:major, on developer
```
+Then add the release notes for the new version to `lib/releasenotes.ts` (Dutch and French).
+
Commit, PR `developer → main`, then PR `main → release`. After the merge the pipeline runs. If the tag
already exists, no release is made.
diff --git a/README.nl.md b/README.nl.md
index 492bd8e..79eda7e 100644
--- a/README.nl.md
+++ b/README.nl.md
@@ -45,6 +45,8 @@ of start `npm run eid:bridge:mock` voor een virtuele lezer via de echte bridge.
| `components/eid-reader.tsx` | Status en kaartgegevens (`useEid()`) |
| `lib/eid-client.ts` | Kiest echte bridge of virtuele kaart (`?mock=1`) |
| `lib/eid-view.ts` | Zet kaartgegevens om naar wat de pagina toont, met afscherming |
+| `app/download/page.tsx` | Downloadpagina voor de Windows-setup (`/download`) |
+| `lib/releasenotes.ts` | Releasenotes per versie, in het Nederlands en het Frans |
| `installer/eid-installer.json` | Websites die in de setup worden ingebakken |
| `scripts/build-exe.mjs` | Bouwt het eID-programma (`npm run build:exe`) |
| `scripts/build-installer.mjs` | Bouwt de Windows-setup (`npm run build:installer`) |
@@ -76,6 +78,11 @@ Resultaat: `public/downloads/projectx-eid-setup.exe` (+ `.sha256`). De app toont
"eID-programma installeren" als het programma niet draait, en die wijst naar dit bestand (ander adres:
`NEXT_PUBLIC_EID_SETUP_URL`).
+**Downloadpagina.** Op `/download` (bv. https://prod.dafkedd.be/download) staat de setup met versie,
+grootte, SHA-256 en de releasenotes, met een taalwissel NL/FR (ook via `?lang=fr`). Versie en setup
+komen uit hetzelfde image, dus QA, ACC en productie tonen elk hun eigen versie. De releasenotes staan
+in `lib/releasenotes.ts`; een test faalt als de versie uit `package.json` er niet in beide talen in staat.
+
IT kan de setup stil uitrollen: `projectx-eid-setup.exe /VERYSILENT /SUPPRESSMSGBOXES`
(zie `packages/eid/docs/uitrollen.md` voor Intune en extra parameters).
@@ -139,6 +146,8 @@ Een release maken:
npm run version:patch # of version:minor / version:major, op developer
```
+Vul daarna de releasenotes voor de nieuwe versie aan in `lib/releasenotes.ts` (Nederlands en Frans).
+
Commit, PR `developer → main`, daarna PR `main → release`. Na de merge loopt de straat. Bestaat de tag
al, dan wordt er geen release gemaakt.
diff --git a/app/download/page.tsx b/app/download/page.tsx
new file mode 100644
index 0000000..8d5c7b4
--- /dev/null
+++ b/app/download/page.tsx
@@ -0,0 +1,29 @@
+import type { Metadata } from "next";
+import { DownloadCard } from "@/components/download-card";
+import { formatSize, setupInfo } from "@/lib/download";
+import { RELEASE_NOTES } from "@/lib/releasenotes";
+import pkg from "@/package.json";
+
+export const metadata: Metadata = {
+ title: "ProjectX eID downloaden",
+ description: "Download het eID-programma voor Windows · Téléchargez le programme eID pour Windows",
+};
+
+// Bij het bouwen vastgelegd: versie, grootte en controlesom van de setup die in het image zit.
+export const dynamic = "force-static";
+
+export default function DownloadPage() {
+ const setup = setupInfo(pkg.version);
+ return (
+
+
+
+ );
+}
diff --git a/app/globals.css b/app/globals.css
index dafee9d..16d69ec 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -96,3 +96,29 @@ a.button {
color: var(--panel);
text-decoration: none;
}
+
+/* Downloadpagina (/download) */
+.dl-page { display: flex; flex-direction: column; gap: 0; }
+.dl-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
+.dl-brand { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; color: var(--fg); text-decoration: none; }
+.dl-lang { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); }
+.dl-lang button { padding: 4px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
+.dl-lang button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
+.dl-card { max-width: 440px; width: 100%; margin: 24px auto 0; padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
+.dl-card h1 { margin-top: 8px; }
+.dl-card p { margin: 0; }
+.dl-version { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 12px !important; }
+.dl-version code { font-weight: 700; font-size: 1rem; }
+.dl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
+a.button.dl-button { display: block; width: 100%; padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
+a.button.dl-button:hover { filter: brightness(1.08); }
+.dl-meta { width: 100%; margin-top: 14px; text-align: left; }
+.dl-meta dt { flex: 0 0 80px; }
+.dl-meta dd { min-width: 0; overflow-wrap: anywhere; }
+.dl-notes { max-width: 440px; width: 100%; margin: 16px auto 0; }
+.dl-notes h2 { margin: 0 0 4px; font-size: 1.1rem; }
+.dl-notes h3 { margin: 12px 0 4px; font-size: 0.95rem; }
+.dl-notes ul { margin: 0; padding-left: 20px; }
+.dl-notes li { margin: 2px 0; }
+.dl-notes summary { cursor: pointer; margin-top: 12px; color: var(--accent); }
+.dl-notes code { overflow-wrap: anywhere; }
diff --git a/app/page.tsx b/app/page.tsx
index 6643821..1e4d84c 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -6,7 +6,7 @@ export default function Home() {
ProjectX eID
Steek je Belgische eID in de kaartlezer. Geen lezer bij de hand? Open /?mock=1 voor een
- virtuele kaart.
+ virtuele kaart. Het eID-programma voor Windows vind je op /download.
diff --git a/components/download-card.tsx b/components/download-card.tsx
new file mode 100644
index 0000000..d6c6695
--- /dev/null
+++ b/components/download-card.tsx
@@ -0,0 +1,129 @@
+"use client";
+
+import { useEffect, useState } from "react";
+import { DOWNLOAD_TEXT, LANGS, formatNoteDate, pickLang, type Lang } from "@/lib/download-text";
+import type { ReleaseNote } from "@/lib/releasenotes";
+
+export interface DownloadCardProps {
+ version: string;
+ url: string;
+ fileName: string;
+ /** Al opgemaakt, bv. "4,2 MB". */
+ size?: string;
+ sha256?: string;
+ notes: ReleaseNote[];
+}
+
+function Logo() {
+ return (
+
+ );
+}
+
+function Notes({ note, lang }: { note: ReleaseNote; lang: Lang }) {
+ return (
+ <>
+