From c6a4a24fb6f4fd8de6707ecacb67136a72654736 Mon Sep 17 00:00:00 2001 From: schn33fuchs Date: Wed, 13 May 2026 13:31:56 +0200 Subject: [PATCH] Sam did something --- frontend/src/pages/user.rs | 3 +++ frontend/src/styles/components/_frontpage.scss | 5 +++++ frontend/src/styles/main.scss | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100644 frontend/src/styles/components/_frontpage.scss diff --git a/frontend/src/pages/user.rs b/frontend/src/pages/user.rs index 8f68c5e..dbd3bd4 100644 --- a/frontend/src/pages/user.rs +++ b/frontend/src/pages/user.rs @@ -328,6 +328,8 @@ pub fn login_component() -> Html { }; html! { +
+

{ "Anmeldung" }

Html { if !error.is_empty() {

{(*error).clone()}

}
+
} } diff --git a/frontend/src/styles/components/_frontpage.scss b/frontend/src/styles/components/_frontpage.scss new file mode 100644 index 0000000..9f86d39 --- /dev/null +++ b/frontend/src/styles/components/_frontpage.scss @@ -0,0 +1,5 @@ +.headline { + font-size: 30px; + font-weight: bold; + text-align: center; +} \ No newline at end of file diff --git a/frontend/src/styles/main.scss b/frontend/src/styles/main.scss index a8d7160..3277f97 100644 --- a/frontend/src/styles/main.scss +++ b/frontend/src/styles/main.scss @@ -4,6 +4,7 @@ @use "components/sidebar"; @use "components/tickets"; @use "components/diagnostics"; +@use "components/frontpage"; body { background: variables.$color-bg; @@ -36,3 +37,10 @@ body { .content { margin-left: 0; } } +form { + align-content: center; + + input, button { + display: block; + } +} \ No newline at end of file