From 7df3b7f8d3e77510196fef02f6130ac918287a63 Mon Sep 17 00:00:00 2001 From: davegilligan Date: Sun, 24 May 2026 14:44:44 +0200 Subject: [PATCH] Replace manifesto bar with compact context bar + add privacy page - layout.php: replace large manifesto section (eyebrow/title/sub/4 stats) with a slim dbn-context-bar strip linking to why-ours, pricing, MCP, and privacy - i18n.php: add context_bar_* + footer_privacy_link + privacy_page_title keys to all 4 language blocks (en, no, uk, pl) - dbn-tools-redesign.css: add .dbn-context-bar styles with mobile wrap - privacy.php: new standalone page in 4 languages covering in-memory processing, metadata-only logging, My Case opt-in storage, EU data locations, and HTTPS transport - footer.php: add Privacy link to first footer column Co-Authored-By: Claude Sonnet 4.6 --- assets/css/dbn-tools-redesign.css | 51 ++++ includes/footer.php | 1 + includes/i18n.php | 32 ++ includes/layout.php | 22 +- privacy.php | 474 ++++++++++++++++++++++++++++++ 5 files changed, 567 insertions(+), 13 deletions(-) create mode 100644 privacy.php diff --git a/assets/css/dbn-tools-redesign.css b/assets/css/dbn-tools-redesign.css index 7682528..914f55b 100644 --- a/assets/css/dbn-tools-redesign.css +++ b/assets/css/dbn-tools-redesign.css @@ -819,3 +819,54 @@ body[data-active-tool='citations'] .results { transition-duration: 0.001ms !important; } } + +/* ── Context bar (replaces manifesto, added 2026-05-24) ──────────────────── */ +.dbn-context-bar { + display: flex; + align-items: center; + gap: 0.5rem 1.25rem; + flex-wrap: wrap; + padding: 0.45rem 1.25rem; + background: var(--color-navy, #00205B); + font-size: 0.8rem; + color: rgba(255, 255, 255, 0.7); + border-bottom: 1px solid rgba(255, 255, 255, 0.08); +} + +.dbn-context-bar__tag { + font-weight: 600; + color: #fff; + white-space: nowrap; + flex-shrink: 0; +} + +.dbn-context-bar__links { + display: flex; + gap: 0.25rem 1rem; + flex-wrap: wrap; + list-style: none; + margin: 0; + padding: 0; +} + +.dbn-context-bar__links a { + color: rgba(255, 255, 255, 0.72); + text-decoration: none; + white-space: nowrap; + transition: color 0.15s ease; +} + +.dbn-context-bar__links a:hover, +.dbn-context-bar__links a:focus-visible { + color: #fff; + text-decoration: underline; +} + +@media (max-width: 640px) { + .dbn-context-bar { + flex-direction: column; + align-items: flex-start; + gap: 0.35rem; + padding: 0.55rem 1rem; + } +} diff --git a/includes/footer.php b/includes/footer.php index ffc6d64..93ba52b 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -28,6 +28,7 @@ function _ft(string $key, string $lang): string { +