diff --git a/src/App.vue b/src/App.vue index cd9d793..30d2b2a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,7 +24,7 @@ export default defineComponent({ setup() { const mockStation: StationData = { - stationName: 'Czermin', + stationName: 'Lisków', nameAbbreviation: '', stationCheckpoints: [], }; diff --git a/src/components/Pragotron.vue b/src/components/Pragotron.vue index 6013595..c0bd449 100644 --- a/src/components/Pragotron.vue +++ b/src/components/Pragotron.vue @@ -2,7 +2,9 @@
- ODJAZDY + +
{{ selectedStation.stationName.toUpperCase() }}
+
DO STACJI @@ -18,15 +20,17 @@
-
- {{ departure.routeTo.toUpperCase() }} +
+ {{ abbrevStationName(departure.tableValues.routeTo) }}
-
{{ departure.routeVia.toUpperCase() }}
+
+ {{ abbrevStationName(departure.tableValues.routeVia) }} +
@@ -81,15 +85,17 @@ @@ -315,7 +323,7 @@ export default defineComponent({ .slot-anim { &-enter-active, &-leave-active { - transition: all 80ms ease-in; + transition: all 50ms ease-in-out; } &-enter-from, @@ -354,7 +362,11 @@ export default defineComponent({ .top-pane { background: white; - height: 130px; + height: 180px; + + display: flex; + flex-direction: column; + justify-content: space-between; .title { padding: 0; @@ -419,7 +431,7 @@ export default defineComponent({ .slider-slot { background: #010101; - width: 80%; + width: 85%; height: 2em; line-height: 2em; }