From 38c7fb1db9d11da7c822bc8b456a3172eff35de9 Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Thu, 2 Jul 2026 18:37:35 +0200 Subject: [PATCH] feat: add site-wide glossary with hover tooltips MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every abbreviation and technical term used in the site's copy (RBAC, NAPALM, config drift, ...) now links to a new /glossary page and shows a short definition on hover, wherever it appears in body text. Product and vendor brand names are deliberately excluded — the glossary stays a dictionary of vocabulary, not a company directory. Co-Authored-By: Claude Sonnet 5 --- src/App.tsx | 2 + src/components/Footer.tsx | 1 + src/components/GlossaryMark.tsx | 31 ++ src/components/Nav.tsx | 9 +- src/glossary/terms.ts | 579 ++++++++++++++++++++++++++++++++ src/i18n/translations.ts | 12 + src/lib/glossary.tsx | 33 ++ src/pages/Drivers.tsx | 5 +- src/pages/Features.tsx | 3 +- src/pages/Glossary.tsx | 56 +++ src/pages/Home.tsx | 29 +- src/pages/Nis2.tsx | 11 +- src/pages/Plugins.tsx | 15 +- src/pages/Roadmap.tsx | 3 +- 14 files changed, 758 insertions(+), 31 deletions(-) create mode 100644 src/components/GlossaryMark.tsx create mode 100644 src/glossary/terms.ts create mode 100644 src/lib/glossary.tsx create mode 100644 src/pages/Glossary.tsx diff --git a/src/App.tsx b/src/App.tsx index 717f3f3..30fbabf 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -8,6 +8,7 @@ import GettingStarted from './pages/GettingStarted' import Roadmap from './pages/Roadmap' import Nis2 from './pages/Nis2' import Plugins from './pages/Plugins' +import Glossary from './pages/Glossary' export default function App() { return ( @@ -23,6 +24,7 @@ export default function App() { } /> } /> } /> + } />