From 43ed2071f4ee63b6583e65e56ff80ecff91dedd7 Mon Sep 17 00:00:00 2001 From: Urko Date: Fri, 30 Jan 2026 20:20:36 +0000 Subject: [PATCH] feat: footer with source code link --- app/globals.css | 52 +++++++++++++++++++++++++++++++++++++++++++++ app/locales/de.json | 3 +++ app/locales/en.json | 3 +++ app/locales/es.json | 3 +++ app/locales/fr.json | 3 +++ app/locales/it.json | 3 +++ app/locales/sv.json | 3 +++ app/page.tsx | 28 ++++++++++++++++++++++++ 8 files changed, 98 insertions(+) diff --git a/app/globals.css b/app/globals.css index 9f3bcbf..9fb056d 100644 --- a/app/globals.css +++ b/app/globals.css @@ -593,6 +593,58 @@ button:hover:not(:disabled) { font-size: 12px; } +.footer { + margin-top: 8px; + padding: 14px 18px; + border: 1px solid var(--border); + border-radius: 14px; + background: var(--surface); + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; +} + +.footer-left { + display: flex; + align-items: center; + gap: 10px; +} + +.version-pill { + display: inline-flex; + align-items: center; + justify-content: center; + padding: 6px 10px; + border-radius: 999px; + font-weight: 700; + font-size: 12px; + letter-spacing: 0.03em; + background: var(--pill); + border: 1px solid var(--pill-border); + color: var(--pill-text); +} + +.footer-link { + display: inline-flex; + align-items: center; + gap: 8px; + color: var(--ink); + text-decoration: none; + font-weight: 700; +} + +.footer-link:hover { + color: var(--link); + text-decoration: underline; +} + +.gitea-icon { + width: 26px; + height: 26px; + display: inline-block; +} + @media (max-width: 640px) { body { padding: 18px; diff --git a/app/locales/de.json b/app/locales/de.json index c4abfb6..221e4c9 100644 --- a/app/locales/de.json +++ b/app/locales/de.json @@ -56,6 +56,9 @@ "from": "Von", "to": "An" }, + "footer": { + "repo": "Quellcode auf Gitea" + }, "status": { "waiting": "Warten auf Verbindung…", "preparingConnect": "Verbindung wird vorbereitet…", diff --git a/app/locales/en.json b/app/locales/en.json index 5b0d42e..fafb1e1 100644 --- a/app/locales/en.json +++ b/app/locales/en.json @@ -56,6 +56,9 @@ "from": "From", "to": "To" }, + "footer": { + "repo": "Source on Gitea" + }, "status": { "waiting": "Waiting to connect…", "preparingConnect": "Preparing to connect…", diff --git a/app/locales/es.json b/app/locales/es.json index a4a4f34..36fc0db 100644 --- a/app/locales/es.json +++ b/app/locales/es.json @@ -56,6 +56,9 @@ "from": "De", "to": "Para" }, + "footer": { + "repo": "Código fuente en Gitea" + }, "status": { "waiting": "Esperando conexión…", "preparingConnect": "Preparando conexión…", diff --git a/app/locales/fr.json b/app/locales/fr.json index 0fa371a..6ea903d 100644 --- a/app/locales/fr.json +++ b/app/locales/fr.json @@ -56,6 +56,9 @@ "from": "De", "to": "À" }, + "footer": { + "repo": "Code source sur Gitea" + }, "status": { "waiting": "En attente de connexion…", "preparingConnect": "Préparation de la connexion…", diff --git a/app/locales/it.json b/app/locales/it.json index 099fd33..870afc5 100644 --- a/app/locales/it.json +++ b/app/locales/it.json @@ -56,6 +56,9 @@ "from": "Da", "to": "A" }, + "footer": { + "repo": "Codice sorgente su Gitea" + }, "status": { "waiting": "In attesa di connessione…", "preparingConnect": "Preparazione della connessione…", diff --git a/app/locales/sv.json b/app/locales/sv.json index 0087b92..446ee40 100644 --- a/app/locales/sv.json +++ b/app/locales/sv.json @@ -56,6 +56,9 @@ "from": "Från", "to": "Till" }, + "footer": { + "repo": "Källkod på Gitea" + }, "status": { "waiting": "Väntar på anslutning…", "preparingConnect": "Förbereder anslutning…", diff --git a/app/page.tsx b/app/page.tsx index c784715..239af05 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -563,6 +563,34 @@ export default function HomePage() { + + ); }