From 15b139d877372556a9bc77b9eedaadb6cfc70c00 Mon Sep 17 00:00:00 2001 From: Franz Rolfsvaag Date: Thu, 28 May 2026 08:43:34 +0200 Subject: [PATCH] Style footer repository link --- src/App.tsx | 672 ++++++++++++++++++++++------------------ src/i18n.tsx | 808 +++++++++++++++++++++++++++++++++++++++++++++++++ src/styles.css | 66 +++- 3 files changed, 1249 insertions(+), 297 deletions(-) create mode 100644 src/i18n.tsx diff --git a/src/App.tsx b/src/App.tsx index f1b1488..ef701f9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -6,6 +6,7 @@ import { Download, FileClock, FileJson, + Github, HelpCircle, Heart, Search, @@ -53,6 +54,13 @@ import { scoreBandDisclaimer } from "./scoring"; import { verificationLabel, verificationTooltip } from "./integrity"; +import { + I18nProvider, + translateScoreBand, + translateScoreBandDescription, + translateVerificationStatus, + useI18n +} from "./i18n"; import { createFollowup, createReport, @@ -105,6 +113,15 @@ const trendMetrics: TrendMetric[] = [ ]; function App() { + return ( + + + + ); +} + +function AppRoutes() { + const { t } = useI18n(); if (window.location.pathname.startsWith("/evaluator") || window.location.pathname.startsWith("/veileder")) { return ; } @@ -121,26 +138,26 @@ function App() {
-

Lokal egenvurdering

-

Arbeidsevne

+

{t("app.eyebrow")}

+

{t("app.title")}

- Veileder + {t("app.evaluator")}
-