From a477dda9dc4291ab25fffe2525acf44177154c86 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sun, 30 Nov 2025 23:27:33 +0100 Subject: Remake home and settings pages using Tailwind styles --- src/frontend/app/components/StopGalleryItem.tsx | 38 +++++++++++++++++++------ 1 file changed, 30 insertions(+), 8 deletions(-) (limited to 'src/frontend/app/components/StopGalleryItem.tsx') diff --git a/src/frontend/app/components/StopGalleryItem.tsx b/src/frontend/app/components/StopGalleryItem.tsx index 72a13e5..6c80362 100644 --- a/src/frontend/app/components/StopGalleryItem.tsx +++ b/src/frontend/app/components/StopGalleryItem.tsx @@ -9,21 +9,43 @@ interface StopGalleryItemProps { const StopGalleryItem: React.FC = ({ stop }) => { return ( -
- -
- {stop.favourite && } - ({stop.stopId}) +
+ +
+ {stop.favourite && } + + ({stop.stopId}) +
-
+
{StopDataProvider.getDisplayName(stop)}
-
+
{stop.lines?.slice(0, 5).map((line) => ( ))} {stop.lines && stop.lines.length > 5 && ( - +{stop.lines.length - 5} + + +{stop.lines.length - 5} + )}
-- cgit v1.3