more consistency

This commit is contained in:
2025-08-27 18:33:07 +02:00
parent 943a51ec5e
commit be5b561799
4 changed files with 26 additions and 16 deletions

View File

@@ -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(" ↗️")) }
}
})