From 89d83f305db69f5bf86a4290341785b2673c35d0 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Mon, 1 Dec 2025 00:10:58 +0100 Subject: Add line list with link to official schedules --- src/frontend/app/routes/lines.tsx | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/frontend/app/routes/lines.tsx (limited to 'src/frontend/app/routes/lines.tsx') diff --git a/src/frontend/app/routes/lines.tsx b/src/frontend/app/routes/lines.tsx new file mode 100644 index 0000000..658716f --- /dev/null +++ b/src/frontend/app/routes/lines.tsx @@ -0,0 +1,37 @@ +import { useTranslation } from "react-i18next"; +import LineIcon from "~/components/LineIcon"; +import { usePageTitle } from "~/contexts/PageTitleContext"; +import { VIGO_LINES } from "~/data/LinesData"; +import '../tailwind-full.css'; + +export default function LinesPage() { + const { t } = useTranslation(); + usePageTitle(t("navbar.lines", "Líneas")); + + return ( +
+

+ {t("lines.description", "A continuación se muestra una lista de las líneas de autobús urbano de Vigo con sus respectivas rutas y enlaces a los horarios oficiales.")} +

+ +
+ {VIGO_LINES.map((line) => ( + + +
+

+ {line.routeName} +

+
+
+ ))} +
+
+ ); +} -- cgit v1.3