Skip to content

Commit 96a52f4

Browse files
authored
Merge branch 'main' into feat/add-germany
2 parents e7b2194 + af11e4b commit 96a52f4

File tree

147 files changed

+725
-568
lines changed

Some content is hidden

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

147 files changed

+725
-568
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.

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-
}

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Booking information for the CFL hotline."
66
params:
77
additional_info_link: "https://blogcfl.lu/en/cfl-group/352-2489-2489-do-you-have-questions-please-contact-us-at-this-number"
88
type: "phone"
9-
fee: €5
9+
fee: 5
1010

1111
aliases:
1212
- cfl_phone

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Informations de réservation via la hotline CFL."
66
params:
77
additional_info_link: "https://blogcfl.lu/fr/groupe-cfl/352-2489-2489-des-questions-un-numero-pour-vous-tenir-informes"
88
type: "phone"
9-
fee: 5€
9+
fee: 5
1010

1111
aliases:
1212
- cfl_phone

0 commit comments

Comments
 (0)