From f8d6c29c7e7f5c3a026cdbf0d3e9d4f10b0dcd68 Mon Sep 17 00:00:00 2001 From: npeter83 Date: Wed, 1 Jul 2026 14:27:42 +0200 Subject: [PATCH] feat(welcome): link to the public source repository from the footer Siftlode is open source; add a discreet 'Source code' link (trilingual) in the landing-page footer next to Privacy/Terms, pointing at the public repo. --- frontend/src/components/Welcome.tsx | 13 +++++++++++++ frontend/src/i18n/locales/de/common.json | 1 + frontend/src/i18n/locales/en/common.json | 1 + frontend/src/i18n/locales/hu/common.json | 1 + 4 files changed, 16 insertions(+) diff --git a/frontend/src/components/Welcome.tsx b/frontend/src/components/Welcome.tsx index abf494d..1c16729 100644 --- a/frontend/src/components/Welcome.tsx +++ b/frontend/src/components/Welcome.tsx @@ -1,6 +1,7 @@ import { useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; import { + Code2, Expand, Filter, Inbox, @@ -11,6 +12,9 @@ import { X, type LucideIcon, } from "lucide-react"; + +// Siftlode is open source; the landing footer links to the public repository. +const REPO_URL = "https://forge.b1fr0st.eu/peter/siftlode"; import { api } from "../lib/api"; import { HttpError } from "../lib/api"; import { setLanguage, type LangCode } from "../i18n"; @@ -102,6 +106,15 @@ export default function Welcome() { {t("common.termsOfService")} + + + {t("common.sourceCode")} + ); diff --git a/frontend/src/i18n/locales/de/common.json b/frontend/src/i18n/locales/de/common.json index f5ca1be..854bffd 100644 --- a/frontend/src/i18n/locales/de/common.json +++ b/frontend/src/i18n/locales/de/common.json @@ -1,6 +1,7 @@ { "privacyPolicy": "Datenschutzerklärung", "termsOfService": "Nutzungsbedingungen", + "sourceCode": "Quellcode", "close": "Schließen", "cancel": "Abbrechen", "confirm": "Bestätigen", diff --git a/frontend/src/i18n/locales/en/common.json b/frontend/src/i18n/locales/en/common.json index 3091ff2..3985a4e 100644 --- a/frontend/src/i18n/locales/en/common.json +++ b/frontend/src/i18n/locales/en/common.json @@ -1,6 +1,7 @@ { "privacyPolicy": "Privacy Policy", "termsOfService": "Terms of Service", + "sourceCode": "Source code", "close": "Close", "cancel": "Cancel", "confirm": "Confirm", diff --git a/frontend/src/i18n/locales/hu/common.json b/frontend/src/i18n/locales/hu/common.json index b5b9efb..2243ad7 100644 --- a/frontend/src/i18n/locales/hu/common.json +++ b/frontend/src/i18n/locales/hu/common.json @@ -1,6 +1,7 @@ { "privacyPolicy": "Adatvédelmi irányelvek", "termsOfService": "Felhasználási feltételek", + "sourceCode": "Forráskód", "close": "Bezárás", "cancel": "Mégse", "confirm": "Megerősítés",