From 4420def7411a053e930b44117e2bf63625d824dc Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Fri, 7 Nov 2025 12:43:18 +0100 Subject: Make "stops" page be the home (renaming only) --- src/frontend/app/components/NavBar.tsx | 7 +- src/frontend/app/components/StopGalleryItem.tsx | 2 +- src/frontend/app/root.tsx | 14 +- src/frontend/app/routes.tsx | 3 +- src/frontend/app/routes/home.css | 310 +++++++++++++++++++++++ src/frontend/app/routes/home.tsx | 322 ++++++++++++++++++++++++ src/frontend/app/routes/index.tsx | 5 - src/frontend/app/routes/settings.tsx | 2 +- src/frontend/app/routes/stoplist.css | 310 ----------------------- src/frontend/app/routes/stoplist.tsx | 321 ----------------------- src/frontend/public/manifest.webmanifest | 6 +- 11 files changed, 644 insertions(+), 658 deletions(-) create mode 100644 src/frontend/app/routes/home.css create mode 100644 src/frontend/app/routes/home.tsx delete mode 100644 src/frontend/app/routes/index.tsx delete mode 100644 src/frontend/app/routes/stoplist.css delete mode 100644 src/frontend/app/routes/stoplist.tsx (limited to 'src/frontend') diff --git a/src/frontend/app/components/NavBar.tsx b/src/frontend/app/components/NavBar.tsx index 6a06e63..bb73d58 100644 --- a/src/frontend/app/components/NavBar.tsx +++ b/src/frontend/app/components/NavBar.tsx @@ -27,7 +27,8 @@ export default function NavBar() { { name: t("navbar.stops", "Paradas"), icon: MapPin, - path: "/stops", + path: "/", + exact: true }, { name: t("navbar.map", "Mapa"), @@ -65,7 +66,9 @@ export default function NavBar() {