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_title: "Zur Tour anmelden"
|
||||
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"
|
||||
calendar: "Kalender"
|
||||
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_title: "Register a slot"
|
||||
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"
|
||||
calendar: "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")) }
|
||||
|
||||
h2 { (t!("what_to_do_title")) }
|
||||
|
||||
div.grid.gap-lg.grid-cols-2 {
|
||||
article {
|
||||
header { (PreEscaped(t!("new_header"))) }
|
||||
|
||||
header { (t!("what_to_do_title")) }
|
||||
div class="text-center" {
|
||||
(PreEscaped(t!("new_header")))
|
||||
}
|
||||
a
|
||||
href="https://ars.electronica.art/panic/de/view/digital-shadows-22a38ddb450c81d08bc4f50a818b0319/"
|
||||
target="_blank"
|
||||
class="btn mt-1 block"
|
||||
role="button" { (t!("more_infos")) }
|
||||
role="button" {
|
||||
(t!("more_infos"))
|
||||
(PreEscaped(" ↗️"))
|
||||
}
|
||||
}
|
||||
article {
|
||||
header { (t!("play_game_title")) }
|
||||
|
||||
(t!("play_game_description"))
|
||||
|
||||
a href="/game" title=(t!("game_link_title")) { (t!("find_out_more")) }
|
||||
|
||||
footer { (t!("location_linz")) }
|
||||
a
|
||||
href="/game"
|
||||
class="btn mt-1 block"
|
||||
title=(t!("game_link_title"))
|
||||
role="button" { (t!("find_out_more")) }
|
||||
}
|
||||
article.col-span-2 {
|
||||
header { (t!("tour_aef_title")) }
|
||||
@@ -61,9 +66,10 @@ pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
||||
target="_blank"
|
||||
class="btn mt-1 block"
|
||||
role="button"
|
||||
title=(t!("tour_register_title")) { (t!("tour_register")) }
|
||||
|
||||
footer { (t!("location_postcity")) }
|
||||
title=(t!("tour_register_title")) {
|
||||
(t!("tour_register"))
|
||||
(PreEscaped(" ↗️"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,7 +78,7 @@ pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
||||
href="https://digidow.eu"
|
||||
target="_blank"
|
||||
class="btn mt-1 block"
|
||||
role="button" { (t!("scientific_background")) }
|
||||
role="button" { (t!("scientific_background"))(PreEscaped(" ↗️")) }
|
||||
|
||||
|
||||
h2 { (t!("calendar")) }
|
||||
@@ -84,6 +90,7 @@ pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
||||
rel="noopener noreferrer"
|
||||
class="calendar-link" {
|
||||
(t!("cal_new_tab"))
|
||||
(PreEscaped(" ↗️"))
|
||||
}
|
||||
|
||||
button #embed-calendar .embed-button {
|
||||
@@ -182,9 +189,9 @@ pub(super) async fn cam(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
||||
p { (t!("cam_legal_description")) }
|
||||
|
||||
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;
|
||||
margin: 10px;
|
||||
}
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
|
Reference in New Issue
Block a user