Skip to content

Commit 793fe5a

Browse files
authored
Merge branch 'main' into 373-backlink-from-booking-page
2 parents 3d445b2 + 6841fe1 commit 793fe5a

File tree

153 files changed

+892
-654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+892
-654
lines changed

.opencode/command/check.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ agent: plan
66
Check the page $ARGUMENTS for errors. List ALL errors you can find. Run the analysis step by step.
77
When a language is provided in this prompt, only check check the specified language. Otherwise check all languages of the page.
88

9+
Before starting the check of German pages, read & understand the styleguide defined in `styleguide_de.md`.
10+
911
Common errors are:
1012

1113
- Grammatical, typographical, or spelling errors
@@ -14,3 +16,5 @@ Common errors are:
1416
- The page structure doesn't follow the archetype defined in `archetypes`
1517
- Anchors of internal links are not matching the referenced and translated title
1618
- Keywords are not translated as defined in the translations table in `AGENTS.md`
19+
20+
DO NOT report correct information. In the error report, only show errors.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
[
2+
{
3+
"DE": "Bosnien und Herzegowina",
4+
"EN": "Bosnia-Herzegovina",
5+
"FR": "Bosnie-Herzégovine"
6+
},
7+
{
8+
"DE": "Kroatien",
9+
"EN": "Croatia",
10+
"FR": "Croatie"
11+
},
12+
{
13+
"DE": "Deutschland (bald verfügbar)",
14+
"EN": "Germany (coming soon)",
15+
"FR": "Allemagne (à venir)"
16+
},
17+
{
18+
"DE": "Griechenland",
19+
"EN": "Greece",
20+
"FR": "Grèce"
21+
},
22+
{
23+
"DE": "Ungarn",
24+
"EN": "Hungary",
25+
"FR": "Hongrie"
26+
},
27+
{
28+
"DE": "Irland",
29+
"EN": "Ireland",
30+
"FR": "Irlande"
31+
},
32+
{
33+
"DE": "Kosovo",
34+
"EN": "Kosovo",
35+
"FR": "Kosovo"
36+
},
37+
{
38+
"DE": "Litauen",
39+
"EN": "Lithuania",
40+
"FR": "Lituanie"
41+
},
42+
{
43+
"DE": "Luxemburg (bald verfügbar)",
44+
"EN": "Luxembourg (coming soon)",
45+
"FR": "Luxembourg (à venir)"
46+
},
47+
{
48+
"DE": "Montenegro",
49+
"EN": "Montenegro",
50+
"FR": "Monténégro"
51+
},
52+
{
53+
"DE": "Nord-Mazedonien",
54+
"EN": "North Macedonia",
55+
"FR": "Macédoine du Nord"
56+
},
57+
{
58+
"DE": "Nordirland",
59+
"EN": "Northern Ireland",
60+
"FR": "Irlande du Nord"
61+
},
62+
{
63+
"DE": "Norwegen",
64+
"EN": "Norway",
65+
"FR": "Norvège"
66+
},
67+
{
68+
"DE": "Rumänien",
69+
"EN": "Romania",
70+
"FR": "Roumanie"
71+
},
72+
{
73+
"DE": "Serbien",
74+
"EN": "Serbia",
75+
"FR": "Serbie"
76+
},
77+
{
78+
"DE": "Slowenien",
79+
"EN": "Slovakia",
80+
"FR": "Slovaquie"
81+
}
82+
]

assets/sass/booking.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
.o-booking__title {
5454
display: flex;
5555
gap: 0.4rem;
56-
align-items: flex-start;
56+
align-items: center;
5757
font-weight: 600;
5858
}
5959

assets/sass/contentNavigation.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
li {
2626
margin-bottom: 0.3rem;
2727
}
28+
29+
@media print {
30+
display: none;
31+
}
2832
}
2933

3034
.o-aside__header {

assets/sass/expander.scss

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,23 @@
3838
}
3939
}
4040
}
41+
42+
> .material-symbols-rounded {
43+
transition: transform 0.2s;
44+
45+
@media print {
46+
display: none;
47+
}
48+
}
49+
50+
> div {
51+
display: flex;
52+
align-items: center;
53+
gap: 0.5rem;
54+
}
4155
}
4256

43-
.details-screen[open] > .o-expander__summary {
57+
details[open] > .o-expander__summary {
4458
&:hover,
4559
&:focus {
4660
border-radius: var(--border-radius-m) var(--border-radius-m) 0 0;
@@ -62,10 +76,6 @@
6276
}
6377
}
6478

65-
.details-print {
66-
display: none;
67-
}
68-
6979
details {
7080
position: relative;
7181
background-color: var(--bg-neutral);
@@ -76,46 +86,35 @@ details {
7686
width: 100%;
7787
margin-left: 0;
7888
}
79-
}
8089

81-
details > summary {
82-
list-style-type: none;
83-
}
90+
> summary {
91+
list-style-type: none;
92+
}
8493

85-
details > div {
86-
overflow-x: auto;
87-
}
94+
> div {
95+
overflow-x: auto;
96+
}
8897

89-
details > summary::-webkit-details-marker {
90-
display: none;
91-
}
98+
> summary::-webkit-details-marker {
99+
display: none;
100+
}
92101

93-
.o-expander__summary > span {
94-
transition: transform 0.2s;
95-
}
102+
@media print {
103+
border: 0.2rem solid #bbb;
104+
page-break-inside: avoid;
105+
display: block;
96106

97-
.o-expander__summary > div {
98-
display: flex;
99-
align-items: center;
100-
gap: 0.5rem;
107+
&::details-content {
108+
content-visibility: visible;
109+
height: auto !important;
110+
}
111+
}
101112
}
102113

103-
.details-screen[open] > .o-expander__summary > span {
114+
details[open] > .o-expander__summary > .material-symbols-rounded {
104115
transform: rotate(180deg);
105116
}
106117

107118
details[open] > .o-expander__summary:not(.o-expander__summary--booking) {
108119
font-weight: 700;
109120
}
110-
111-
@media print {
112-
.details-screen {
113-
display: none;
114-
}
115-
116-
.details-print {
117-
border: 0.2rem solid #bbb;
118-
page-break-inside: avoid;
119-
display: block;
120-
}
121-
}

assets/sass/fonts.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,5 @@ button {
145145
text-decoration: none;
146146
width: 1em;
147147
height: 1em;
148+
user-select: none;
148149
}

content/booking/bdz-ticket-office/index.de.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: "BDŽ Ticketschalter"
44
description: "Buchungsinformationen für die BDŽ Ticketschalter."
55
params:
66
classes:
7-
first: "1 Lew / 0,51€"
8-
second: "1 Lew / 0,51€"
7+
first: "1 Lew / 0,51 "
8+
second: "1 Lew / 0,51 "
99
fip_50: true
1010
reservations: true
1111
additional_info_link: "https://www.bdz.bg/en/a/stations"

content/booking/bdz-ticket-office/index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: "BDŽ Ticket Office"
44
description: "Booking information for BDŽ ticket offices."
55
params:
66
classes:
7-
first: "1 Lev / €0.51"
8-
second: "1 Lev / €0.51"
7+
first: "Lev 1 / € 0.51"
8+
second: "Lev 1 / € 0.51"
99
fip_50: true
1010
reservations: true
1111
additional_info_link: "https://www.bdz.bg/en/a/stations"

content/booking/bdz-ticket-office/index.fr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: "Guichet BDŽ"
44
description: "Informations de réservation pour les guichets BDŽ."
55
params:
66
classes:
7-
first: "1 Lev / 0,51€"
8-
second: "1 Lev / 0,51€"
7+
first: "1 Lev / 0,51 "
8+
second: "1 Lev / 0,51 "
99
fip_50: true
1010
reservations: true
1111
additional_info_link: "https://www.bdz.bg/en/a/stations"

content/booking/cfl-phone/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Buchungsinformationen für die CFL Hotline."
66
params:
77
additional_info_link: "https://blogcfl.lu/de/cfl-gruppe/352-2489-2489-haben-sie-fragen-wenden-sie-sich-an-uns-unter-dieser-nummer"
88
type: "phone"
9-
fee: 5€
9+
fee: 5
1010

1111
aliases:
1212
- cfl_phone

0 commit comments

Comments
 (0)