From 0d8aff5092cd4a43a2bd6810c61e6e7d4a20a90c Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Mon, 1 Dec 2025 00:22:03 +0100 Subject: Rework the about page (which was breaking the builds btw) --- src/frontend/app/routes/about.tsx | 178 ++++++++++++++++++++++++++++---------- 1 file changed, 132 insertions(+), 46 deletions(-) (limited to 'src/frontend/app/routes/about.tsx') diff --git a/src/frontend/app/routes/about.tsx b/src/frontend/app/routes/about.tsx index d41268d..1354e8f 100644 --- a/src/frontend/app/routes/about.tsx +++ b/src/frontend/app/routes/about.tsx @@ -1,59 +1,145 @@ import { useTranslation } from "react-i18next"; import { usePageTitle } from "~/contexts/PageTitleContext"; -import { useApp } from "../AppContext"; -import "./about.css"; -import "./settings.css"; // Reusing settings CSS for now +import '../tailwind-full.css'; export default function About() { const { t } = useTranslation(); usePageTitle(t("about.title", "Acerca de")); - const { region } = useApp(); return ( -
-

{t("about.description")}

- -

{t("about.credits")}

-

- - {t("about.github")} - {" "} - - {t("about.developed_by")}{" "} - - Ariel Costas - -

- {region === "vigo" && ( -

- {t("about.data_source_prefix")}{" "} - - datos.vigo.org - {" "} - {t("about.data_source_middle")}{" "} - - Open Data Commons Attribution License - - . +

+
+

+ {t("about.description")}

- )} +
+ +
+

+ {t("about.data_sources_title")} +

+

{t("about.data_sources_intro")}

+ + +
+

+ + {t("about.map_tiles")}: + + + + OpenFreeMap + {" "} + + {t("about.map_themes")} + + +

+
+ +
+

+ {t("about.thanks_council")} +

+
+
+ +
+

+ {t("about.credits")} +

+
+

+ {t("about.developed_by")} + + Ariel Costas + +

+

+ {t("about.open_source")} + + + GitHub + +

+

+ {t("about.license_prefix")} + + Open Data Commons Attribution License + +

+
+
-
+
Version: {__COMMIT_HASH__}
-- cgit v1.3