diff --git a/src/routes/journey.tsx b/src/routes/journey.tsx index f836962..23ef882 100644 --- a/src/routes/journey.tsx +++ b/src/routes/journey.tsx @@ -44,13 +44,15 @@ type Connection2Properties = { depart: string; duration: string; }; + line: string; + headsign: string; }; const TRAM_COLOR = "bg-[#9f3d53]"; function Connection2(properties: Connection2Properties): JSX.Element { return ( -
-
- -
-
-
+
+
+
+

+ to {properties.headsign} +

+ @@ -80,23 +84,36 @@ function Connection2(properties: Connection2Properties): JSX.Element {
- -
- Pill +
+ + + + {properties.line}
-
+ ); } export default function Journey2() { return ( <> -
+
-

Neumarkt, Köln

+

+ Neumarkt, Köln +

-
+
-

Hauptbahnhof, Bonn

+

+ Hauptbahnhof, Bonn +

- {/*
-
- - - -
-
-
-
-
*/} +
-

+

Beuel Konrad-Adenauer-Platz, Bonn