diff --git a/design/Helder App v2.dc.html b/design/Helder App v2.dc.html index cb84306..ccc577f 100644 --- a/design/Helder App v2.dc.html +++ b/design/Helder App v2.dc.html @@ -316,6 +316,141 @@ + + +
+
+ [ schema ] + mysql · odynt + {{ sMeta }} + + + + +
+
+ +
+
+ + +
+
{{ sListLabel }}
+
+ + + +
+
+
+
+ +
+
+ [ no dump yet ] +
— Helder draws the schema from storage/helder/schema.json. Run the command to write it.
+
+ + $ php artisan helder:schema +
+
+
+
+ +
+ {{ sEdgesEl }} + +
+
+ {{ t.name }} + {{ t.rows }} +
+ +
+ {{ c.key }} + {{ c.n }} + {{ c.t }} +
+
+
+
+
+
drag to pan · ⌘ scroll to zoom · hover a table or a key to trace it · click to inspect
+
+ + {{ sZoomPct }} + + +
+
+
+ +
+
+ {{ selName }} + {{ selRows }} + +
+
+
+
[ columns ] {{ selColCount }}
+ +
+ {{ c.n }} + {{ c.t }} + {{ c.flag }} +
+
+
+ +
+
[ belongs to ]
+ + + +
+
+ +
+
[ has many ]
+ + + +
+
+ +
— No foreign keys in or out.
+
+
+
+ + +
+
+
+
+ +
+
+ [ console ] artisan + + +
+
+
+ +
{{ l.t }}
+
+
+
+
+
+
+
+
@@ -808,6 +943,46 @@ exit($status);`); Expertise infrastructure for independent experts. Run \`composer run dev\` and open https://odynt.test.`); + put('app/Console/Commands/HelderSchemaCommand.php', `option('connection') ?? config('database.default'); + $schema = Schema::connection($connection); + + $tables = collect($schema->getTables()) + ->reject(fn ($t) => in_array($t['name'], ['migrations', 'jobs', 'cache', 'sessions'])) + ->map(fn ($t) => [ + 'name' => $t['name'], + 'columns' => $schema->getColumns($t['name']), + 'indexes' => $schema->getIndexes($t['name']), + 'foreign_keys' => $schema->getForeignKeys($t['name']), + ])->values(); + + File::ensureDirectoryExists(storage_path('helder')); + File::put(storage_path('helder/schema.json'), json_encode([ + 'connection' => $connection, + 'generated_at' => now()->toIso8601String(), + 'tables' => $tables, + ], JSON_PRETTY_PRINT)); + + $this->components->info('Schema dumped to storage/helder/schema.json'); + + return self::SUCCESS; + } +}`); put('vite.config.js', `import { defineConfig } from 'vite'; import laravel from 'laravel-vite-plugin'; @@ -843,6 +1018,7 @@ AI_MODEL=claude-opus-5-5`); { t: 'Environment reset and seeded successfully.', c: '#8FBFB4' } ], termInput: '', history: [], commits: [], ahead: 0, commitMsg: '', note: '', + schemaOpen: false, schema: null, sPos: {}, sView: { x: 0, y: 0, k: 1 }, sHover: null, sCol: null, sSel: null, sQ: '', slog: [], slogOpen: true, sBusy: false, sDumped: null, sDragging: null, gitOpen: false, gitSec: {}, branches: [BR, 'main', 'ontwikkeling/2026-09-28-004-vault-sharing'], remotes: ['main', BR, 'ontwikkeling/2026-09-28-004-vault-sharing', 'ontwikkeling/2026-10-02-005-mcp-rate-limits', 'release/2026.10'], gitOpenFiles: [], behind: 2, pulled: false, gBusy: null, gInput: '', gHist: [], glog: [{ t: '$ git fetch origin', c: '#F4F5F4' }, { t: 'From github.com:blijnder/odynt', c: '#BAC0C0' }, { t: ' 4be21a9..7a1e0f2 ' + BR + ' -> origin/' + BR, c: '#BAC0C0' }] }; @@ -986,8 +1162,169 @@ return [ push() { const a = this.state.ahead; if (!a) { this.toast('— Nothing to push. Branch is up to date.'); return; } this.setState({ ahead: 0 }); this.toast('Pushed ' + a + (a === 1 ? ' commit' : ' commits') + ' to origin/' + this.state.BR); } openDiff(p) { this.setState({ menu: null, diffPath: p }); } + // ---------- schema (full screen, only when the app has helder:schema) ---------- + CMD = 'app/Console/Commands/HelderSchemaCommand.php'; + hasSchemaCmd() { const f = this.state.files[this.CMD]; return !!(f && f.content !== null); } + toggleSchema() { const o = !this.state.schemaOpen; this.setState({ schemaOpen: o, gitOpen: false, menu: null }); } + schemaData() { + const T = [ + [0, 'team_user', 1590, 'id:bigint:pk|team_id:bigint:fk=teams|user_id:bigint:fk=users|role:varchar(32)|created_at:timestamp:null'], + [0, 'mcp_tokens', 88, 'id:bigint:pk|user_id:bigint:fk=users|agent_id:bigint:fk=agents:null|name:varchar(255)|token_hash:char(64):uq|last_used_at:timestamp:null|revoked_at:timestamp:null|created_at:timestamp:null'], + [1, 'users', 1284, 'id:bigint:pk|name:varchar(255)|email:varchar(255):uq|email_verified_at:timestamp:null|password:varchar(255)|current_team_id:bigint:fk=teams:null|created_at:timestamp:null|updated_at:timestamp:null'], + [1, 'teams', 312, 'id:bigint:pk|user_id:bigint:fk=users|name:varchar(255)|personal_team:bool|created_at:timestamp:null|updated_at:timestamp:null'], + [2, 'agents', 146, 'id:bigint:pk|team_id:bigint:fk=teams|name:varchar(255)|slug:varchar(255):uq|model:varchar(64)|system_prompt:text|compression:varchar(16)|cache_history:bool|created_at:timestamp:null|updated_at:timestamp:null'], + [2, 'agent_vault', 402, 'agent_id:bigint:fk=agents|vault_id:bigint:fk=vaults|usage_scope:varchar(16)'], + [2, 'conversations', 9812, 'id:bigint:pk|agent_id:bigint:fk=agents|user_id:bigint:fk=users|title:varchar(255):null|created_at:timestamp:null|updated_at:timestamp:null'], + [2, 'messages', 214330, 'id:bigint:pk|conversation_id:bigint:fk=conversations|role:varchar(16)|content:longtext|input_tokens:int:null|output_tokens:int:null|cache_read_tokens:int:null|created_at:timestamp:null'], + [3, 'vaults', 97, 'id:bigint:pk|team_id:bigint:fk=teams|name:varchar(255)|mcp_accessible:bool|created_at:timestamp:null|updated_at:timestamp:null'], + [3, 'vault_documents', 3410, 'id:bigint:pk|vault_id:bigint:fk=vaults|title:varchar(255)|path:varchar(255)|mime:varchar(64)|bytes:int|created_at:timestamp:null'], + [3, 'document_chunks', 61207, 'id:bigint:pk|vault_document_id:bigint:fk=vault_documents|position:int|content:text|embedding:vector(1536)'], + [4, 'flows', 54, 'id:bigint:pk|team_id:bigint:fk=teams|name:varchar(255)|trigger:varchar(32)|created_at:timestamp:null|updated_at:timestamp:null'], + [4, 'flow_steps', 211, 'id:bigint:pk|flow_id:bigint:fk=flows|agent_id:bigint:fk=agents|position:int|instructions:text'], + [4, 'flow_runs', 7020, 'id:bigint:pk|flow_id:bigint:fk=flows|user_id:bigint:fk=users:null|status:varchar(16)|started_at:timestamp|finished_at:timestamp:null'], + [4, 'flow_connector', 61, 'flow_id:bigint:fk=flows|connector_id:bigint:fk=connectors'], + [4, 'connectors', 39, 'id:bigint:pk|team_id:bigint:fk=teams|type:varchar(32)|name:varchar(255)|credentials:text|created_at:timestamp:null'] + ]; + const tables = [], edges = [], pos = {}, laneY = [0, 0, 0, 0, 0], lane = {}; + T.forEach(([ln, name, rows, spec]) => { + const cols = spec.split('|').map(c => { const [n, t, ...f] = c.split(':'); const fk = (f.find(x => x.startsWith('fk=')) || '').slice(3) || null; return { n, t, pk: f.includes('pk'), uq: f.includes('uq'), nul: f.includes('null'), fk }; }); + cols.forEach((c, ci) => { if (c.fk) edges.push({ from: name, col: c.n, ci, to: c.fk }); }); + tables.push({ name, rows, cols }); lane[name] = ln; pos[name] = { x: 40 + ln * 340, y: laneY[ln] }; laneY[ln] += 35 + cols.length * 22 + 48; + }); + const maxH = Math.max(...laneY); + tables.forEach(t => { pos[t.name].y += 40 + Math.round((maxH - laneY[lane[t.name]]) / 2); }); + return { schema: { tables, edges }, pos }; + } + sTmap() { const m = {}; (this.state.schema ? this.state.schema.tables : []).forEach(t => { m[t.name] = t; }); return m; } + sPath(e, pos, tm) { + const W = 240, a = pos[e.from], b = pos[e.to], bi = Math.max(0, tm[e.to].cols.findIndex(c => c.pk)); + const y1 = a.y + 45 + e.ci * 22, y2 = b.y + 45 + bi * 22, ac = a.x + W / 2, bc = b.x + W / 2; + let x1, x2, c1, c2; + if (Math.abs(ac - bc) < W) { x1 = a.x + W; x2 = b.x + W; const o = 46 + Math.abs(y2 - y1) * 0.12; c1 = x1 + o; c2 = x2 + o; } + else if (bc > ac) { x1 = a.x + W; x2 = b.x; const d = Math.max(40, (x2 - x1) / 2); c1 = x1 + d; c2 = x2 - d; } + else { x1 = a.x; x2 = b.x + W; const d = Math.max(40, (x1 - x2) / 2); c1 = x1 - d; c2 = x2 + d; } + return { d: 'M' + x1 + ',' + y1 + ' C' + c1 + ',' + y1 + ' ' + c2 + ',' + y2 + ' ' + x2 + ',' + y2, x1, y1, x2, y2 }; + } + sBounds() { + const P = this.state.sPos; let x0 = Infinity, y0 = Infinity, x1 = -Infinity, y1 = -Infinity; + this.state.schema.tables.forEach(t => { const p = P[t.name]; x0 = Math.min(x0, p.x); y0 = Math.min(y0, p.y); x1 = Math.max(x1, p.x + 240); y1 = Math.max(y1, p.y + 35 + t.cols.length * 22); }); + return { x0, y0, x1, y1 }; + } + sRect() { return this._sc ? this._sc.getBoundingClientRect() : null; } + sFit() { + const r = this.sRect(); if (!r || !this.state.schema) return; + const b = this.sBounds(), bw = b.x1 - b.x0 + 60, bh = b.y1 - b.y0; + const k = Math.min(1.1, Math.max(0.3, Math.min((r.width - 96) / bw, (r.height - 96) / bh))); + this.setState({ sView: { k, x: (r.width - bw * k) / 2 - b.x0 * k, y: (r.height - bh * k) / 2 - b.y0 * k } }); + } + sZoom(f, mx, my) { + const r = this.sRect(); if (!r) return; const v = this.state.sView, k = Math.min(2, Math.max(0.3, v.k * f)); + if (mx == null) { mx = r.width / 2; my = r.height / 2; } + this.setState({ sView: { k, x: mx - (mx - v.x) * k / v.k, y: my - (my - v.y) * k / v.k } }); + } + sCenter(name) { + const r = this.sRect(), t = this.sTmap()[name]; if (!r || !t) return; + const p = this.state.sPos[name], k = this.state.sView.k, w = r.width - (this.state.sSel ? 0 : 320); + this.setState({ sSel: name, sHover: null, sView: { k, x: Math.round(w / 2 - (p.x + 120) * k), y: Math.round(r.height / 2 - (p.y + (35 + t.cols.length * 22) / 2) * k) } }); + } + schemaCanvasRef = el => { + if (this._sc && this._sc !== el) this._sc.removeEventListener('wheel', this.onSchemaWheel); + if (el && el !== this._sc) el.addEventListener('wheel', this.onSchemaWheel, { passive: false }); + this._sc = el; + }; + onSchemaWheel = ev => { + if (!this.state.schema) return; ev.preventDefault(); + const r = this.sRect(), v = this.state.sView; + if (ev.ctrlKey || ev.metaKey) this.sZoom(Math.exp(-ev.deltaY * 0.01), ev.clientX - r.left, ev.clientY - r.top); + else this.setState({ sView: { ...v, x: v.x - ev.deltaX, y: v.y - ev.deltaY } }); + }; + sDown(ev, name) { + if (ev.button !== 0 || !this.state.schema) return; ev.stopPropagation(); + const v = this.state.sView, p = name && this.state.sPos[name]; + this.sDrag = name ? { mode: 't', name, sx: ev.clientX, sy: ev.clientY, ox: p.x, oy: p.y, moved: false } : { mode: 'p', sx: ev.clientX, sy: ev.clientY, vx: v.x, vy: v.y, moved: false }; + window.addEventListener('mousemove', this.sMove); window.addEventListener('mouseup', this.sUp); + } + sMove = ev => { + const d = this.sDrag; if (!d) return; const dx = ev.clientX - d.sx, dy = ev.clientY - d.sy; + if (!d.moved) { if (Math.abs(dx) + Math.abs(dy) < 4) return; d.moved = true; this.setState({ sDragging: d.mode }); } + if (d.mode === 't') { const k = this.state.sView.k; this.setState(s => ({ sPos: { ...s.sPos, [d.name]: { x: Math.round(d.ox + dx / k), y: Math.round(d.oy + dy / k) } } })); } + else this.setState(s => ({ sView: { ...s.sView, x: d.vx + dx, y: d.vy + dy } })); + }; + sUp = () => { + window.removeEventListener('mousemove', this.sMove); window.removeEventListener('mouseup', this.sUp); + const d = this.sDrag; this.sDrag = null; if (!d) return; + if (!d.moved) this.setState(s => ({ sSel: d.mode === 't' ? (s.sSel === d.name ? null : d.name) : null })); + this.setState({ sDragging: null }); + }; + schemaRun() { + if (this.state.sBusy) return; + const sp = this.speed(), { schema, pos } = this.schemaData(), nc = schema.tables.reduce((a, t) => a + t.cols.length, 0); + const add = (t, c) => this.setState(x => ({ slog: [...x.slog, { t, c: c || '#BAC0C0' }].slice(-200) })); + this.setState(x => ({ sBusy: true, slogOpen: true, slog: [...x.slog, { t: '$ php artisan helder:schema', c: '#F4F5F4' }] })); + [[260, ' Connection ............................ mysql · odynt'], [520, ' Tables ................................ ' + schema.tables.length], [700, ' Columns ............................... ' + nc], [880, ' Foreign keys .......................... ' + schema.edges.length], [1100, ' Wrote storage/helder/schema.json (18.4 KB)', '#8FBFB4']].forEach(([ms, t, c]) => this.later(() => add(t, c), ms * sp)); + this.later(() => { + const first = !this.state.schema, d = new Date(), hm = String(d.getHours()).padStart(2, '0') + ':' + String(d.getMinutes()).padStart(2, '0'); + add(' DONE Schema dumped in 0.41s.', '#8FBFB4'); + this.setState(x => ({ sBusy: false, schema, sPos: first ? pos : x.sPos, sDumped: hm })); + this.toast('Schema dumped · ' + schema.tables.length + ' tables'); + if (first) this.later(() => this.sFit(), 30); + }, 1300 * sp); + } + schemaVals() { + const s = this.state, sc = s.schema, fmt = n => n.toLocaleString('en-US'); + const base = { + schemaOpen: s.schemaOpen && this.hasSchemaCmd(), closeSchema: () => this.setState({ schemaOpen: false }), + runSchema: () => this.schemaRun(), sRunLabel: s.sBusy ? 'Dumping…' : (sc ? 'Re-run helder:schema' : 'Run helder:schema'), + openSchemaCmd: () => { this.setState({ schemaOpen: false }); this.open(this.CMD); }, + schemaCanvasRef: this.schemaCanvasRef, sBgDown: ev => this.sDown(ev, null), sStop: ev => ev.stopPropagation(), + hasSchema: !!sc, noSchema: !sc, sCursor: s.sDragging === 'p' ? 'grabbing' : (sc ? 'grab' : 'default'), + slogLines: s.slog.map(l => ({ t: l.t, color: l.c })), hasSlog: s.slog.length > 0 && s.slogOpen, hideSlog: () => this.setState({ slogOpen: false }), + sQ: s.sQ, onSQ: ev => this.setState({ sQ: ev.target.value }) + }; + if (!sc) return { ...base, sMeta: 'no dump yet', sTables: [], sList: [], sListLabel: '', sEdgesEl: null, sHasSel: false, sTransform: 'none', sZoomPct: '100%' }; + const tm = this.sTmap(), P = s.sPos, q = s.sQ.trim().toLowerCase(), match = n => !!q && n.includes(q); + const focus = s.sHover || s.sSel, colF = s.sCol; + const act = e => colF ? e.from + '.' + e.col === colF : !!focus && (e.from === focus || e.to === focus); + const active = sc.edges.filter(act), rel = new Set(); active.forEach(e => { rel.add(e.from); rel.add(e.to); }); if (focus) rel.add(focus); + const dimAll = !!(focus || colF), h = React.createElement, b = this.sBounds(); + const sorted = [...sc.edges].sort((x, y) => act(x) - act(y)); + const sEdgesEl = h('svg', { width: Math.max(1, b.x1 + 120), height: Math.max(1, b.y1 + 120), style: { position: 'absolute', left: 0, top: 0, overflow: 'visible', pointerEvents: 'none' } }, + sorted.map(e => { const g = this.sPath(e, P, tm), on = act(e), col = on ? '#E8913A' : (dimAll || q ? '#232C39' : '#3A424C'), w = on ? 1.75 : 1.25; + return h('g', { key: e.from + '.' + e.col }, h('path', { d: g.d, fill: 'none', stroke: col, strokeWidth: w }), h('circle', { cx: g.x1, cy: g.y1, r: 3, fill: '#101720', stroke: col, strokeWidth: 1.5 }), h('circle', { cx: g.x2, cy: g.y2, r: 3, fill: col })); })); + const sTables = sc.tables.map(t => { + const n = t.name, isF = n === focus, op = dimAll ? (rel.has(n) ? 1 : 0.3) : (q ? (match(n) ? 1 : 0.3) : 1); + return { name: n, x: P[n].x, y: P[n].y, op, rows: fmt(t.rows), cursor: s.sDragging === 't' ? 'grabbing' : 'pointer', + border: isF ? '#E8913A' : s.sSel === n ? '#C4741F' : rel.has(n) ? '#6C7783' : match(n) ? '#F0B476' : '#232C39', + headBg: isF || s.sSel === n ? 'rgba(232,145,58,.10)' : '#18202B', nameColor: isF || s.sSel === n ? '#F4F5F4' : '#E4E7E6', + onDown: ev => this.sDown(ev, n), onEnter: () => { if (!s.sDragging) this.setState({ sHover: n }); }, onLeave: () => this.setState({ sHover: null, sCol: null }), + cols: t.cols.map(c => { const hl = active.some(e => (e.from === n && e.col === c.n) || (e.to === n && c.pk)); + return { n: c.n, t: c.t + (c.nul ? '?' : ''), key: c.pk ? 'PK' : c.fk ? 'FK' : c.uq ? 'UQ' : '', + keyColor: hl ? '#E8913A' : c.pk ? '#F0B476' : '#828D9A', nameColor: hl ? '#F4F5F4' : (c.pk || c.fk) ? '#E4E7E6' : '#BAC0C0', bg: hl ? 'rgba(232,145,58,.10)' : 'transparent', + onEnter: c.fk ? () => { if (!s.sDragging) this.setState({ sCol: n + '.' + c.n }); } : undefined, onLeave: c.fk ? () => this.setState({ sCol: null }) : undefined }; }) }; + }); + const listed = sc.tables.filter(t => !q || match(t.name)).sort((x, y) => x.name.localeCompare(y.name)); + const sList = listed.map(t => { const n = t.name, on = n === s.sSel, hv = n === focus; + return { name: n, rows: fmt(t.rows), bar: on ? '#E8913A' : 'transparent', bg: on ? 'rgba(232,145,58,.10)' : hv ? '#1F2834' : 'transparent', color: on || hv ? '#F4F5F4' : rel.has(n) && dimAll ? '#E4E7E6' : '#BAC0C0', + onClick: () => this.sCenter(n), onEnter: () => this.setState({ sHover: n }), onLeave: () => this.setState({ sHover: null }) }; }); + const sel = s.sSel && tm[s.sSel], relRow = (table, via) => ({ table, via, onClick: () => this.sCenter(table), onEnter: () => this.setState({ sHover: table }), onLeave: () => this.setState({ sHover: null }) }); + const out = sel ? sc.edges.filter(e => e.from === sel.name).map(e => relRow(e.to, e.col)) : [], inn = sel ? sc.edges.filter(e => e.to === sel.name).map(e => relRow(e.from, e.col)) : []; + return { ...base, + sMeta: 'dumped ' + s.sDumped + ' · ' + sc.tables.length + ' tables · ' + sc.edges.length + ' relations', sEdgesEl, sTables, sList, + sListLabel: q ? '[ tables ] ' + listed.length + ' of ' + sc.tables.length : '[ tables ] ' + sc.tables.length, + onSQKey: ev => { if (ev.key === 'Enter' && listed.length) this.sCenter(listed[0].name); else if (ev.key === 'Escape') { ev.stopPropagation(); this.setState({ sQ: '' }); } }, + sTransform: 'translate(' + s.sView.x + 'px, ' + s.sView.y + 'px) scale(' + s.sView.k + ')', sZoomPct: Math.round(s.sView.k * 100) + '%', + sZoomIn: () => this.sZoom(1.2), sZoomOut: () => this.sZoom(1 / 1.2), sFitAll: () => this.sFit(), + sHasSel: !!sel, selName: sel ? sel.name : '', selRows: sel ? fmt(sel.rows) + ' rows' : '', selColCount: sel ? sel.cols.length : 0, + selCols: sel ? sel.cols.map(c => { const fl = [c.pk && 'PRIMARY', c.fk && 'FK → ' + c.fk + '.id', c.uq && 'UNIQUE', c.nul ? 'NULL' : 'NOT NULL'].filter(Boolean).join(' · '); return { n: c.n, t: c.t, flag: fl, flagColor: c.pk || c.fk ? '#F0B476' : '#6C7783' }; }) : [], + selOut: out, selIn: inn, selHasOut: out.length > 0, selHasIn: inn.length > 0, selNoRel: !!sel && !out.length && !inn.length, + closeSel: () => this.setState({ sSel: null }), + selPass: () => { const n = sel.name; this.setState({ schemaOpen: false }); this.passOn('@schema:' + n); }, + selCopy: () => this.copy(sel.name, 'Copied table name') + }; + } + // ---------- git (full screen) ---------- - toggleGit() { const o = !this.state.gitOpen; this.setState({ gitOpen: o, menu: null }); if (o) this.later(() => this.gitMsgRef.current && this.gitMsgRef.current.focus(), 40); } + toggleGit() { const o = !this.state.gitOpen; this.setState({ gitOpen: o, schemaOpen: false, menu: null }); if (o) this.later(() => this.gitMsgRef.current && this.gitMsgRef.current.focus(), 40); } glog_(cmd, out) { this.setState(s => ({ glog: [...s.glog, { t: '$ ' + cmd, c: '#F4F5F4' }, ...out.map(o => typeof o === 'string' ? { t: o, c: '#BAC0C0' } : o)].slice(-400) })); } glogAdd(out) { this.setState(s => ({ glog: [...s.glog, ...out.map(o => typeof o === 'string' ? { t: o, c: '#BAC0C0' } : o)].slice(-400) })); } gStage(ps, cmd) { @@ -1353,10 +1690,12 @@ Tell me to **bouw** it, or ask about one part.` else if (mod && k === '.') { e.preventDefault(); this.setState({ hidden: !s.hidden }); } else if (mod && k === 'l') { e.preventDefault(); this.setState({ fluid: !s.fluid }); } else if (mod && k === 'g') { e.preventDefault(); this.toggleGit(); } + else if (mod && k === 'd' && this.hasSchemaCmd()) { e.preventDefault(); this.toggleSchema(); } else if (mod && ['1', '2', '3'].includes(k)) { e.preventDefault(); this.togglePanel(['explorer', 'file', 'claude'][+k - 1]); } else if (k === 'escape') { if (s.menu) this.setState({ menu: null }); else if (s.modal) this.setState({ modal: null }); else if (s.search.open) this.setState(st => ({ search: { ...st.search, open: false } })); else if (s.diffPath) this.setState({ diffPath: null }); + else if (s.schemaOpen) this.setState(s.sSel ? { sSel: null } : { schemaOpen: false }); else if (s.gitOpen) this.setState({ gitOpen: false }); else if (s.running) this.interrupt(); } else if (k === 'enter' && s.modal && s.modal.kind === 'confirm') { e.preventDefault(); this.confirmModal(); } @@ -1536,6 +1875,7 @@ Tell me to **bouw** it, or ask about one part.` const brGroups = [{ label: 'local', items: s.branches.map(b => brItem(b, false)) }, { label: 'remote · origin', items: s.remotes.map(b => brItem(b, true)) }]; const gReady = stagedP.length > 0 && s.commitMsg.trim().length > 0; return { + ...this.schemaVals(), brGroups, brNote: dirty ? '— ' + dirty + ' uncommitted ' + (dirty === 1 ? 'file' : 'files') + ' · switching locked' : 'clean · click to switch', brNoteColor: dirty ? '#F0B476' : '#828D9A', gitOpen: s.gitOpen, closeGit: () => this.setState({ gitOpen: false }), gitPull: () => this.gPull(), gitPush: () => this.gPush(), pullText: s.gBusy === 'pull' ? 'Pulling…' : 'Pull', pushText: s.gBusy === 'push' ? 'Pushing…' : 'Push', @@ -1555,7 +1895,7 @@ Tell me to **bouw** it, or ask about one part.` clearGlog: ev => { ev.stopPropagation(); this.setState({ glog: [] }); }, gBusyLabel: s.gBusy === 'push' ? '→ pushing to origin…' : (s.gBusy === 'pull' ? '→ pulling from origin…' : ''), branch: BR, crumbDir, crumbFile: cur ? this.base(cur) : '', - panelBtns: [btn('Git' + (changed.length ? ' ' + changed.length : ''), s.gitOpen, () => this.toggleGit(), 0, '⌘G'), btn('Explorer', P.explorer, () => this.togglePanel('explorer'), 1, '⌘1'), btn('File', P.file, () => this.togglePanel('file'), 2, '⌘2'), btn('Claude', P.claude, () => this.togglePanel('claude'), 3, '⌘3')], + panelBtns: [btn('Git' + (changed.length ? ' ' + changed.length : ''), s.gitOpen, () => this.toggleGit(), 0, '⌘G'), ...(this.hasSchemaCmd() ? [btn('Schema', s.schemaOpen, () => this.toggleSchema(), 1, '⌘D')] : []), btn('Explorer', P.explorer, () => this.togglePanel('explorer'), 1, '⌘1'), btn('File', P.file, () => this.togglePanel('file'), 2, '⌘2'), btn('Claude', P.claude, () => this.togglePanel('claude'), 3, '⌘3')], toolBtns: [ { label: 'Search', key: '⌘F', title: 'Search the project', hasDot: false, color: '#BAC0C0', bg: 'transparent', keyColor: '#E8913A', border: 'none', onClick: () => this.openSearch() }, { label: 'Fluid', key: '⌘L', title: 'Soft-wrap long lines', hasDot: true, dot: s.fluid ? '#E8913A' : '#3A424C', color: s.fluid ? '#F4F5F4' : '#828D9A', bg: s.fluid ? 'rgba(232,145,58,.10)' : 'transparent', keyColor: s.fluid ? '#E8913A' : '#6C7783', border: '1px solid #232C39', onClick: () => this.setState({ fluid: !s.fluid }) }, @@ -1563,7 +1903,7 @@ Tell me to **bouw** it, or ask about one part.` { label: s.note.trim() ? 'Note •' : 'Note', key: '⌘N', title: 'Scratch note', hasDot: false, color: '#BAC0C0', bg: 'transparent', keyColor: '#E8913A', border: '1px solid #232C39', onClick: () => this.openNote() } ], openHelp: () => this.setState({ modal: { kind: 'help', title: 'Shortcuts', confirm: 'Close', key: 'esc', noCancel: true } }), - helpRows: [{ k: '⌘F', d: 'Search the project' }, { k: '⌘L', d: 'Soft-wrap long lines (Fluid)' }, { k: '⌘.', d: 'Show hidden files' }, { k: '⌘N', d: 'Scratch note' }, { k: '⌘G', d: 'Open or close Git (full screen)' }, { k: '⌘1–3', d: 'Toggle Explorer, File, Claude' }, { k: 'Right-click', d: 'Pass on a file, folder or selection to Claude' }, { k: 'Shift+Tab', d: 'Cycle Claude mode (in the prompt)' }, { k: '⌘↵', d: 'Commit (in the Git message field)' }, { k: 'Esc', d: 'Close overlay or interrupt Claude' }], + helpRows: [{ k: '⌘F', d: 'Search the project' }, { k: '⌘L', d: 'Soft-wrap long lines (Fluid)' }, { k: '⌘.', d: 'Show hidden files' }, { k: '⌘N', d: 'Scratch note' }, { k: '⌘G', d: 'Open or close Git (full screen)' }, { k: '⌘D', d: 'Open or close Schema (when the app has helder:schema)' }, { k: '⌘1–3', d: 'Toggle Explorer, File, Claude' }, { k: 'Right-click', d: 'Pass on a file, folder or selection to Claude' }, { k: 'Shift+Tab', d: 'Cycle Claude mode (in the prompt)' }, { k: '⌘↵', d: 'Commit (in the Git message field)' }, { k: 'Esc', d: 'Close overlay or interrupt Claude' }], showGit: P.git, showExplorer: P.explorer, showFile: P.file, showClaude: P.claude, allHidden: !P.explorer && !P.file && !P.claude, isClean: !changed.length, hasStaged: stagedP.length > 0, hasChanges: unstagedP.length > 0, stagedCount: stagedP.length, changeCount: unstagedP.length, diff --git a/design/README.md b/design/README.md index 1ed6841..77a286e 100644 --- a/design/README.md +++ b/design/README.md @@ -1,4 +1,4 @@ -# Handoff: Helder App v2 — full-screen Git view +# Handoff: Helder App v2 — full-screen Git view and Schema view ## Overview Helder is a desktop IDE shell for one developer working with Claude Code. It has a title bar, an Explorer (file tree), a File editor, a Claude transcript with prompt and terminal, a status bar, plus overlays for search and file diff. @@ -13,7 +13,9 @@ Helder is a desktop IDE shell for one developer working with Claude Code. It has - read the real git commands and their output in a **console**, and type git commands there - see local and remote **branches** and switch between them, but only when the working tree is clean -Everything outside the Git view works as it did in v1 (Explorer, File, Claude, terminal, search, diff, menus, modals). The only exceptions are the changed shortcuts listed below. +**v2 also adds a full-screen Schema view** (⌘D). It exists only when the open Laravel app contains `app/Console/Commands/HelderSchemaCommand.php`. It runs `php artisan helder:schema`, reads the dump it writes, and draws the whole database as a navigable diagram of tables and foreign-key lines. See *Screen: Schema view* below. + +Everything outside the Git and Schema views works as it did in v1 (Explorer, File, Claude, terminal, search, diff, menus, modals). The only exceptions are the changed shortcuts listed below. ## About the design files The files in this bundle are **design references created in HTML**. They are prototypes that show the intended look and behaviour; they are not production code to copy. The task is to **recreate this design in Helder's real codebase**, using its existing framework, state management and git layer. If no environment exists yet, pick the best fit; for a desktop IDE shell that is likely Electron or Tauri, with React and a real git backend such as `simple-git`, `isomorphic-git` or shelling out to `git`. @@ -29,6 +31,7 @@ The prototype fakes git: file contents live in memory, and console output is sim | Key | Action | |---|---| | ⌘G / Ctrl+G | Open or close the Git view | +| ⌘D / Ctrl+D | Open or close the Schema view (only when the app has `HelderSchemaCommand.php`) | | ⌘1 / ⌘2 / ⌘3 | Toggle Explorer / File / Claude (in v1 this was ⌘1–4, with Git on ⌘1) | | ⌘F | Search the project | | ⌘L | Fluid (soft wrap) | @@ -36,9 +39,10 @@ The prototype fakes git: file contents live in memory, and console output is sim | ⌘N | Scratch note | | ⌘↵ (in the commit message) | Commit | | ↑ (in the console input) | Recall the last command | -| Esc | Closes the topmost layer, in this order: context menu → modal → search → file diff → Git view → interrupts Claude | +| Enter (in the Schema table search) | Centre the first matching table | +| Esc | Closes the topmost layer, in this order: context menu → modal → search → file diff → Schema selection → Schema view → Git view → interrupts Claude | -The title-bar panel toggle group now reads `Git N · Explorer · File · Claude`. **N** is the number of changed files, and the Git button's dot is amber while the view is open. +The title-bar panel toggle group now reads `Git N · Schema · Explorer · File · Claude`. **N** is the number of changed files. The Git and Schema buttons show an amber dot while their view is open. The Schema button is left out when the command file does not exist. Git and Schema are mutually exclusive: opening one closes the other. --- @@ -205,6 +209,104 @@ If there are no changes at all, the area shows only: `— No changes. The workin --- +## Screen: Schema view (full screen) + +### When it exists +- Detect `app/Console/Commands/HelderSchemaCommand.php` in the open project; watch for it, so the view appears as soon as the file is created. +- No file → no title-bar button, ⌘D does nothing. +- The command (included in the prototype's fake repo, see the file) uses Laravel's `Schema::getTables / getColumns / getIndexes / getForeignKeys`. It skips `migrations`, `jobs`, `cache` and `sessions`, and writes `storage/helder/schema.json`: +``` +{ connection, generated_at, tables: [{ name, columns[], indexes[], foreign_keys[] }] } +``` +- Helder reads that JSON. Row counts are not in the dump yet; the prototype shows fake ones. Either add `rows` per table to the command (`DB::table($name)->count()`, or `information_schema.TABLES.TABLE_ROWS` for speed), or drop the row-count labels. + +### Layer +`position: fixed; inset: 0`, `z-index: 45`, background `#101720`, min-width 900px, flex column. From top to bottom: top bar, body (table list · canvas · detail panel), console. + +### 1. Top bar — 44px +Same frame as the Git top bar (background `#18202B`, bottom border `1px #232C39`, padding `0 14px`, gap 14px). +- `[ SCHEMA ]`: Plex Mono 700 11px, .14em, uppercase, `#828D9A`. +- Connection: Lucide `database` 13px + `mysql · odynt`, Plex Mono 500 12px `#E8913A`. Real build: driver and database name from the dump. +- Meta: Plex Mono 12px `#828D9A`, ellipsis. Before a dump: `no dump yet`. After: `dumped 14:32 · 16 tables · 23 relations` (time of the last successful run). +- Spacer. +- Command path `app/Console/Commands/HelderSchemaCommand.php` as a text button, Plex Mono 12px `#828D9A`, hover `#F4F5F4`. Click: close the view and open the file in the editor. +- **Run button**, 28px, padding `0 12px`, radius 2px, background `#E8913A`, text `#101720`, Plex Sans 600 12px, icon `terminal` 14px. Hover `#C4741F`. Label: `Run helder:schema`, `Re-run helder:schema` once a dump exists, `Dumping…` while running (clicks ignored). +- **Close**: the same style as the Git Close button, key hint `⌘D`. + +### 2. Empty state (no dump yet) +Centred in the canvas, max-width 440px, gap 16px: +- `[ NO DUMP YET ]`: Plex Mono 700 11px, .14em, `#E8913A`. +- `— Helder draws the schema from storage/helder/schema.json. Run the command to write it.` Plex Sans 15px / 1.6 `#BAC0C0`; the path in Plex Mono `#F4F5F4`. +- Primary button (36px, padding `0 16px`, Plex Sans 600 13px, amber) with the run label, and next to it `$ php artisan helder:schema` in Plex Mono 12px `#6C7783`. +- If `storage/helder/schema.json` already exists when the view opens, load it straight away and skip the empty state. + +### 3. Table list (left) — 240px +Background `#18202B`, right border `1px #232C39`. Shown only once a dump exists. +- Search row, 44px, bottom border: `search` icon 14px `#828D9A`, input `Find a table`, Plex Mono 13px `#F4F5F4`, no border. Filters by substring. Enter centres the first match; Esc clears the query. +- Label row, 34px: `[ TABLES ] 16`, or `[ TABLES ] 3 of 16` while filtering. Plex Mono 700 10px, .14em, `#6C7783`. +- Rows, alphabetical, 30px, padding `0 14px 0 11px`, 3px left border, grid `1fr auto`: + - Name: Plex Mono 12px, `#BAC0C0` (`#F4F5F4` when hovered or selected). + - Row count: Plex Mono 11px `#6C7783`, `en-US` thousands separators. + - Selected: left border `#E8913A`, background `rgba(232,145,58,.10)`. Hover: background `#1F2834`. + - Hovering a list row highlights that table on the canvas exactly like hovering the table itself. Click: select and centre it. + +### 4. Canvas (centre, flex 1) +Background `#101720`, `overflow: hidden`. One transformed layer (`translate(x,y) scale(k)`, origin `0 0`) holds an SVG of relationship lines, with the table cards on top. + +**Navigation** +- Drag the background: pan (cursor `grab` / `grabbing`). +- Scroll / trackpad: pan. ⌘ or Ctrl + scroll, and pinch: zoom around the cursor. Zoom range 30–200%. +- Bottom-right control (background `#18202B`, border `1px #232C39`, radius 2px, 28px tall): `−` · zoom % (52px, Plex Mono 500 11px `#828D9A`) · `+` (steps of ×1.2, around the centre) · `Fit`. Fit frames all tables with 48px margin, max 110%. +- Bottom-left hint, Plex Mono 11px `#6C7783`: `drag to pan · ⌘ scroll to zoom · hover a table or a key to trace it · click to inspect`. +- The first dump auto-fits. Later re-runs keep the user's view and positions. + +**Table card** — 240px wide, background `#18202B`, `1px` border, radius 4px, `user-select: none`. +- Header, 33px including its `1px #232C39` bottom border, padding `0 10px`: name in Plex Mono 700 12px `#E4E7E6`, row count right-aligned in Plex Mono 11px `#6C7783`. +- Column rows, 22px, padding `0 10px`, grid `20px 1fr auto`, gap 6px: + - Key: Plex Mono 700 9px, .06em — `PK` in `#F0B476`, `FK` / `UQ` in `#828D9A`, blank otherwise. + - Name: Plex Mono 12px; `#E4E7E6` for keys, `#BAC0C0` for the rest. + - Type: Plex Mono 11px `#6C7783`, with `?` appended for nullable columns (`timestamp?`). +- Geometry matters for the lines: the centre of column *i* sits at `top + 45 + i × 22`. +- Cards can be dragged to new positions (4px threshold separates a drag from a click). Real build: persist positions per project, e.g. `storage/helder/schema-layout.json` or app settings, so a re-run does not reshuffle. + +**Default layout**: five lanes, 340px apart, tables stacked with 48px gaps, each lane vertically centred against the tallest. The prototype hard-codes the lane per table. Real build: rank tables by foreign-key depth (tables nothing points from on the left… or start with a simple layered/Sugiyama layout such as `dagre` or `elkjs` in LR direction), then let the user rearrange. + +**Relationship lines** — one per foreign key, drawn from the FK column row to the target table's primary-key row. +- Cubic Bézier with horizontal tangents. Target to the right: leave from the right edge, enter the left edge. Target to the left: the mirror. Same lane (centres closer than 240px): leave and enter on the right edge, looping out by `46 + |Δy| × 0.12` px. +- Ends: hollow circle r3 at the FK end (fill `#101720`), filled circle r3 at the PK end. +- Resting: `#3A424C`, 1.25px. + +**Hover and selection — the core of the view** +- *Focus* = the hovered table, otherwise the selected table. +- **Hover a table**: every line in or out of it turns `#E8913A`, 1.75px, drawn on top. Its card border turns `#E8913A` with header background `rgba(232,145,58,.10)`. Related tables keep full opacity with border `#6C7783`; all other tables drop to 30% opacity; inactive lines go to `#232C39`. The FK columns involved and the target PK rows get an amber key, `#F4F5F4` name and `rgba(232,145,58,.10)` row fill. +- **Hover an FK column**: narrows the highlight to that one relationship and its two tables. +- **Click a table**: selects it (border `#C4741F` while another table is hovered), opens the detail panel. Click it again or click empty canvas to deselect. Esc deselects first, then closes the view. +- **Search** with no focus: matching cards get border `#F0B476`, the rest drop to 30%. +- Opacity and border colour transition 160ms `cubic-bezier(0.22,1,0.36,1)`. Nothing moves. + +### 5. Detail panel (right) — 320px, only with a selection +Background `#18202B`, left border `1px #232C39`. +- Header, 44px: table name (Plex Mono 700 13px `#F4F5F4`), `214,330 rows` (11px `#828D9A`), close `x`. +- `[ COLUMNS ] N`, then one block per column (padding `7px 16px`, top border `#232C39`): name (Plex Mono 500 12px `#E4E7E6`), type right-aligned (11px `#828D9A`), and a flags line (11px): `PRIMARY · NOT NULL`, `FK → users.id · NULL`, `UNIQUE · NOT NULL`. Key flags in `#F0B476`, otherwise `#6C7783`. +- `[ BELONGS TO ]`: outgoing FKs — `→ users … via user_id`. `[ HAS MANY ]`: incoming FKs — `← messages … via conversation_id`. Rows: Plex Mono 12px, arrow `#E8913A`, table `#F4F5F4`, `via …` `#828D9A`, hover `#1F2834`. Hover highlights that table on the canvas; click selects and centres it. This is how you walk the schema. +- No FKs either way: `— No foreign keys in or out.` +- Footer, two equal 30px outline buttons: **Pass on to Claude** (closes the view, inserts `@schema:` into the prompt) and **Copy name** (toast `Copied table name`). + +### 6. Console — 150px, after the first run +Same styling as the Git console. Header `[ CONSOLE ] ARTISAN`, a `chevron-down` button hides it until the next run. Stays scrolled to the bottom. The prototype prints: +``` +$ php artisan helder:schema + Connection ............................ mysql · odynt + Tables ................................ 16 + Columns ............................... 104 + Foreign keys .......................... 23 + Wrote storage/helder/schema.json (18.4 KB) (#8FBFB4) + DONE Schema dumped in 0.41s. (#8FBFB4) +``` +Real build: run `php artisan helder:schema` in the project root (respect the project's PHP binary / Sail / Herd setup), stream real stdout and stderr, show errors in `#E8913A`, and reload the JSON on exit code 0. Toast on success: `Schema dumped · 16 tables`. + +--- + ## Interactions & behaviour **Stage / unstage** @@ -271,6 +373,22 @@ gInput: string; gHist: string[] // console input + history - `unstaged` = changed minus staged. Sections come from status plus staged membership. - `dirty` = changed.length > 0; it locks branch switching. +## State (Schema view) +``` +schemaOpen: boolean // ⌘D +schema: null | { tables: [{ name, rows, cols: [{ n, t, pk, fk, uq, nul }] }], + edges: [{ from, col, ci, to }] } // parsed from schema.json +sPos: { [table]: { x, y } } // card positions, persist per project +sView: { x, y, k } // pan + zoom +sHover: string | null // hovered table +sCol: string | null // hovered FK, `${table}.${column}` +sSel: string | null // selected table → detail panel +sQ: string // table search +sBusy: boolean; sDumped: string | null // run state, last dump time +slog: { t, c }[]; slogOpen: boolean // artisan console +``` +**Derived**: active edges = edges touching the focus (or only the hovered FK); related tables = both ends of every active edge. + ## Design tokens used - **Slate surfaces**: - `#101720`: page, editor, diff, message field @@ -303,11 +421,12 @@ gInput: string; gHist: string[] // console input + history - `arrow-down-to-line`, `arrow-up-from-line` - `minimize-2`, `chevron-down`, `chevron-right` - `eraser`, `check`, `file-text`, `sparkle`, `files` + - Schema: `database`, `terminal`, `search`, `minus`, `plus`, `x` - **Fonts**: IBM Plex Mono and IBM Plex Sans (Google Fonts, through the Kade `tokens/fonts.css`). - There are no images. ## Files -- `Helder App v2.dc.html`: the full prototype. Open it in a browser next to `support.js`; it loads the Kade tokens and bundle from `_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/` in the source project. +- `Helder App v2.dc.html`: the full prototype. Open it in a browser from this folder; it loads `support.js` and the Kade tokens and bundle from the included `_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/`. Serve the folder over http (e.g. `npx serve`) rather than opening it as `file://`. - **Where to look in the file**: | What | Where | @@ -315,5 +434,9 @@ gInput: string; gHist: string[] // console input + history | Git view markup | the `` block | | Git logic | methods prefixed `g…`: `gStage`, `gUnstage`, `gDiscard`, `gCommit`, `gPush`, `gPull`, `gSwitch`, `gStatus`, `gRun`, `gitRows` | | Section, row and branch view models | `renderVals()`, from `const GC` to `brGroups` | +| Schema view markup | the `` block | +| Schema logic | the `// ---------- schema` section: `schemaData` (fake dump + default layout), `sPath` (line geometry), `sFit`, `sZoom`, `sCenter`, `sDown`/`sMove`/`sUp` (pan + drag), `schemaRun`, `schemaVals` (highlight rules and view models) | +| Fake command file | `put('app/Console/Commands/HelderSchemaCommand.php', …)` in the seed data | - `support.js`: the prototype runtime, needed only to open the HTML. Do not port it. +- `_ds/…`: the Kade tokens and component bundle, needed only to render the prototype. Use the codebase's own copy of the design system. diff --git a/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/_ds_bundle.js b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/_ds_bundle.js new file mode 100644 index 0000000..6a52db9 --- /dev/null +++ b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/_ds_bundle.js @@ -0,0 +1,2177 @@ +/* @ds-bundle: {"format":4,"namespace":"BlijnderKadeDesignSystem_e2fd65","components":[{"name":"ArrowList","sourcePath":"components/content/ArrowList.jsx"},{"name":"Card","sourcePath":"components/content/Card.jsx"},{"name":"ComparisonRow","sourcePath":"components/content/ComparisonRow.jsx"},{"name":"LogoBar","sourcePath":"components/content/LogoBar.jsx"},{"name":"PricingRow","sourcePath":"components/content/PricingRow.jsx"},{"name":"PullQuote","sourcePath":"components/content/PullQuote.jsx"},{"name":"SectionHeader","sourcePath":"components/content/SectionHeader.jsx"},{"name":"StatCard","sourcePath":"components/content/StatCard.jsx"},{"name":"StepNumber","sourcePath":"components/content/StepNumber.jsx"},{"name":"BrandTag","sourcePath":"components/core/BrandTag.jsx"},{"name":"Button","sourcePath":"components/core/Button.jsx"},{"name":"Icon","sourcePath":"components/core/Icon.jsx"},{"name":"Logo","sourcePath":"components/core/Logo.jsx"},{"name":"SectionMarker","sourcePath":"components/core/SectionMarker.jsx"},{"name":"Tag","sourcePath":"components/core/Tag.jsx"},{"name":"Wordmark","sourcePath":"components/core/Wordmark.jsx"},{"name":"NotificationBanner","sourcePath":"components/feedback/NotificationBanner.jsx"},{"name":"Input","sourcePath":"components/forms/Input.jsx"},{"name":"Textarea","sourcePath":"components/forms/Textarea.jsx"},{"name":"CtaBlock","sourcePath":"components/layout/CtaBlock.jsx"},{"name":"Hero","sourcePath":"components/layout/Hero.jsx"},{"name":"SiteFooter","sourcePath":"components/layout/SiteFooter.jsx"},{"name":"SiteHeader","sourcePath":"components/layout/SiteHeader.jsx"}],"sourceHashes":{"components/content/ArrowList.jsx":"c11f63f776de","components/content/Card.jsx":"35aa4d48f47f","components/content/ComparisonRow.jsx":"5d7cbb4a8bda","components/content/LogoBar.jsx":"4fa0741b7eee","components/content/PricingRow.jsx":"10e9a7170e70","components/content/PullQuote.jsx":"ca5c2542c14f","components/content/SectionHeader.jsx":"6476c9c311ea","components/content/StatCard.jsx":"6e98affc4309","components/content/StepNumber.jsx":"9cebc602c491","components/core/BrandTag.jsx":"bab106844327","components/core/Button.jsx":"f7db65af43a9","components/core/Icon.jsx":"67495f84d051","components/core/Logo.jsx":"3716a4f02a50","components/core/SectionMarker.jsx":"b2dcd5da4408","components/core/Tag.jsx":"41c2d0cb4815","components/core/Wordmark.jsx":"4a0b74d78e1d","components/feedback/NotificationBanner.jsx":"dcad208d159e","components/forms/Input.jsx":"bda34c11e82d","components/forms/Textarea.jsx":"a09b23687ded","components/layout/CtaBlock.jsx":"452322310683","components/layout/Hero.jsx":"d57bf23b4327","components/layout/SiteFooter.jsx":"a0d28198da51","components/layout/SiteHeader.jsx":"b1992fab2170","ui_kits/marketing-site/Aanpak.jsx":"aad0761c2331","ui_kits/marketing-site/App.jsx":"f678e9d30dae","ui_kits/marketing-site/Contact.jsx":"663885481d4c","ui_kits/marketing-site/Home.jsx":"536b51f60a92","ui_kits/marketing-site/Section.jsx":"e7bf880f932a","ui_kits/marketing-site/Werk.jsx":"785a8d172c2f"},"inlinedExternals":[],"unexposedExports":[]} */ + +(() => { + +const __ds_ns = (window.BlijnderKadeDesignSystem_e2fd65 = window.BlijnderKadeDesignSystem_e2fd65 || {}); + +const __ds_scope = {}; + +(__ds_ns.__errors = __ds_ns.__errors || []); + +// components/content/ArrowList.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Forward-action list with an amber arrow marker. Use the dash variant for declarative lists. */ +function ArrowList({ + items = [], + marker = "arrow", + onSlate = false, + style, + ...rest +}) { + const glyph = marker === "dash" ? "—" : "→"; + return /*#__PURE__*/React.createElement("ul", _extends({ + style: { + listStyle: "none", + margin: 0, + padding: 0, + display: "flex", + flexDirection: "column", + gap: "var(--space-3)", + ...style + } + }, rest), items.map((item, i) => /*#__PURE__*/React.createElement("li", { + key: i, + style: { + display: "flex", + alignItems: "flex-start", + gap: "var(--space-3)", + fontSize: "var(--text-base)", + lineHeight: "var(--leading-normal)", + color: onSlate ? "var(--color-neutral-2)" : "var(--color-ink-muted)" + } + }, /*#__PURE__*/React.createElement("span", { + "aria-hidden": "true", + style: { + fontFamily: "var(--font-mono)", + color: "var(--color-amber)", + flex: "0 0 auto", + marginTop: "1px" + } + }, glyph), /*#__PURE__*/React.createElement("span", null, item)))); +} +Object.assign(__ds_scope, { ArrowList }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/content/ArrowList.jsx", error: String((e && e.message) || e) }); } + +// components/content/Card.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Default content card — stone-2 fill, hairline border, radius-md, no shadow. + * Hover deepens the fill to stone-3. Kade never lifts or shadows on hover. */ +function Card({ + marker, + markerIndex, + title, + children, + href, + linkLabel, + onSlate = false, + interactive = false, + style, + ...rest +}) { + const [hover, setHover] = React.useState(false); + const Tag = href ? "a" : "article"; + const lift = (interactive || href) && hover; + return /*#__PURE__*/React.createElement(Tag, _extends({ + href: href, + onMouseEnter: () => setHover(true), + onMouseLeave: () => setHover(false), + style: { + display: "flex", + flexDirection: "column", + gap: "var(--space-2)", + background: lift ? onSlate ? "var(--color-slate-3)" : "var(--color-stone-3)" : onSlate ? "var(--color-slate-2)" : "var(--color-stone-2)", + border: `1px solid ${onSlate ? "var(--color-slate-3)" : "var(--color-stone-rule)"}`, + borderRadius: "var(--radius-md)", + padding: "var(--space-6)", + textDecoration: "none", + transition: "var(--transition-color)", + ...style + } + }, rest), marker && /*#__PURE__*/React.createElement("p", { + style: { + margin: "0 0 var(--space-2)", + fontFamily: "var(--font-mono)", + fontSize: "var(--text-xs)", + fontWeight: 600, + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color: onSlate ? "var(--color-neutral-4)" : "var(--color-ink-dim)" + } + }, markerIndex != null ? `[ ${String(markerIndex).padStart(2, "0")} ] ` : "", marker), title && /*#__PURE__*/React.createElement("h3", { + style: { + margin: 0, + fontFamily: "var(--font-body)", + fontWeight: "var(--weight-semibold)", + fontSize: "var(--text-md)", + lineHeight: "var(--leading-snug)", + letterSpacing: "var(--tracking-heading)", + color: onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)" + } + }, title), children && /*#__PURE__*/React.createElement("div", { + style: { + fontSize: "var(--text-sm)", + lineHeight: "var(--leading-normal)", + color: onSlate ? "var(--color-neutral-3)" : "var(--color-ink-muted)" + } + }, children), linkLabel && /*#__PURE__*/React.createElement("span", { + style: { + marginTop: "var(--space-3)", + fontSize: "var(--text-sm)", + fontWeight: "var(--weight-medium)", + color: hover ? onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)" : onSlate ? "var(--color-amber)" : "var(--color-amber-deep)", + transition: "var(--transition-color)" + } + }, linkLabel, " \u2192")); +} +Object.assign(__ds_scope, { Card }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/content/Card.jsx", error: String((e && e.message) || e) }); } + +// components/content/ComparisonRow.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Problem → solution row. The emphasis word in the problem column is ink-dim strong; + * in the solution column it is amber-deep. Kade has no off-palette "ouch" red. */ +function ComparisonRow({ + problem, + solution, + onSlate = false, + style, + ...rest +}) { + const [hover, setHover] = React.useState(false); + return /*#__PURE__*/React.createElement("div", _extends({ + onMouseEnter: () => setHover(true), + onMouseLeave: () => setHover(false), + style: { + display: "grid", + gridTemplateColumns: "1fr auto 1fr", + gap: "var(--space-6)", + alignItems: "center", + padding: "var(--space-5) var(--space-6)", + background: hover ? onSlate ? "var(--color-slate-3)" : "var(--color-stone-3)" : onSlate ? "var(--color-slate-2)" : "var(--color-stone-2)", + border: `1px solid ${onSlate ? "var(--color-slate-3)" : "var(--color-stone-rule)"}`, + borderRadius: "var(--radius-md)", + transition: "var(--transition-color)", + ...style + } + }, rest), /*#__PURE__*/React.createElement("div", { + style: { + textAlign: "right", + fontSize: "var(--text-sm)", + lineHeight: "var(--leading-normal)", + color: onSlate ? "var(--color-neutral-4)" : "var(--color-ink-dim)" + } + }, problem), /*#__PURE__*/React.createElement("div", { + "aria-hidden": "true", + style: { + fontFamily: "var(--font-mono)", + fontSize: "var(--text-base)", + color: "var(--color-amber)" + } + }, "\u2192"), /*#__PURE__*/React.createElement("div", { + style: { + fontSize: "var(--text-sm)", + lineHeight: "var(--leading-normal)", + color: onSlate ? "var(--color-neutral-2)" : "var(--color-ink-muted)" + } + }, solution)); +} +Object.assign(__ds_scope, { ComparisonRow }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/content/ComparisonRow.jsx", error: String((e && e.message) || e) }); } + +// components/content/LogoBar.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Client bar. No client logo files exist in the source material, so names are set in + * mono type — the documented stand-in. Pass `logos` once real SVG/PNG files land in assets/. */ +function LogoBar({ + names = [], + logos = null, + onSlate = false, + style, + ...rest +}) { + const [hoverIndex, setHoverIndex] = React.useState(-1); + const entries = logos || names; + return /*#__PURE__*/React.createElement("div", _extends({ + style: { + display: "flex", + alignItems: "center", + justifyContent: "center", + gap: "var(--space-12)", + flexWrap: "wrap", + padding: "var(--space-8) 0", + ...style + } + }, rest), entries.map((entry, i) => { + const active = hoverIndex === i; + const shared = { + onMouseEnter: () => setHoverIndex(i), + onMouseLeave: () => setHoverIndex(-1), + key: i + }; + if (logos) { + return /*#__PURE__*/React.createElement("img", _extends({}, shared, { + src: entry.src, + alt: entry.alt || "", + style: { + height: "28px", + width: "auto", + opacity: active ? 1 : 0.45, + filter: active ? "none" : "grayscale(100%)", + transition: "opacity var(--duration-base) var(--ease-out), filter var(--duration-base) var(--ease-out)" + } + })); + } + return /*#__PURE__*/React.createElement("span", _extends({}, shared, { + style: { + fontFamily: "var(--font-mono)", + fontSize: "var(--text-sm)", + fontWeight: 600, + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color: active ? onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)" : onSlate ? "var(--color-neutral-4)" : "var(--color-ink-dim)", + transition: "var(--transition-color)" + } + }), entry); + })); +} +Object.assign(__ds_scope, { LogoBar }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/content/LogoBar.jsx", error: String((e && e.message) || e) }); } + +// components/content/PricingRow.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Striped spec / pricing row. Values are mono; labels are sans. Stripe with the `alt` prop. */ +function PricingRow({ + label, + value, + alt = false, + onSlate = false, + style, + ...rest +}) { + const [hover, setHover] = React.useState(false); + return /*#__PURE__*/React.createElement("div", _extends({ + onMouseEnter: () => setHover(true), + onMouseLeave: () => setHover(false), + style: { + display: "flex", + justifyContent: "space-between", + alignItems: "center", + gap: "var(--space-4)", + padding: "var(--space-3) var(--space-5)", + background: hover ? "var(--color-amber-tint)" : alt ? onSlate ? "var(--color-slate-2)" : "var(--color-stone-2)" : "transparent", + border: `1px solid ${hover ? "var(--color-amber-ring)" : "transparent"}`, + borderRadius: "var(--radius-sm)", + transition: "var(--transition-color)", + ...style + } + }, rest), /*#__PURE__*/React.createElement("span", { + style: { + fontSize: "var(--text-sm)", + fontWeight: "var(--weight-medium)", + color: onSlate ? "var(--color-neutral-2)" : "var(--color-ink-muted)" + } + }, label), /*#__PURE__*/React.createElement("span", { + style: { + fontFamily: "var(--font-mono)", + fontSize: "var(--text-sm)", + fontWeight: 600, + color: onSlate ? "var(--color-amber)" : "var(--color-amber-deep)" + } + }, value)); +} +Object.assign(__ds_scope, { PricingRow }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/content/PricingRow.jsx", error: String((e && e.message) || e) }); } + +// components/content/PullQuote.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Left-bordered amber quote. 2px border exactly — 1px disappears, 3px becomes a slab. */ +function PullQuote({ + children, + attribution, + onSlate = false, + style, + ...rest +}) { + return /*#__PURE__*/React.createElement("blockquote", _extends({ + style: { + margin: 0, + borderLeft: "2px solid var(--color-amber)", + paddingLeft: "var(--space-6)", + maxWidth: "600px", + ...style + } + }, rest), /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + fontStyle: "italic", + fontSize: "var(--text-base)", + lineHeight: "var(--leading-normal)", + color: onSlate ? "var(--color-amber-soft)" : "var(--color-amber-deep)" + } + }, children), attribution && /*#__PURE__*/React.createElement("p", { + style: { + margin: "var(--space-3) 0 0", + fontFamily: "var(--font-mono)", + fontSize: "var(--text-xs)", + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color: onSlate ? "var(--color-neutral-4)" : "var(--color-ink-dim)" + } + }, attribution)); +} +Object.assign(__ds_scope, { PullQuote }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/content/PullQuote.jsx", error: String((e && e.message) || e) }); } + +// components/content/SectionHeader.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Section opener: marker + display heading + optional subtitle. + * Kade sets headings in Plex Mono 700 — there is no serif face in this system. */ +function SectionHeader({ + marker, + markerIndex, + title, + subtitle, + align = "left", + size = "md", + onSlate = false, + style, + ...rest +}) { + const sizes = { + sm: "var(--text-xl)", + md: "var(--text-2xl)", + lg: "var(--text-4xl)" + }; + return /*#__PURE__*/React.createElement("header", _extends({ + style: { + display: "flex", + flexDirection: "column", + gap: "var(--space-4)", + alignItems: align === "center" ? "center" : "flex-start", + textAlign: align, + ...style + } + }, rest), marker && /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + display: "flex", + gap: "10px", + fontFamily: "var(--font-mono)", + fontSize: "var(--text-xs)", + fontWeight: 600, + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color: onSlate ? "var(--color-amber)" : "var(--color-ink-dim)" + } + }, markerIndex != null && /*#__PURE__*/React.createElement("span", null, "[\xA0", String(markerIndex).padStart(2, "0"), "\xA0]"), /*#__PURE__*/React.createElement("span", null, marker)), title && /*#__PURE__*/React.createElement("h2", { + style: { + margin: 0, + fontFamily: "var(--font-display)", + fontWeight: 700, + fontSize: sizes[size] || sizes.md, + lineHeight: "var(--leading-tight)", + letterSpacing: "var(--tracking-display)", + color: onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)" + } + }, title), subtitle && /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + maxWidth: "560px", + fontSize: "var(--text-md)", + lineHeight: "var(--leading-normal)", + color: onSlate ? "var(--color-neutral-3)" : "var(--color-ink-muted)" + } + }, subtitle)); +} +Object.assign(__ds_scope, { SectionHeader }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/content/SectionHeader.jsx", error: String((e && e.message) || e) }); } + +// components/content/StatCard.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Anchor-moment proof card: a big mono figure, a quote, an attribution. + * The amber left rule is permanent here — these are not ordinary cards. */ +function StatCard({ + figure, + quote, + name, + onSlate = true, + style, + ...rest +}) { + return /*#__PURE__*/React.createElement("figure", _extends({ + style: { + margin: 0, + display: "flex", + flexDirection: "column", + gap: "var(--space-4)", + background: onSlate ? "var(--color-slate-2)" : "var(--color-stone-2)", + border: `1px solid ${onSlate ? "var(--color-slate-3)" : "var(--color-stone-rule)"}`, + borderLeft: "2px solid var(--color-amber)", + borderRadius: "var(--radius-md)", + padding: "var(--space-6)", + ...style + } + }, rest), figure && /*#__PURE__*/React.createElement("span", { + style: { + fontFamily: "var(--font-display)", + fontWeight: 700, + fontSize: "var(--text-2xl)", + lineHeight: 1, + letterSpacing: "var(--tracking-display)", + color: "var(--color-amber)" + } + }, figure), quote && /*#__PURE__*/React.createElement("blockquote", { + style: { + margin: 0, + fontStyle: "italic", + fontSize: "var(--text-sm)", + lineHeight: "var(--leading-loose)", + color: onSlate ? "var(--color-neutral-3)" : "var(--color-ink-muted)" + } + }, quote), name && /*#__PURE__*/React.createElement("figcaption", { + style: { + fontSize: "var(--text-sm)", + fontWeight: "var(--weight-semibold)", + color: onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)" + } + }, name)); +} +Object.assign(__ds_scope, { StatCard }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/content/StatCard.jsx", error: String((e && e.message) || e) }); } + +// components/content/StepNumber.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Numbered step. Kade squares the old rounded block: a slate square with an amber mono numeral. */ +function StepNumber({ + number = 1, + title, + children, + onSlate = false, + style, + ...rest +}) { + const [hover, setHover] = React.useState(false); + return /*#__PURE__*/React.createElement("div", _extends({ + onMouseEnter: () => setHover(true), + onMouseLeave: () => setHover(false), + style: { + display: "flex", + flexDirection: "column", + gap: "var(--space-3)", + ...style + } + }, rest), /*#__PURE__*/React.createElement("div", { + style: { + width: "56px", + height: "56px", + display: "flex", + alignItems: "center", + justifyContent: "center", + borderRadius: "var(--radius-sm)", + background: hover ? "var(--color-amber)" : onSlate ? "var(--color-slate-2)" : "var(--color-slate)", + color: hover ? "var(--color-ink-body)" : "var(--color-amber)", + fontFamily: "var(--font-display)", + fontWeight: 700, + fontSize: "var(--text-xl)", + letterSpacing: "var(--tracking-heading)", + transition: "var(--transition-color)" + } + }, String(number).padStart(2, "0")), title && /*#__PURE__*/React.createElement("h3", { + style: { + margin: 0, + fontFamily: "var(--font-body)", + fontWeight: "var(--weight-semibold)", + fontSize: "var(--text-md)", + letterSpacing: "var(--tracking-heading)", + color: onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)" + } + }, title), children && /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + fontSize: "var(--text-sm)", + lineHeight: "var(--leading-normal)", + color: onSlate ? "var(--color-neutral-3)" : "var(--color-ink-muted)" + } + }, children)); +} +Object.assign(__ds_scope, { StepNumber }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/content/StepNumber.jsx", error: String((e && e.message) || e) }); } + +// components/core/BrandTag.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** The fixed signature line. Text is never localised or abbreviated. */ +function BrandTag({ + text = "Jonathan van Rij · Blijnder.nl", + onSlate = false, + style, + ...rest +}) { + return /*#__PURE__*/React.createElement("p", _extends({ + style: { + margin: 0, + fontFamily: "var(--font-mono)", + fontSize: "var(--text-2xs)", + fontWeight: 500, + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color: onSlate ? "var(--color-neutral-4)" : "var(--color-ink-dim)", + ...style + } + }, rest), text); +} +Object.assign(__ds_scope, { BrandTag }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/core/BrandTag.jsx", error: String((e && e.message) || e) }); } + +// components/core/Button.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +const SIZES = { + sm: { + fontSize: "13px", + padding: "8px 15px" + }, + md: { + fontSize: "15px", + padding: "12px 20px" + }, + lg: { + fontSize: "17px", + padding: "16px 28px" + } +}; +function Button({ + children, + variant = "primary", + size = "md", + href, + onSlate = false, + disabled = false, + fullWidth = false, + onClick, + type = "button", + style, + ...rest +}) { + const [hover, setHover] = React.useState(false); + const base = { + display: fullWidth ? "flex" : "inline-flex", + width: fullWidth ? "100%" : undefined, + alignItems: "center", + justifyContent: "center", + gap: "8px", + fontFamily: "var(--font-body)", + fontWeight: "var(--weight-medium)", + lineHeight: 1, + borderRadius: "var(--radius-sm)", + border: "1px solid transparent", + textDecoration: "none", + cursor: disabled ? "not-allowed" : "pointer", + opacity: disabled ? 0.4 : 1, + transition: "var(--transition-color)", + ...(SIZES[size] || SIZES.md) + }; + const variants = { + primary: { + background: hover && !disabled ? "var(--color-amber-deep)" : "var(--color-amber)", + color: "var(--color-ink-body)" + }, + secondary: { + background: "transparent", + color: onSlate ? hover ? "var(--color-neutral-1)" : "var(--color-neutral-2)" : hover ? "var(--color-ink-body)" : "var(--color-ink-muted)", + borderColor: onSlate ? hover ? "var(--color-neutral-2)" : "var(--color-slate-3)" : hover ? "var(--color-ink-body)" : "var(--color-ink-muted)" + }, + ghost: { + background: "transparent", + padding: `${(SIZES[size] || SIZES.md).padding.split(" ")[0]} 4px`, + color: onSlate ? hover ? "var(--color-neutral-1)" : "var(--color-neutral-3)" : hover ? "var(--color-ink-body)" : "var(--color-ink-muted)", + textDecoration: "underline", + textUnderlineOffset: "4px", + textDecorationColor: onSlate ? "var(--color-slate-3)" : hover ? "var(--color-ink-dim)" : "var(--color-stone-rule)" + } + }; + const props = { + style: { + ...base, + ...(variants[variant] || variants.primary), + ...style + }, + onMouseEnter: () => setHover(true), + onMouseLeave: () => setHover(false), + ...rest + }; + if (href && !disabled) return /*#__PURE__*/React.createElement("a", _extends({ + href: href, + onClick: onClick + }, props), children); + return /*#__PURE__*/React.createElement("button", _extends({ + type: type, + disabled: disabled, + onClick: onClick + }, props), children); +} +Object.assign(__ds_scope, { Button }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/core/Button.jsx", error: String((e && e.message) || e) }); } + +// components/core/Icon.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Renders a Lucide glyph. The page must load the Lucide UMD build once: + * */ +function Icon({ + name, + size = 18, + strokeWidth = 1.75, + color = "currentColor", + style, + ...rest +}) { + const ref = React.useRef(null); + React.useEffect(() => { + const lucide = typeof window !== "undefined" ? window.lucide : null; + if (!lucide || !ref.current) return; + ref.current.innerHTML = ""; + const el = document.createElement("i"); + el.setAttribute("data-lucide", name); + ref.current.appendChild(el); + lucide.createIcons({ + icons: lucide.icons, + nameAttr: "data-lucide", + attrs: { + width: size, + height: size, + "stroke-width": strokeWidth + } + }); + }, [name, size, strokeWidth]); + return /*#__PURE__*/React.createElement("span", _extends({ + ref: ref, + "aria-hidden": "true", + style: { + display: "inline-flex", + alignItems: "center", + justifyContent: "center", + width: size, + height: size, + flex: "0 0 auto", + color, + ...style + } + }, rest)); +} +Object.assign(__ds_scope, { Icon }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/core/Icon.jsx", error: String((e && e.message) || e) }); } + +// components/core/Logo.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +let injected = false; +function injectKeyframes() { + if (injected || typeof document === "undefined") return; + injected = true; + const style = document.createElement("style"); + style.textContent = "@keyframes kade-logo-blink{0%,49%{opacity:1}50%,100%{opacity:0}}"; + document.head.appendChild(style); +} + +/** The Blijnder cell mark: a thin monospace cell holding "b" with an amber period on the baseline. + * The period blinks by default — the pulse is the identity, not an effect. Pass blink={false} + * for a static render (print, PDF, OG image, a screenshot fixture). + * Pass withWordmark for the horizontal lockup. */ +function Logo({ + size = 32, + onSlate = false, + withWordmark = false, + blink = true, + href, + style, + ...rest +}) { + React.useEffect(() => { + if (blink) injectKeyframes(); + }, [blink]); + const wordmarkPeriodBlink = blink && !withWordmark ? undefined : blink; + const fontSize = typeof size === "number" ? size : parseFloat(size) || 32; + const ink = onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)"; + const rule = onSlate ? "var(--color-neutral-3)" : "var(--color-ink-body)"; + const mark = /*#__PURE__*/React.createElement("span", { + style: { + display: "inline-flex", + alignItems: "flex-end", + gap: "0.08em", + border: `1px solid ${rule}`, + borderRadius: "var(--radius-sm)", + padding: `${Math.round(fontSize * 0.1)}px ${Math.round(fontSize * 0.17)}px`, + fontFamily: "var(--font-display)", + fontWeight: 700, + fontSize: `${fontSize}px`, + lineHeight: 1, + letterSpacing: "-0.06em", + color: ink + } + }, "b", /*#__PURE__*/React.createElement("span", { + style: { + color: "var(--color-amber)", + animation: blink && !withWordmark ? "kade-logo-blink 1.1s steps(1, end) infinite" : undefined + } + }, ".")); + const Tag = href ? "a" : "span"; + return /*#__PURE__*/React.createElement(Tag, _extends({ + href: href, + "aria-label": "Blijnder", + style: { + display: "inline-flex", + alignItems: "center", + gap: `${Math.round(fontSize * 0.42)}px`, + textDecoration: "none", + color: ink, + ...style + } + }, rest), mark, withWordmark && /*#__PURE__*/React.createElement("span", { + style: { + fontFamily: "var(--font-display)", + fontWeight: 700, + fontSize: `${Math.round(fontSize * 0.95)}px`, + letterSpacing: "var(--tracking-display)", + lineHeight: 1, + color: ink + } + }, "blijnder", /*#__PURE__*/React.createElement("span", { + style: { + color: "var(--color-amber)", + animation: wordmarkPeriodBlink ? "kade-logo-blink 1.1s steps(1, end) infinite" : undefined + } + }, "."))); +} +Object.assign(__ds_scope, { Logo }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/core/Logo.jsx", error: String((e && e.message) || e) }); } + +// components/core/SectionMarker.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** The Kade section signature: a bracketed index followed by a label. + * Replaces the pill-shaped eyebrow of the previous Blijnder system. */ +function SectionMarker({ + index, + children, + accent = false, + onSlate = false, + style, + ...rest +}) { + const color = accent ? onSlate ? "var(--color-amber)" : "var(--color-amber-deep)" : onSlate ? "var(--color-neutral-4)" : "var(--color-ink-dim)"; + return /*#__PURE__*/React.createElement("p", _extends({ + style: { + margin: 0, + display: "flex", + alignItems: "center", + gap: "10px", + fontFamily: "var(--font-mono)", + fontSize: "var(--text-xs)", + fontWeight: 600, + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color, + ...style + } + }, rest), index != null && /*#__PURE__*/React.createElement("span", null, "[\xA0", String(index).padStart(2, "0"), "\xA0]"), /*#__PURE__*/React.createElement("span", null, children)); +} +Object.assign(__ds_scope, { SectionMarker }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/core/SectionMarker.jsx", error: String((e && e.message) || e) }); } + +// components/core/Tag.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Small rectangular metadata tag. Kade squares off the old pill: radius-sm, hairline border. */ +function Tag({ + children, + tone = "neutral", + onSlate = false, + style, + ...rest +}) { + const tones = { + neutral: { + color: onSlate ? "var(--color-neutral-3)" : "var(--color-ink-dim)", + background: onSlate ? "var(--color-slate-2)" : "var(--color-stone-2)", + borderColor: onSlate ? "var(--color-slate-3)" : "var(--color-stone-rule)" + }, + accent: { + color: onSlate ? "var(--color-amber)" : "var(--color-amber-deep)", + background: "var(--color-amber-tint)", + borderColor: "var(--color-amber-ring)" + }, + solid: { + color: "var(--color-ink-body)", + background: "var(--color-amber)", + borderColor: "var(--color-amber)" + } + }; + return /*#__PURE__*/React.createElement("span", _extends({ + style: { + display: "inline-flex", + alignItems: "center", + gap: "6px", + fontFamily: "var(--font-mono)", + fontSize: "var(--text-xs)", + fontWeight: 500, + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + padding: "5px 10px", + borderRadius: "var(--radius-sm)", + border: "1px solid", + ...(tones[tone] || tones.neutral), + ...style + } + }, rest), children); +} +Object.assign(__ds_scope, { Tag }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/core/Tag.jsx", error: String((e && e.message) || e) }); } + +// components/core/Wordmark.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** The Blijnder identity: lowercase wordmark with a trailing amber period. + * The period is always amber; the letterforms follow the surface. */ +function Wordmark({ + size = 18, + href, + onSlate = false, + as = "span", + style, + ...rest +}) { + const Tag = href ? "a" : as; + return /*#__PURE__*/React.createElement(Tag, _extends({ + href: href, + "aria-label": "Blijnder", + style: { + fontFamily: "var(--font-display)", + fontWeight: 700, + fontSize: typeof size === "number" ? `${size}px` : size, + letterSpacing: "var(--tracking-display)", + lineHeight: 1.05, + color: onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)", + textDecoration: "none", + display: "inline-block", + ...style + } + }, rest), "blijnder", /*#__PURE__*/React.createElement("span", { + style: { + color: "var(--color-amber)" + } + }, ".")); +} +Object.assign(__ds_scope, { Wordmark }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/core/Wordmark.jsx", error: String((e && e.message) || e) }); } + +// components/feedback/NotificationBanner.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Cycling announcement strip. Slate fill, amber marker, mono copy. + * Pass one message for a static banner, several to cycle. */ +function NotificationBanner({ + messages = [], + interval = 5000, + dismissible = false, + style, + ...rest +}) { + const list = Array.isArray(messages) ? messages : [messages]; + const [index, setIndex] = React.useState(0); + const [open, setOpen] = React.useState(true); + React.useEffect(() => { + if (list.length < 2) return; + const id = setInterval(() => setIndex(i => (i + 1) % list.length), interval); + return () => clearInterval(id); + }, [list.length, interval]); + if (!open || list.length === 0) return null; + return /*#__PURE__*/React.createElement("div", _extends({ + role: "status", + style: { + display: "flex", + alignItems: "center", + gap: "var(--space-3)", + background: "var(--color-slate)", + color: "var(--color-neutral-2)", + padding: "10px var(--space-6)", + fontFamily: "var(--font-mono)", + fontSize: "var(--text-xs)", + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + ...style + } + }, rest), /*#__PURE__*/React.createElement("span", { + "aria-hidden": "true", + style: { + color: "var(--color-amber)" + } + }, "[\xA0!\xA0]"), /*#__PURE__*/React.createElement("span", { + style: { + flex: 1 + } + }, list[index]), dismissible && /*#__PURE__*/React.createElement("button", { + type: "button", + onClick: () => setOpen(false), + "aria-label": "Melding sluiten", + style: { + background: "none", + border: "none", + color: "var(--color-neutral-4)", + fontFamily: "var(--font-mono)", + fontSize: "var(--text-sm)", + cursor: "pointer", + padding: 0 + } + }, "\xD7")); +} +Object.assign(__ds_scope, { NotificationBanner }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/feedback/NotificationBanner.jsx", error: String((e && e.message) || e) }); } + +// components/forms/Input.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Labelled text input. Focus turns the border amber and adds a 2px ring — never a glow. + * Errors are prefixed with an em-dash, not an icon. */ +function Input({ + label, + id, + type = "text", + value, + onChange, + placeholder, + error, + hint, + disabled = false, + onSlate = false, + style, + ...rest +}) { + const [focus, setFocus] = React.useState(false); + const fieldId = id || `field-${label ? label.toLowerCase().replace(/\W+/g, "-") : "input"}`; + const invalid = Boolean(error); + return /*#__PURE__*/React.createElement("div", { + style: { + display: "flex", + flexDirection: "column", + gap: "var(--space-2)", + ...style + } + }, label && /*#__PURE__*/React.createElement("label", { + htmlFor: fieldId, + style: { + fontSize: "var(--text-sm)", + fontWeight: "var(--weight-medium)", + color: onSlate ? "var(--color-neutral-2)" : "var(--color-ink-body)" + } + }, label), /*#__PURE__*/React.createElement("input", _extends({ + id: fieldId, + type: type, + value: value, + onChange: onChange, + placeholder: placeholder, + disabled: disabled, + "aria-invalid": invalid || undefined, + "aria-describedby": invalid ? `${fieldId}-error` : undefined, + onFocus: () => setFocus(true), + onBlur: () => setFocus(false), + style: { + fontFamily: "var(--font-body)", + fontSize: "var(--text-sm)", + color: onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)", + background: onSlate ? "var(--color-slate-2)" : "var(--color-stone-2)", + border: `1px solid ${invalid || focus ? "var(--color-amber)" : onSlate ? "var(--color-slate-3)" : "var(--color-stone-rule)"}`, + borderRadius: "var(--radius-sm)", + padding: "10px 14px", + outline: "none", + opacity: disabled ? 0.5 : 1, + boxShadow: focus ? "var(--ring-focus)" : "none", + transition: "var(--transition-color)" + } + }, rest)), invalid && /*#__PURE__*/React.createElement("p", { + id: `${fieldId}-error`, + style: { + margin: 0, + fontSize: "var(--text-xs)", + color: onSlate ? "var(--color-amber-soft)" : "var(--color-amber-deep)" + } + }, "\u2014 ", error), !invalid && hint && /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + fontSize: "var(--text-xs)", + color: onSlate ? "var(--color-neutral-4)" : "var(--color-ink-dim)" + } + }, hint)); +} +Object.assign(__ds_scope, { Input }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/forms/Input.jsx", error: String((e && e.message) || e) }); } + +// components/forms/Textarea.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Multi-line field. Same rules as Input: amber focus border plus a 2px ring, em-dash errors. */ +function Textarea({ + label, + id, + value, + onChange, + placeholder, + rows = 4, + error, + disabled = false, + onSlate = false, + style, + ...rest +}) { + const [focus, setFocus] = React.useState(false); + const fieldId = id || `field-${label ? label.toLowerCase().replace(/\W+/g, "-") : "textarea"}`; + const invalid = Boolean(error); + return /*#__PURE__*/React.createElement("div", { + style: { + display: "flex", + flexDirection: "column", + gap: "var(--space-2)", + ...style + } + }, label && /*#__PURE__*/React.createElement("label", { + htmlFor: fieldId, + style: { + fontSize: "var(--text-sm)", + fontWeight: "var(--weight-medium)", + color: onSlate ? "var(--color-neutral-2)" : "var(--color-ink-body)" + } + }, label), /*#__PURE__*/React.createElement("textarea", _extends({ + id: fieldId, + rows: rows, + value: value, + onChange: onChange, + placeholder: placeholder, + disabled: disabled, + "aria-invalid": invalid || undefined, + onFocus: () => setFocus(true), + onBlur: () => setFocus(false), + style: { + fontFamily: "var(--font-body)", + fontSize: "var(--text-sm)", + lineHeight: "var(--leading-normal)", + color: onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)", + background: onSlate ? "var(--color-slate-2)" : "var(--color-stone-2)", + border: `1px solid ${invalid || focus ? "var(--color-amber)" : onSlate ? "var(--color-slate-3)" : "var(--color-stone-rule)"}`, + borderRadius: "var(--radius-sm)", + padding: "10px 14px", + outline: "none", + resize: "vertical", + opacity: disabled ? 0.5 : 1, + boxShadow: focus ? "var(--ring-focus)" : "none", + transition: "var(--transition-color)" + } + }, rest)), invalid && /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + fontSize: "var(--text-xs)", + color: onSlate ? "var(--color-amber-soft)" : "var(--color-amber-deep)" + } + }, "\u2014 ", error)); +} +Object.assign(__ds_scope, { Textarea }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/forms/Textarea.jsx", error: String((e && e.message) || e) }); } + +// components/layout/CtaBlock.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Closing call to action. Slate when it is the page's dark block, stone when the hero already is. */ +function CtaBlock({ + marker, + markerIndex, + title, + body, + items = [], + actions, + footnote, + onSlate = true, + align = "center", + style, + ...rest +}) { + return /*#__PURE__*/React.createElement("section", _extends({ + "data-surface": onSlate ? "slate" : undefined, + style: { + background: onSlate ? "var(--color-slate)" : "var(--color-stone)", + color: onSlate ? "var(--color-neutral-1)" : "var(--color-ink-body)", + padding: "var(--section-y) 0", + textAlign: align, + ...style + } + }, rest), /*#__PURE__*/React.createElement("div", { + style: { + maxWidth: "var(--container)", + margin: "0 auto", + padding: "0 var(--space-6)", + display: "flex", + flexDirection: "column", + alignItems: align === "center" ? "center" : "flex-start" + } + }, marker && /*#__PURE__*/React.createElement(__ds_scope.SectionMarker, { + index: markerIndex, + accent: true, + onSlate: onSlate + }, marker), /*#__PURE__*/React.createElement("h2", { + style: { + margin: "var(--space-8) 0 var(--space-4)", + fontFamily: "var(--font-display)", + fontWeight: 700, + fontSize: "clamp(28px, 3.6vw, 44px)", + lineHeight: "var(--leading-tight)", + letterSpacing: "var(--tracking-display)" + } + }, title), body && /*#__PURE__*/React.createElement("p", { + style: { + margin: "0 0 var(--space-8)", + maxWidth: "640px", + fontSize: "var(--text-md)", + lineHeight: "var(--leading-normal)", + color: onSlate ? "var(--color-neutral-3)" : "var(--color-ink-muted)" + } + }, body), items.length > 0 && /*#__PURE__*/React.createElement(__ds_scope.ArrowList, { + items: items, + onSlate: onSlate, + style: { + textAlign: "left", + marginBottom: "var(--space-10)" + } + }), actions && /*#__PURE__*/React.createElement("div", { + style: { + display: "flex", + gap: "var(--space-4)", + alignItems: "center", + flexWrap: "wrap", + justifyContent: align === "center" ? "center" : "flex-start" + } + }, actions), footnote && /*#__PURE__*/React.createElement("p", { + style: { + margin: "var(--space-6) 0 0", + fontFamily: "var(--font-mono)", + fontSize: "var(--text-xs)", + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color: onSlate ? "var(--color-neutral-4)" : "var(--color-ink-dim)" + } + }, footnote))); +} +Object.assign(__ds_scope, { CtaBlock }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/layout/CtaBlock.jsx", error: String((e && e.message) || e) }); } + +// components/layout/Hero.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Full-bleed slate hero — the page's one dark block. Display heading in Plex Mono, + * italic subhead in Plex Sans, optional pull-quote, then the actions. */ +function Hero({ + marker, + markerIndex, + title, + subhead, + body, + quote, + actions, + align = "left", + style, + ...rest +}) { + return /*#__PURE__*/React.createElement("section", _extends({ + "data-surface": "slate", + style: { + background: "var(--color-slate)", + color: "var(--color-neutral-1)", + padding: "var(--section-y) 0", + ...style + } + }, rest), /*#__PURE__*/React.createElement("div", { + style: { + maxWidth: "var(--container)", + margin: "0 auto", + padding: "0 var(--space-6)", + display: "flex", + flexDirection: "column", + alignItems: align === "center" ? "center" : "flex-start", + textAlign: align + } + }, marker && /*#__PURE__*/React.createElement(__ds_scope.SectionMarker, { + index: markerIndex, + accent: true, + onSlate: true + }, marker), /*#__PURE__*/React.createElement("h1", { + style: { + margin: "var(--space-8) 0 var(--space-4)", + fontFamily: "var(--font-display)", + fontWeight: 700, + fontSize: "clamp(40px, 6.2vw, 76px)", + lineHeight: "var(--leading-display)", + letterSpacing: "var(--tracking-display)", + color: "var(--color-neutral-1)" + } + }, title), subhead && /*#__PURE__*/React.createElement("p", { + style: { + margin: "0 0 var(--space-5)", + fontStyle: "italic", + fontSize: "clamp(18px, 2.2vw, 24px)", + lineHeight: "var(--leading-snug)", + color: "var(--color-neutral-2)", + maxWidth: "720px" + } + }, subhead), body && /*#__PURE__*/React.createElement("p", { + style: { + margin: "0 0 var(--space-8)", + fontSize: "var(--text-md)", + lineHeight: "var(--leading-normal)", + color: "var(--color-neutral-3)", + maxWidth: "660px" + } + }, body), quote && /*#__PURE__*/React.createElement(__ds_scope.PullQuote, { + onSlate: true, + style: { + marginBottom: "var(--space-10)" + } + }, quote), actions && /*#__PURE__*/React.createElement("div", { + style: { + display: "flex", + gap: "var(--space-4)", + alignItems: "center", + flexWrap: "wrap", + justifyContent: align === "center" ? "center" : "flex-start" + } + }, actions))); +} +Object.assign(__ds_scope, { Hero }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/layout/Hero.jsx", error: String((e && e.message) || e) }); } + +// components/layout/SiteFooter.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Footer on slate-2 — one step lighter than the hero so the page reads as closing. */ +function SiteFooter({ + tagline = "Platforms die laten groeien", + columns = [], + copyright = "© 2026 blijnder · alle rechten voorbehouden", + built = "gebouwd in Nederland, door één persoon", + style, + ...rest +}) { + const [hover, setHover] = React.useState(""); + return /*#__PURE__*/React.createElement("footer", _extends({ + "data-surface": "slate", + style: { + background: "var(--color-slate-2)", + color: "var(--color-neutral-2)", + padding: "var(--space-20) 0 var(--space-8)", + ...style + } + }, rest), /*#__PURE__*/React.createElement("div", { + style: { + maxWidth: "var(--container)", + margin: "0 auto", + padding: "0 var(--space-6)" + } + }, /*#__PURE__*/React.createElement("div", { + style: { + display: "grid", + gridTemplateColumns: "1fr 2fr", + gap: "var(--space-16)", + marginBottom: "var(--space-16)" + } + }, /*#__PURE__*/React.createElement("div", { + style: { + display: "flex", + flexDirection: "column", + gap: "var(--space-3)" + } + }, /*#__PURE__*/React.createElement(__ds_scope.Logo, { + size: 22, + withWordmark: true, + onSlate: true, + href: "#" + }), /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + fontFamily: "var(--font-mono)", + fontSize: "var(--text-xs)", + fontStyle: "italic", + color: "var(--color-neutral-4)" + } + }, tagline)), /*#__PURE__*/React.createElement("div", { + style: { + display: "grid", + gridTemplateColumns: `repeat(${Math.max(columns.length, 1)}, 1fr)`, + gap: "var(--space-8)" + } + }, columns.map((col, i) => /*#__PURE__*/React.createElement("div", { + key: i + }, /*#__PURE__*/React.createElement(__ds_scope.SectionMarker, { + index: i + 1, + onSlate: true, + style: { + marginBottom: "var(--space-4)" + } + }, col.title), /*#__PURE__*/React.createElement("ul", { + style: { + listStyle: "none", + margin: 0, + padding: 0, + display: "flex", + flexDirection: "column", + gap: "10px" + } + }, col.items.map((item, j) => { + const key = `${i}-${j}`; + const label = typeof item === "string" ? item : item.label; + const href = typeof item === "string" ? null : item.href; + const color = hover === key ? "var(--color-neutral-1)" : "var(--color-neutral-3)"; + return /*#__PURE__*/React.createElement("li", { + key: key + }, href ? /*#__PURE__*/React.createElement("a", { + href: href, + onMouseEnter: () => setHover(key), + onMouseLeave: () => setHover(""), + style: { + fontSize: "var(--text-sm)", + color, + textDecoration: "none", + transition: "var(--transition-color)" + } + }, label) : /*#__PURE__*/React.createElement("span", { + style: { + fontSize: "var(--text-sm)", + color: "var(--color-neutral-3)" + } + }, label)); + })))))), /*#__PURE__*/React.createElement("div", { + style: { + borderTop: "1px solid var(--color-slate-3)", + paddingTop: "var(--space-6)", + display: "flex", + justifyContent: "space-between", + gap: "var(--space-6)", + flexWrap: "wrap" + } + }, /*#__PURE__*/React.createElement(__ds_scope.BrandTag, { + onSlate: true + }), /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + fontFamily: "var(--font-mono)", + fontSize: "var(--text-2xs)", + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color: "var(--color-neutral-4)" + } + }, copyright), /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + fontFamily: "var(--font-mono)", + fontSize: "var(--text-2xs)", + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color: "var(--color-neutral-4)" + } + }, built)))); +} +Object.assign(__ds_scope, { SiteFooter }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/layout/SiteFooter.jsx", error: String((e && e.message) || e) }); } + +// components/layout/SiteHeader.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +/** Sticky top bar on stone: wordmark left, mono uppercase links, one amber CTA right. */ +function SiteHeader({ + links = [], + cta, + ctaHref = "#", + activeHref, + onNavigate, + sticky = true, + style, + ...rest +}) { + const [hover, setHover] = React.useState(-1); + return /*#__PURE__*/React.createElement("header", _extends({ + style: { + position: sticky ? "sticky" : "static", + top: 0, + zIndex: 50, + background: "var(--color-stone)", + borderBottom: "1px solid var(--color-stone-rule)", + ...style + } + }, rest), /*#__PURE__*/React.createElement("div", { + style: { + maxWidth: "var(--container)", + margin: "0 auto", + padding: "var(--space-4) var(--space-6)", + display: "flex", + alignItems: "center", + justifyContent: "space-between", + gap: "var(--space-6)" + } + }, /*#__PURE__*/React.createElement(__ds_scope.Logo, { + size: 17, + withWordmark: true, + href: "#", + onClick: e => { + if (onNavigate) { + e.preventDefault(); + onNavigate("#"); + } + } + }), /*#__PURE__*/React.createElement("nav", { + "aria-label": "Hoofdnavigatie", + style: { + display: "flex", + gap: "var(--space-8)" + } + }, links.map((link, i) => { + const on = hover === i || activeHref === link.href; + return /*#__PURE__*/React.createElement("a", { + key: link.href || i, + href: link.href, + onMouseEnter: () => setHover(i), + onMouseLeave: () => setHover(-1), + onClick: e => { + if (onNavigate) { + e.preventDefault(); + onNavigate(link.href); + } + }, + style: { + fontFamily: "var(--font-mono)", + fontSize: "var(--text-xs)", + fontWeight: 600, + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color: on ? "var(--color-ink-body)" : "var(--color-ink-dim)", + textDecoration: "none", + transition: "var(--transition-color)" + } + }, link.label); + })), cta && /*#__PURE__*/React.createElement(__ds_scope.Button, { + size: "sm", + href: ctaHref, + onClick: e => { + if (onNavigate) { + e.preventDefault(); + onNavigate(ctaHref); + } + } + }, cta))); +} +Object.assign(__ds_scope, { SiteHeader }); +})(); } catch (e) { __ds_ns.__errors.push({ path: "components/layout/SiteHeader.jsx", error: String((e && e.message) || e) }); } + +// ui_kits/marketing-site/Aanpak.jsx +try { (() => { +const { + ComparisonRow, + ArrowList, + Card, + Button, + CtaBlock, + Icon +} = window.BlijnderKadeDesignSystem_e2fd65 || {}; +function Aanpak({ + go +}) { + return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Section, { + slate: true, + tight: true + }, /*#__PURE__*/React.createElement(SectionTop, { + markerIndex: 1, + marker: "aanpak", + title: "Waarom \xE9\xE9n bouwer sneller is dan een bureau", + subtitle: "Niet omdat \xE9\xE9n persoon harder werkt. Omdat er niets tussen de vraag en het werk zit.", + size: "lg", + onSlate: true + })), /*#__PURE__*/React.createElement(Section, { + tight: true + }, /*#__PURE__*/React.createElement(SectionTop, { + markerIndex: 2, + marker: "wat verandert er", + title: "Nu, en met Blijnder" + }), /*#__PURE__*/React.createElement("div", { + style: { + display: "flex", + flexDirection: "column", + gap: "var(--space-3)" + } + }, /*#__PURE__*/React.createElement(ComparisonRow, { + problem: /*#__PURE__*/React.createElement(React.Fragment, null, "Met losse ", /*#__PURE__*/React.createElement("strong", null, "spreadsheets"), " raak je het overzicht kwijt"), + solution: /*#__PURE__*/React.createElement(React.Fragment, null, "E\xE9n plek voor ", /*#__PURE__*/React.createElement("strong", null, "alle leden"), " en activiteiten") + }), /*#__PURE__*/React.createElement(ComparisonRow, { + problem: /*#__PURE__*/React.createElement(React.Fragment, null, "Je vraag gaat via een ", /*#__PURE__*/React.createElement("strong", null, "accountmanager"), " naar een team dat je nooit spreekt"), + solution: /*#__PURE__*/React.createElement(React.Fragment, null, "Je mailt ", /*#__PURE__*/React.createElement("strong", null, "de bouwer"), " en hebt dezelfde dag antwoord") + }), /*#__PURE__*/React.createElement(ComparisonRow, { + problem: /*#__PURE__*/React.createElement(React.Fragment, null, "Een ", /*#__PURE__*/React.createElement("strong", null, "ticketsysteem"), " waar je wijziging drie sprints blijft liggen"), + solution: /*#__PURE__*/React.createElement(React.Fragment, null, "Elke week een ", /*#__PURE__*/React.createElement("strong", null, "werkende versie"), " waarin je bijstuurt") + }), /*#__PURE__*/React.createElement(ComparisonRow, { + problem: /*#__PURE__*/React.createElement(React.Fragment, null, "Oplevering is het moment dat het bureau ", /*#__PURE__*/React.createElement("strong", null, "verdwijnt")), + solution: /*#__PURE__*/React.createElement(React.Fragment, null, "Onderhoud en doorontwikkeling zitten ", /*#__PURE__*/React.createElement("strong", null, "in het tarief")) + }))), /*#__PURE__*/React.createElement(Section, { + tight: true, + style: { + paddingTop: 0 + } + }, /*#__PURE__*/React.createElement(SectionTop, { + markerIndex: 3, + marker: "afspraken", + title: "Wat je van mij mag verwachten" + }), /*#__PURE__*/React.createElement(Grid, { + cols: 2, + gap: "var(--space-6)" + }, /*#__PURE__*/React.createElement(Card, { + marker: "tijdens het bouwen", + title: "Elke week iets dat werkt" + }, /*#__PURE__*/React.createElement(ArrowList, { + items: ["Vrijdag een versie die je kunt aanklikken.", "Wijzigingen mogen tot het laatste moment.", "Geen factuur voor werk dat niet is opgeleverd."] + })), /*#__PURE__*/React.createElement(Card, { + marker: "daarna", + title: "Geen afscheid na oplevering" + }, /*#__PURE__*/React.createElement(ArrowList, { + marker: "dash", + items: ["Onderhoud en updates zitten in de licentie.", "Eén telefoonnummer, geen supportafdeling.", "Je data blijft van jou en is exporteerbaar."] + })))), /*#__PURE__*/React.createElement(CtaBlock, { + onSlate: false, + markerIndex: 4, + marker: "volgende stap", + title: "Vertel wat er nu misgaat", + body: "E\xE9n gesprek van dertig minuten. Daarna weet je of dit past.", + actions: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, { + size: "lg", + onClick: () => go("#contact") + }, "Plan een gesprek"), /*#__PURE__*/React.createElement(Button, { + variant: "ghost", + href: "mailto:jonathan@blijnder.nl" + }, "Mail direct")), + footnote: "geen funnel \u2014 je mail komt bij \xE9\xE9n persoon aan" + })); +} +Object.assign(window, { + Aanpak +}); +})(); } catch (e) { __ds_ns.__errors.push({ path: "ui_kits/marketing-site/Aanpak.jsx", error: String((e && e.message) || e) }); } + +// ui_kits/marketing-site/App.jsx +try { (() => { +const { + SiteHeader, + SiteFooter, + NotificationBanner +} = window.BlijnderKadeDesignSystem_e2fd65 || {}; +const LINKS = [{ + label: "Werk", + href: "#werk" +}, { + label: "Aanpak", + href: "#aanpak" +}, { + label: "Contact", + href: "#contact" +}]; +function App() { + const [route, setRoute] = React.useState("#"); + function go(href) { + setRoute(href); + window.scrollTo({ + top: 0, + behavior: "auto" + }); + } + return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(NotificationBanner, { + messages: ["nieuwe casus: stedt bij nhg — +34% aanmeldingen", "twee plekken vrij voor q4", "kade design system v1 staat live"], + interval: 5000, + dismissible: true + }), /*#__PURE__*/React.createElement(SiteHeader, { + links: LINKS, + cta: "Plan een gesprek", + ctaHref: "#contact", + activeHref: route, + onNavigate: go + }), route === "#werk" && /*#__PURE__*/React.createElement(Werk, { + go: go + }), route === "#aanpak" && /*#__PURE__*/React.createElement(Aanpak, { + go: go + }), route === "#contact" && /*#__PURE__*/React.createElement(Contact, null), route !== "#werk" && route !== "#aanpak" && route !== "#contact" && /*#__PURE__*/React.createElement(Home, { + go: go + }), /*#__PURE__*/React.createElement(SiteFooter, { + columns: [{ + title: "product", + items: [{ + label: "Stedt", + href: "#werk" + }, { + label: "Loopt", + href: "#werk" + }, { + label: "Odynt", + href: "#werk" + }] + }, { + title: "over", + items: [{ + label: "Aanpak", + href: "#aanpak" + }, { + label: "Werk", + href: "#werk" + }, { + label: "Contact", + href: "#contact" + }] + }, { + title: "contact", + items: [{ + label: "jonathan@blijnder.nl", + href: "mailto:jonathan@blijnder.nl" + }, "KVK · 12345678", "Utrecht, NL"] + }] + })); +} +const mount = document.getElementById("root"); +if (mount) ReactDOM.createRoot(mount).render(/*#__PURE__*/React.createElement(App, null)); +})(); } catch (e) { __ds_ns.__errors.push({ path: "ui_kits/marketing-site/App.jsx", error: String((e && e.message) || e) }); } + +// ui_kits/marketing-site/Contact.jsx +try { (() => { +const { + Input, + Textarea, + Button, + Card, + ArrowList, + BrandTag, + Icon, + Tag +} = window.BlijnderKadeDesignSystem_e2fd65 || {}; +function Contact() { + const [form, setForm] = React.useState({ + company: "", + email: "", + message: "" + }); + const [errors, setErrors] = React.useState({}); + const [sent, setSent] = React.useState(false); + const set = key => e => setForm(f => ({ + ...f, + [key]: e.target.value + })); + function submit(e) { + e.preventDefault(); + const next = {}; + if (!form.company.trim()) next.company = "Vul je bedrijfs- of verenigingsnaam in."; + if (!/^[^@\s]+@[^@\s]+\.[^@\s]+$/.test(form.email)) next.email = "Voer een geldig e-mailadres in."; + if (form.message.trim().length < 10) next.message = "Schrijf één of twee regels over wat je wilt bouwen."; + setErrors(next); + if (Object.keys(next).length === 0) setSent(true); + } + return /*#__PURE__*/React.createElement(Section, null, /*#__PURE__*/React.createElement("div", { + style: { + display: "grid", + gridTemplateColumns: "1fr 1fr", + gap: "var(--space-16)", + alignItems: "start" + } + }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTop, { + markerIndex: 1, + marker: "contact", + title: "Bel me, mail me, of plan een gesprek", + subtitle: "Je bericht komt bij \xE9\xE9n persoon aan. Ik antwoord doorgaans dezelfde dag.", + style: { + marginBottom: "var(--space-8)" + } + }), /*#__PURE__*/React.createElement(ArrowList, { + items: [/*#__PURE__*/React.createElement("a", { + href: "tel:+31600000000" + }, "06 \u2014 00 00 00 00"), /*#__PURE__*/React.createElement("a", { + href: "mailto:jonathan@blijnder.nl" + }, "jonathan@blijnder.nl"), "Utrecht — op locatie in heel Nederland"] + }), /*#__PURE__*/React.createElement("div", { + style: { + marginTop: "var(--space-10)" + } + }, /*#__PURE__*/React.createElement(Card, { + marker: "verwachting", + title: "Wat er gebeurt na je bericht" + }, /*#__PURE__*/React.createElement(ArrowList, { + marker: "dash", + items: ["Dezelfde dag een reactie van mij, geen autoreply.", "Een gesprek van dertig minuten, zonder verkooppraat.", "Daarna een prijsindicatie op één A4."] + }))), /*#__PURE__*/React.createElement("div", { + style: { + marginTop: "var(--space-8)" + } + }, /*#__PURE__*/React.createElement(BrandTag, null))), /*#__PURE__*/React.createElement("div", { + style: { + background: "var(--color-stone-2)", + border: "1px solid var(--color-stone-rule)", + borderRadius: "var(--radius-md)", + padding: "var(--space-8)" + } + }, sent ? /*#__PURE__*/React.createElement("div", { + style: { + display: "flex", + flexDirection: "column", + gap: "var(--space-4)", + alignItems: "flex-start" + } + }, /*#__PURE__*/React.createElement(Tag, { + tone: "accent" + }, "verstuurd"), /*#__PURE__*/React.createElement("h3", { + style: { + margin: 0, + fontFamily: "var(--font-display)", + fontWeight: 700, + fontSize: "var(--text-xl)", + letterSpacing: "var(--tracking-display)", + color: "var(--color-ink-body)" + } + }, "Dank \u2014 je bericht staat bij mij"), /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + fontSize: "var(--text-sm)", + color: "var(--color-ink-muted)" + } + }, "Je hoort doorgaans dezelfde dag van me. Wil je niet wachten: bel gewoon."), /*#__PURE__*/React.createElement(Button, { + variant: "secondary", + onClick: () => { + setSent(false); + setForm({ + company: "", + email: "", + message: "" + }); + } + }, "Nog een bericht")) : /*#__PURE__*/React.createElement("form", { + onSubmit: submit, + noValidate: true, + style: { + display: "flex", + flexDirection: "column", + gap: "var(--space-5)" + } + }, /*#__PURE__*/React.createElement(Input, { + label: "Bedrijf of vereniging", + value: form.company, + onChange: set("company"), + error: errors.company, + placeholder: "Bijv. Adviesbureau Van Dam" + }), /*#__PURE__*/React.createElement(Input, { + label: "E-mailadres", + type: "email", + value: form.email, + onChange: set("email"), + error: errors.email, + placeholder: "jij@bedrijf.nl" + }), /*#__PURE__*/React.createElement(Textarea, { + label: "Wat wil je bouwen?", + rows: 5, + value: form.message, + onChange: set("message"), + error: errors.message, + placeholder: "E\xE9n of twee regels is genoeg." + }), /*#__PURE__*/React.createElement(Button, { + type: "submit", + fullWidth: true + }, /*#__PURE__*/React.createElement(Icon, { + name: "arrow-right", + size: 16 + }), " Verstuur"), /*#__PURE__*/React.createElement("p", { + style: { + margin: 0, + fontFamily: "var(--font-mono)", + fontSize: "var(--text-xs)", + letterSpacing: "var(--tracking-label)", + textTransform: "uppercase", + color: "var(--color-ink-dim)" + } + }, "geen nieuwsbrief \xB7 geen doorverkoop van je gegevens"))))); +} +Object.assign(window, { + Contact +}); +})(); } catch (e) { __ds_ns.__errors.push({ path: "ui_kits/marketing-site/Contact.jsx", error: String((e && e.message) || e) }); } + +// ui_kits/marketing-site/Home.jsx +try { (() => { +const { + Hero, + Button, + Card, + Icon, + StepNumber, + StatCard, + LogoBar, + PricingRow, + CtaBlock, + Tag +} = window.BlijnderKadeDesignSystem_e2fd65 || {}; +function Home({ + go +}) { + return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Hero, { + markerIndex: 1, + marker: "platform \xB7 studio", + title: /*#__PURE__*/React.createElement(React.Fragment, null, "blijnder", /*#__PURE__*/React.createElement("span", { + style: { + color: "var(--color-amber)" + } + }, ".")), + subhead: "Software met een gezicht.", + body: "Platforms voor verenigingen, winkels en experts. Gebouwd en onderhouden door \xE9\xE9n persoon \u2014 die opneemt als je belt.", + quote: '"Platforms die laten groeien."', + actions: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, { + size: "lg", + onClick: () => go("#contact") + }, "Plan een gesprek"), /*#__PURE__*/React.createElement(Button, { + variant: "secondary", + size: "lg", + onSlate: true, + onClick: () => go("#werk") + }, "Bekijk werk")) + }), /*#__PURE__*/React.createElement(Section, { + tight: true + }, /*#__PURE__*/React.createElement(LogoBar, { + names: ["Stedt", "Loopt", "Odynt", "NHG"] + })), /*#__PURE__*/React.createElement(Section, { + tight: true, + style: { + paddingTop: 0 + } + }, /*#__PURE__*/React.createElement(SectionTop, { + markerIndex: 2, + marker: "producten", + title: "Platforms die al draaien", + subtitle: "Elk platform begon als \xE9\xE9n vraag van \xE9\xE9n opdrachtgever. Ze staan nu live." + }), /*#__PURE__*/React.createElement(Grid, { + cols: 3 + }, /*#__PURE__*/React.createElement(Card, { + marker: "verenigingen", + title: "Stedt", + linkLabel: "bekijk stedt", + href: "#werk", + interactive: true + }, "Ledenadministratie, aanmeldingen en activiteiten op \xE9\xE9n plek \u2014 voor verenigingen die het nu met losse lijsten doen."), /*#__PURE__*/React.createElement(Card, { + marker: "retail", + title: "Loopt", + linkLabel: "bekijk loopt", + href: "#werk", + interactive: true + }, "Een winkelplatform voor ondernemers die hun voorraad, bestellingen en klanten in \xE9\xE9n overzicht willen."), /*#__PURE__*/React.createElement(Card, { + marker: "experts", + title: "Odynt", + linkLabel: "bekijk odynt", + href: "#werk", + interactive: true + }, "Infrastructuur waarmee experts hun kennis vermenigvuldigen, zonder te geven wat hen uniek maakt."))), /*#__PURE__*/React.createElement(Section, { + tight: true, + style: { + paddingTop: 0 + } + }, /*#__PURE__*/React.createElement(SectionTop, { + markerIndex: 3, + marker: "werkwijze", + title: "Van eerste gesprek tot live in vier stappen", + subtitle: "Geen intakefase van zes weken. Je weet na \xE9\xE9n gesprek waar je aan toe bent." + }), /*#__PURE__*/React.createElement(Grid, { + cols: 4 + }, /*#__PURE__*/React.createElement(StepNumber, { + number: 1, + title: "Bel of mail" + }, "Dertig minuten om je situatie te begrijpen. Geen verkooppraat."), /*#__PURE__*/React.createElement(StepNumber, { + number: 2, + title: "Prototype" + }, "Binnen een week iets dat je kunt aanklikken en doorsturen."), /*#__PURE__*/React.createElement(StepNumber, { + number: 3, + title: "Bouwen" + }, "Elke week een werkende versie. Je stuurt bij terwijl het staat."), /*#__PURE__*/React.createElement(StepNumber, { + number: 4, + title: "Live en verder" + }, "Oplevering is geen afscheid. Het platform blijft meegroeien."))), /*#__PURE__*/React.createElement(Section, null, /*#__PURE__*/React.createElement(SectionTop, { + markerIndex: 4, + marker: "resultaat", + title: "Wat opdrachtgevers merken", + subtitle: "Cijfers en citaten uit lopende trajecten." + }), /*#__PURE__*/React.createElement(Grid, { + cols: 3 + }, /*#__PURE__*/React.createElement(StatCard, { + onSlate: false, + figure: "+34%", + quote: '"Onze ledenaanmelding loopt sinds Stedt vrijwel vanzelf."', + name: "Marlies \u2014 voorzitter NHG" + }), /*#__PURE__*/React.createElement(StatCard, { + onSlate: false, + figure: "6 dagen", + quote: '"Van eerste gesprek tot een prototype dat ik aan het bestuur kon laten zien."', + name: "Rik \u2014 secretaris" + }), /*#__PURE__*/React.createElement(StatCard, { + onSlate: false, + figure: "1 persoon", + quote: '"Ik weet wie ik bel, en die neemt op. Dat scheelt meer dan ik dacht."', + name: "Sanne \u2014 eigenaar" + }))), /*#__PURE__*/React.createElement(Section, { + tight: true + }, /*#__PURE__*/React.createElement("div", { + style: { + display: "grid", + gridTemplateColumns: "1fr 1fr", + gap: "var(--space-16)", + alignItems: "start" + } + }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTop, { + markerIndex: 5, + marker: "tarieven", + title: "E\xE9n tarief, geen verrassingen", + subtitle: "Een platformlicentie per maand, en een eenmalige implementatie. Alles wat daarna komt zit erin.", + style: { + marginBottom: "var(--space-8)" + } + }), /*#__PURE__*/React.createElement(Tag, { + tone: "accent" + }, "geen setup-fee bij jaarafname")), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(PricingRow, { + label: "Platformlicentie", + value: "\u20AC 299 / mnd" + }), /*#__PURE__*/React.createElement(PricingRow, { + label: "Implementatie", + value: "eenmalig", + alt: true + }), /*#__PURE__*/React.createElement(PricingRow, { + label: "Onderhoud en updates", + value: "inbegrepen" + }), /*#__PURE__*/React.createElement(PricingRow, { + label: "Support \u2014 \xE9\xE9n persoon, geen ticket", + value: "inbegrepen", + alt: true + }), /*#__PURE__*/React.createElement(PricingRow, { + label: "Extra module op maat", + value: "in overleg" + })))), /*#__PURE__*/React.createElement(CtaBlock, { + onSlate: false, + markerIndex: 6, + marker: "klaar om te bouwen?", + title: "E\xE9n gesprek, dan weet je het", + body: "Vertel wat er nu misgaat. Als ik het niet kan bouwen, zeg ik dat in het eerste gesprek.", + items: ["Je spreekt de bouwer, niet een accountmanager.", "Binnen een week een prototype dat je kunt doorsturen.", "Geen jaarcontract voordat er iets werkt."], + actions: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, { + size: "lg", + onClick: () => go("#contact") + }, "Plan een gesprek"), /*#__PURE__*/React.createElement(Button, { + variant: "ghost", + href: "mailto:jonathan@blijnder.nl" + }, "Mail direct")), + footnote: "geen funnel \u2014 je mail komt bij \xE9\xE9n persoon aan" + })); +} +Object.assign(window, { + Home +}); +})(); } catch (e) { __ds_ns.__errors.push({ path: "ui_kits/marketing-site/Home.jsx", error: String((e && e.message) || e) }); } + +// ui_kits/marketing-site/Section.jsx +try { (() => { +function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } +const { + SectionHeader +} = window.BlijnderKadeDesignSystem_e2fd65 || {}; + +/** Page section wrapper: stone or slate, container width, consistent vertical rhythm. */ +function Section({ + children, + slate = false, + tight = false, + id, + style +}) { + return /*#__PURE__*/React.createElement("section", { + id: id, + "data-surface": slate ? "slate" : undefined, + style: { + background: slate ? "var(--color-slate)" : "var(--color-stone)", + color: slate ? "var(--color-neutral-1)" : "var(--color-ink-body)", + padding: `${tight ? "var(--section-y-tight)" : "var(--section-y)"} 0`, + ...style + } + }, /*#__PURE__*/React.createElement("div", { + style: { + maxWidth: "var(--container)", + margin: "0 auto", + padding: "0 var(--space-6)" + } + }, children)); +} + +/** Section opener with the standard 48px gap before its content. */ +function SectionTop(props) { + return /*#__PURE__*/React.createElement(SectionHeader, _extends({}, props, { + style: { + marginBottom: "var(--space-12)", + ...props.style + } + })); +} +function Grid({ + cols = 3, + children, + gap = "var(--space-5)", + style +}) { + return /*#__PURE__*/React.createElement("div", { + style: { + display: "grid", + gridTemplateColumns: `repeat(${cols}, 1fr)`, + gap, + ...style + } + }, children); +} +Object.assign(window, { + Section, + SectionTop, + Grid +}); +})(); } catch (e) { __ds_ns.__errors.push({ path: "ui_kits/marketing-site/Section.jsx", error: String((e && e.message) || e) }); } + +// ui_kits/marketing-site/Werk.jsx +try { (() => { +const { + Card, + Tag, + Button, + PullQuote, + SectionMarker +} = window.BlijnderKadeDesignSystem_e2fd65 || {}; +const WORK = [{ + marker: "verenigingen · 2025", + title: "Stedt", + tags: ["ledenadministratie", "aanmeldingen", "activiteiten"], + body: "Een vereniging hield leden bij in drie spreadsheets en een mailbox. Stedt bracht aanmelding, contributie en activiteiten samen in één beheerscherm dat een vrijwilliger kan bedienen." +}, { + marker: "retail · 2025", + title: "Loopt", + tags: ["voorraad", "bestellingen", "klanten"], + body: "Een winkelplatform voor ondernemers die voorraad en bestellingen nog los van elkaar bijhielden. Eén overzicht, geen export naar Excel meer." +}, { + marker: "experts · 2026", + title: "Odynt", + tags: ["kennis", "agents", "publiceren"], + body: "Infrastructuur waarmee een expert zijn kennis duizend keer beschikbaar maakt, zonder te geven wat hem uniek maakt." +}, { + marker: "intern · doorlopend", + title: "Kade", + tags: ["design system", "componenten", "tokens"], + body: "Het designsysteem waarop alle Blijnder-platforms staan. Steenkoele basis, één amberkleurig accent, en geen enkel afgerond hoekje te veel." +}]; +function Werk({ + go +}) { + return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Section, { + slate: true, + tight: true + }, /*#__PURE__*/React.createElement(SectionTop, { + markerIndex: 1, + marker: "werk", + title: "Vier platforms, vier opdrachtgevers", + subtitle: "Elk project begon met \xE9\xE9n concrete vraag. Hieronder staat wat er misging en wat er nu staat.", + size: "lg", + onSlate: true + }), /*#__PURE__*/React.createElement(PullQuote, { + onSlate: true, + attribution: "jonathan van rij" + }, "\"Ik lever geen websites op. Ik bouw het ding dat het werk overneemt.\"")), /*#__PURE__*/React.createElement(Section, null, /*#__PURE__*/React.createElement(Grid, { + cols: 2, + gap: "var(--space-6)" + }, WORK.map((item, i) => /*#__PURE__*/React.createElement(Card, { + key: item.title, + marker: item.marker, + markerIndex: i + 1, + title: item.title, + interactive: true + }, /*#__PURE__*/React.createElement("p", { + style: { + margin: "0 0 var(--space-4)" + } + }, item.body), /*#__PURE__*/React.createElement("div", { + style: { + display: "flex", + gap: "var(--space-2)", + flexWrap: "wrap" + } + }, item.tags.map(t => /*#__PURE__*/React.createElement(Tag, { + key: t + }, t)))))), /*#__PURE__*/React.createElement("div", { + style: { + marginTop: "var(--space-16)", + display: "flex", + alignItems: "center", + gap: "var(--space-6)", + flexWrap: "wrap" + } + }, /*#__PURE__*/React.createElement(SectionMarker, null, "staat jouw situatie hier niet tussen?"), /*#__PURE__*/React.createElement(Button, { + onClick: () => go("#contact") + }, "Plan een gesprek")))); +} +Object.assign(window, { + Werk +}); +})(); } catch (e) { __ds_ns.__errors.push({ path: "ui_kits/marketing-site/Werk.jsx", error: String((e && e.message) || e) }); } + +__ds_ns.ArrowList = __ds_scope.ArrowList; + +__ds_ns.Card = __ds_scope.Card; + +__ds_ns.ComparisonRow = __ds_scope.ComparisonRow; + +__ds_ns.LogoBar = __ds_scope.LogoBar; + +__ds_ns.PricingRow = __ds_scope.PricingRow; + +__ds_ns.PullQuote = __ds_scope.PullQuote; + +__ds_ns.SectionHeader = __ds_scope.SectionHeader; + +__ds_ns.StatCard = __ds_scope.StatCard; + +__ds_ns.StepNumber = __ds_scope.StepNumber; + +__ds_ns.BrandTag = __ds_scope.BrandTag; + +__ds_ns.Button = __ds_scope.Button; + +__ds_ns.Icon = __ds_scope.Icon; + +__ds_ns.Logo = __ds_scope.Logo; + +__ds_ns.SectionMarker = __ds_scope.SectionMarker; + +__ds_ns.Tag = __ds_scope.Tag; + +__ds_ns.Wordmark = __ds_scope.Wordmark; + +__ds_ns.NotificationBanner = __ds_scope.NotificationBanner; + +__ds_ns.Input = __ds_scope.Input; + +__ds_ns.Textarea = __ds_scope.Textarea; + +__ds_ns.CtaBlock = __ds_scope.CtaBlock; + +__ds_ns.Hero = __ds_scope.Hero; + +__ds_ns.SiteFooter = __ds_scope.SiteFooter; + +__ds_ns.SiteHeader = __ds_scope.SiteHeader; + +})(); diff --git a/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/styles.css b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/styles.css new file mode 100644 index 0000000..b444b4c --- /dev/null +++ b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/styles.css @@ -0,0 +1,8 @@ +@import url("tokens/fonts.css"); +@import url("tokens/colors.css"); +@import url("tokens/typography.css"); +@import url("tokens/spacing.css"); +@import url("tokens/radius.css"); +@import url("tokens/elevation.css"); +@import url("tokens/motion.css"); +@import url("tokens/base.css"); diff --git a/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/base.css b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/base.css new file mode 100644 index 0000000..f3df35f --- /dev/null +++ b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/base.css @@ -0,0 +1,23 @@ +*, +*::before, +*::after { box-sizing: border-box; } + +body { + margin: 0; + background: var(--color-stone); + color: var(--color-ink-body); + font-family: var(--font-body); + font-size: var(--text-base); + font-weight: var(--weight-body); + line-height: var(--leading-normal); + -webkit-font-smoothing: antialiased; +} + +a { color: var(--color-amber-deep); text-decoration-color: var(--color-stone-rule); text-underline-offset: 3px; transition: var(--transition-color); } +a:hover { color: var(--color-ink-body); text-decoration-color: var(--color-ink-dim); } +[data-surface="slate"] a { color: var(--color-amber); } +[data-surface="slate"] a:hover { color: var(--color-neutral-1); } + +::selection { background: var(--color-amber-ring); color: var(--color-ink-body); } + +:focus-visible { outline: 2px solid var(--color-amber); outline-offset: 2px; } diff --git a/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/colors.css b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/colors.css new file mode 100644 index 0000000..d5be354 --- /dev/null +++ b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/colors.css @@ -0,0 +1,66 @@ +/* Kade palette — cool stone paper, slate-ink dark punctuation, amber as the only accent. */ +:root { + /* Stone — the default canvas. Cool, quarried, never white. */ + --color-stone: #EFF0EE; + --color-stone-2: #E5E7E4; + --color-stone-3: #D8DBD7; + --color-stone-rule: #CDD1CD; + + /* Ink ramp — text on stone. */ + --color-ink-body: #171C22; + --color-ink-muted: #3A424C; + --color-ink-dim: #6B7480; + + /* Slate — the sparing dark surface. One or two blocks per page. */ + --color-slate: #101720; + --color-slate-2: #18202B; + --color-slate-3: #232C39; + + /* Neutral ramp — text on slate. Pure white does not exist in this system. */ + --color-neutral-1: #F4F5F4; + --color-neutral-2: #E4E7E6; + --color-neutral-3: #BAC0C0; + --color-neutral-4: #6C7783; + + /* Amber — the single accent. Reserved for action, state and signal. */ + --color-amber: #E8913A; + --color-amber-deep: #C4741F; + --color-amber-soft: #F0B476; + --color-amber-tint: rgba(232, 145, 58, 0.10); + --color-amber-ring: rgba(232, 145, 58, 0.22); + + /* Semantic aliases — prefer these in component code. */ + --surface-page: var(--color-stone); + --surface-card: var(--color-stone-2); + --surface-card-hover: var(--color-stone-3); + --surface-dark: var(--color-slate); + --surface-dark-card: var(--color-slate-2); + + --text-body: var(--color-ink-body); + --text-muted: var(--color-ink-muted); + --text-dim: var(--color-ink-dim); + --text-accent: var(--color-amber-deep); + --text-on-accent: var(--color-ink-body); + + --border-hairline: var(--color-stone-rule); + --border-strong: var(--color-ink-muted); + + --action-fill: var(--color-amber); + --action-fill-hover: var(--color-amber-deep); + --focus-ring: var(--color-amber-ring); + --focus-border: var(--color-amber); + --signal-error: var(--color-amber-deep); +} + +/* Slate scope — inside a dark block the ramps invert. Apply to the block, not the page. */ +[data-surface="slate"] { + --surface-page: var(--color-slate); + --surface-card: var(--color-slate-2); + --surface-card-hover: var(--color-slate-3); + --text-body: var(--color-neutral-1); + --text-muted: var(--color-neutral-2); + --text-dim: var(--color-neutral-4); + --text-accent: var(--color-amber); + --border-hairline: var(--color-slate-3); + --border-strong: var(--color-neutral-3); +} diff --git a/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/elevation.css b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/elevation.css new file mode 100644 index 0000000..e7a45df --- /dev/null +++ b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/elevation.css @@ -0,0 +1,8 @@ +/* Elevation is carried by the stone ramp, not by shadow. Shadows exist only for layers that + cross the page plane (dropdown, modal) and for the amber focus ring. */ +:root { + --shadow-none: none; + --shadow-dropdown: 0 4px 16px rgba(23, 28, 34, 0.10); + --shadow-modal: 0 16px 48px rgba(23, 28, 34, 0.18); + --ring-focus: 0 0 0 2px var(--color-amber-ring); +} diff --git a/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/fonts.css b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/fonts.css new file mode 100644 index 0000000..4979a2a --- /dev/null +++ b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/fonts.css @@ -0,0 +1,10 @@ +/* Kade type stack — IBM Plex Mono (display + labels) and IBM Plex Sans (body + UI). + No licensed binaries shipped with the source skills, so the families load from Google Fonts. + Replace this @import with local @font-face rules once real woff2 files are supplied. */ +@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap"); + +:root { + --font-display: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; + --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; + --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; +} diff --git a/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/motion.css b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/motion.css new file mode 100644 index 0000000..ad143ff --- /dev/null +++ b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/motion.css @@ -0,0 +1,10 @@ +/* Colour shifts only. Kade never translates, lifts, or scales on hover. */ +:root { + --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */ + --duration-fast: 120ms; /* @kind other */ + --duration-base: 160ms; /* @kind other */ + --duration-slow: 260ms; /* @kind other */ + --transition-color: color var(--duration-base) var(--ease-out), + background-color var(--duration-base) var(--ease-out), + border-color var(--duration-base) var(--ease-out); +} diff --git a/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/radius.css b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/radius.css new file mode 100644 index 0000000..214201d --- /dev/null +++ b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/radius.css @@ -0,0 +1,11 @@ +/* Kade is rectangular. A rounded card is an antipattern. */ +:root { + --radius-none: 0px; + --radius-sm: 2px; + --radius-md: 4px; + --radius-lg: 8px; + --radius-full: 9999px; + + --border-width: 1px; + --border-width-accent: 2px; +} diff --git a/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/spacing.css b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/spacing.css new file mode 100644 index 0000000..3a4dc82 --- /dev/null +++ b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/spacing.css @@ -0,0 +1,21 @@ +/* 4px base step. Section rhythm is deliberately generous; the calm comes from air, not decoration. */ +:root { + --space-1: 4px; + --space-2: 8px; + --space-3: 12px; + --space-4: 16px; + --space-5: 20px; + --space-6: 24px; + --space-8: 32px; + --space-10: 40px; + --space-12: 48px; + --space-16: 64px; + --space-20: 80px; + --space-24: 96px; + + --gutter: var(--space-6); + --section-y: var(--space-24); + --section-y-tight: var(--space-16); + --container: 1140px; + --measure: 68ch; +} diff --git a/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/typography.css b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/typography.css new file mode 100644 index 0000000..f690b37 --- /dev/null +++ b/design/_ds/blijnder-e2fd6583-1c87-4e16-bc91-117f035adbbc/tokens/typography.css @@ -0,0 +1,31 @@ +/* One scale for display (Plex Mono 700) and body (Plex Sans). Line-height tightens as size grows. */ +:root { + --text-2xs: 10px; + --text-xs: 11px; + --text-sm: 13px; + --text-base: 15px; + --text-md: 17px; + --text-lg: 20px; + --text-xl: 24px; + --text-2xl: 32px; + --text-4xl: 44px; + --text-6xl: 58px; + --text-7xl: 76px; + + --leading-display: 1.02; + --leading-tight: 1.15; + --leading-snug: 1.3; + --leading-normal: 1.6; + --leading-loose: 1.7; + + /* Plex Mono display tracking is negative; label tracking is wide. */ + --tracking-display: -0.04em; + --tracking-heading: -0.02em; + --tracking-normal: 0; + --tracking-label: 0.14em; + + --weight-body: 400; + --weight-medium: 500; + --weight-semibold: 600; + --weight-display: 700; +}