Merge commit 'c1c659f7711c94e7dc02437d7895cb943639bba0'

This commit is contained in:
Marie Birner
2025-08-03 09:46:58 +02:00
3 changed files with 74 additions and 3 deletions

View File

@@ -1,7 +1,10 @@
use crate::page::new;
use crate::{language::language, page::new};
use axum::http::HeaderMap;
use axum_extra::extract::CookieJar;
use maud::{html, Markup};
pub(super) async fn index() -> Markup {
pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
let lang = language(&cookies, &headers);
new(html! {
h1 { "Digital Shadows" }
hgroup {