more consistency
This commit is contained in:
@@ -26,7 +26,7 @@ tour_aef_description: "Digital Shadows lädt dich ein, Fragen nach digitaler und
|
|||||||
tour_register: "Jetzt anmelden"
|
tour_register: "Jetzt anmelden"
|
||||||
tour_register_title: "Zur Tour anmelden"
|
tour_register_title: "Zur Tour anmelden"
|
||||||
more_infos: "Mehr Infos"
|
more_infos: "Mehr Infos"
|
||||||
new_header: "Laufende<br />Ausstellung <br /> Performances <br/> Immersive Theatre Tour"
|
new_header: "Laufende Ausstellung • Performances • Immersive Theater Tour"
|
||||||
scientific_background: "Scientific background"
|
scientific_background: "Scientific background"
|
||||||
calendar: "Kalender"
|
calendar: "Kalender"
|
||||||
cal_options: "Wähle wie du den Kalender anzeigen willst"
|
cal_options: "Wähle wie du den Kalender anzeigen willst"
|
||||||
|
@@ -27,7 +27,7 @@ Between play and analysis, between concealment and disclosure, an intense reflec
|
|||||||
tour_register: "Register now"
|
tour_register: "Register now"
|
||||||
tour_register_title: "Register a slot"
|
tour_register_title: "Register a slot"
|
||||||
more_infos: "More infos"
|
more_infos: "More infos"
|
||||||
new_header: "Ongoing<br />Exhibition<br /> Performances <br/> Immersive Tour"
|
new_header: "Ongoing Exhibition • Performances • Immersive Tour"
|
||||||
scientific_background: "Scientific background"
|
scientific_background: "Scientific background"
|
||||||
calendar: "Calendar"
|
calendar: "Calendar"
|
||||||
cal_options: "Choose how you'd like to access the calendar"
|
cal_options: "Choose how you'd like to access the calendar"
|
||||||
|
35
src/index.rs
35
src/index.rs
@@ -30,26 +30,31 @@ pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
|||||||
}
|
}
|
||||||
p { (t!("project_description")) }
|
p { (t!("project_description")) }
|
||||||
|
|
||||||
h2 { (t!("what_to_do_title")) }
|
|
||||||
|
|
||||||
div.grid.gap-lg.grid-cols-2 {
|
div.grid.gap-lg.grid-cols-2 {
|
||||||
article {
|
article {
|
||||||
header { (PreEscaped(t!("new_header"))) }
|
header { (t!("what_to_do_title")) }
|
||||||
|
div class="text-center" {
|
||||||
|
(PreEscaped(t!("new_header")))
|
||||||
|
}
|
||||||
a
|
a
|
||||||
href="https://ars.electronica.art/panic/de/view/digital-shadows-22a38ddb450c81d08bc4f50a818b0319/"
|
href="https://ars.electronica.art/panic/de/view/digital-shadows-22a38ddb450c81d08bc4f50a818b0319/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="btn mt-1 block"
|
class="btn mt-1 block"
|
||||||
role="button" { (t!("more_infos")) }
|
role="button" {
|
||||||
|
(t!("more_infos"))
|
||||||
|
(PreEscaped(" ↗️"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
article {
|
article {
|
||||||
header { (t!("play_game_title")) }
|
header { (t!("play_game_title")) }
|
||||||
|
|
||||||
(t!("play_game_description"))
|
(t!("play_game_description"))
|
||||||
|
|
||||||
a href="/game" title=(t!("game_link_title")) { (t!("find_out_more")) }
|
a
|
||||||
|
href="/game"
|
||||||
footer { (t!("location_linz")) }
|
class="btn mt-1 block"
|
||||||
|
title=(t!("game_link_title"))
|
||||||
|
role="button" { (t!("find_out_more")) }
|
||||||
}
|
}
|
||||||
article.col-span-2 {
|
article.col-span-2 {
|
||||||
header { (t!("tour_aef_title")) }
|
header { (t!("tour_aef_title")) }
|
||||||
@@ -61,9 +66,10 @@ pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
class="btn mt-1 block"
|
class="btn mt-1 block"
|
||||||
role="button"
|
role="button"
|
||||||
title=(t!("tour_register_title")) { (t!("tour_register")) }
|
title=(t!("tour_register_title")) {
|
||||||
|
(t!("tour_register"))
|
||||||
footer { (t!("location_postcity")) }
|
(PreEscaped(" ↗️"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -72,7 +78,7 @@ pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
|||||||
href="https://digidow.eu"
|
href="https://digidow.eu"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="btn mt-1 block"
|
class="btn mt-1 block"
|
||||||
role="button" { (t!("scientific_background")) }
|
role="button" { (t!("scientific_background"))(PreEscaped(" ↗️")) }
|
||||||
|
|
||||||
|
|
||||||
h2 { (t!("calendar")) }
|
h2 { (t!("calendar")) }
|
||||||
@@ -84,6 +90,7 @@ pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
|||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
class="calendar-link" {
|
class="calendar-link" {
|
||||||
(t!("cal_new_tab"))
|
(t!("cal_new_tab"))
|
||||||
|
(PreEscaped(" ↗️"))
|
||||||
}
|
}
|
||||||
|
|
||||||
button #embed-calendar .embed-button {
|
button #embed-calendar .embed-button {
|
||||||
@@ -182,9 +189,9 @@ pub(super) async fn cam(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
|||||||
p { (t!("cam_legal_description")) }
|
p { (t!("cam_legal_description")) }
|
||||||
|
|
||||||
div.legal-docs {
|
div.legal-docs {
|
||||||
a href="/static/dsb-request.pdf" target="_blank" title=(t!("cam_legal_request_title")) { (t!("cam_legal_request")) }
|
a href="/static/dsb-request.pdf" target="_blank" title=(t!("cam_legal_request_title")) { (t!("cam_legal_request"))(PreEscaped(" ↗️"))}
|
||||||
" | "
|
" | "
|
||||||
a href="/static/dsb-accept.pdf" target="_blank" title=(t!("cam_legal_decision_title")) { (t!("cam_legal_decision")) }
|
a href="/static/dsb-accept.pdf" target="_blank" title=(t!("cam_legal_decision_title")) { (t!("cam_legal_decision"))(PreEscaped(" ↗️")) }
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@@ -53,6 +53,9 @@ body {
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
.text-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
|
Reference in New Issue
Block a user