Skip to content

Commit a43cef3

Browse files
committed
refactor: Move identify-operator to content section
1 parent b3b3fdc commit a43cef3

File tree

24 files changed

+116
-155
lines changed

24 files changed

+116
-155
lines changed

assets/sass/operatorSearch.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
.o-operator-search__item {
1+
.o-identify-operator__item {
22
margin-bottom: 2rem;
33

44
&:last-child {
55
margin-bottom: 0;
66
}
77
}
88

9-
.o-operator-search__item-title {
9+
.o-identify-operator__item-title {
1010
margin-top: 0;
1111
margin-bottom: 1.5rem;
1212
font-size: 2rem;
1313
}
1414

15-
.o-operator-search__item-content {
15+
.o-identify-operator__item-content {
1616
display: grid;
1717
grid-template-columns: 1fr 1fr;
1818
gap: 3rem;
@@ -24,13 +24,13 @@
2424
}
2525
}
2626

27-
.o-operator-search__text {
27+
.o-identify-operator__text {
2828
display: flex;
2929
flex-direction: column;
3030
gap: 2rem;
3131
}
3232

33-
.o-operator-search__image-wrapper {
33+
.o-identify-operator__image-wrapper {
3434
order: 2;
3535

3636
@media (max-width: #{$breakpoint-md}) {
@@ -44,28 +44,28 @@
4444
}
4545
}
4646

47-
.o-operator-search__actions {
47+
.o-identify-operator__actions {
4848
margin-top: 1rem;
4949
}
5050

51-
.o-operator-search__separator {
51+
.o-identify-operator__separator {
5252
margin: 3rem 0;
5353
}
5454

55-
.o-operator-search__header {
55+
.o-identify-operator__header {
5656
display: flex;
5757
gap: 1rem;
5858
align-items: center;
5959
width: 100%;
6060
}
6161

62-
.o-operator-search__title {
62+
.o-identify-operator__title {
6363
display: flex;
6464
gap: 0.4rem;
6565
align-items: center;
6666
font-weight: 600;
6767
}
6868

69-
.o-operator-search__title-text {
69+
.o-identify-operator__title-text {
7070
line-height: 1.1;
7171
}

content/country/czechia/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Tschechien ist nicht das einfachste Land für die Nutzung von FIP, lässt sich j
1919

2020
Jedoch ist zu beachten, dass nicht mehr auf allen Strecken, auf denen die ČD fährt, auch FIP gültig ist. Zudem gibt es einzelne _kommerzielle Verbindungen_, bei denen ein Aufschlag zu zahlen ist. Mit einem FIP-Freifahrtschein müssen diese Ausnahmen alle beachtet werden, bei durch die ČD verkauften FIP 50 Tickets sollte es einfacher erkenntlich sein, für welche Züge diese gelten. Bei den privaten Betreibern wie Arriva oder Die Länderbahn wird FIP in keinem Fall anerkannt, allerdings sind die Tickets in Tschechien vergleichsweise günstig.
2121

22-
{{< operator-search operators="db-website,cd-website" >}}
22+
{{< identify-operator operators="db-website,cd-website" >}}
2323

2424
## Wissenswertes
2525

content/country/czechia/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Czechia is not the easiest country for using FIP, but it is still quite possible
1919

2020
However, note that FIP is no longer valid on all routes operated by ČD. There are also some _commercial services_ where a supplement must be paid. With a FIP Coupon, all these exceptions must be considered, while FIP 50 Tickets sold by ČD should make it easier to see which trains are valid. Private operators like Arriva or Die Länderbahn do not accept FIP at all, but tickets in Czechia are generally quite affordable.
2121

22-
{{< operator-search operators="db-website,cd-website" >}}
22+
{{< identify-operator operators="db-website,cd-website" >}}
2323

2424
## Interesting
2525

content/country/czechia/index.fr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ La Tchéquie n'est pas le pays le plus simple pour utiliser la FIP, mais il rest
1919

2020
Attention, la FIP n'est plus valable sur toutes les lignes exploitées par la ČD. Il existe aussi certains _services commerciaux_ nécessitant un supplément. Avec un Coupon FIP, il faut tenir compte de toutes ces exceptions, tandis que les Billets FIP 50 vendus par la ČD devraient permettre d'identifier plus facilement les trains valables. Les opérateurs privés comme Arriva ou Die Länderbahn n'acceptent pas du tout la FIP, mais les billets en Tchéquie restent généralement très abordables.
2121

22-
{{< operator-search operators="db-website,cd-website" >}}
22+
{{< identify-operator operators="db-website,cd-website" >}}
2323

2424
## Informations générales
2525

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Betreiber identifizieren"
3+
4+
cascade:
5+
- build:
6+
list: false
7+
publishResources: false
8+
render: never
9+
---
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Identify operator"
3+
4+
cascade:
5+
- build:
6+
list: false
7+
publishResources: false
8+
render: never
9+
---
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Identifier l'opérateur"
3+
4+
cascade:
5+
- build:
6+
list: false
7+
publishResources: false
8+
render: never
9+
---

data/operator-search/cd-website/index.de.md renamed to content/identify-operator/cd-website/index.de.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "DB Website"
3-
url: "https://example.com/de/mehr"
3+
params:
4+
url: "https://example.com/de/mehr"
45
---
56

67
Willkommen auf unserer deutschen Seite!

data/operator-search/cd-website/index.en.md renamed to content/identify-operator/cd-website/index.en.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "DB Website"
3-
url: "https://example.com/en/more"
3+
params:
4+
url: "https://example.com/en/more"
45
---
56

67
Welcome to our English page!

0 commit comments

Comments
 (0)