diff --git a/axum_server/Cargo.toml b/axum_server/Cargo.toml index 03430ca..93cb3de 100644 --- a/axum_server/Cargo.toml +++ b/axum_server/Cargo.toml @@ -29,10 +29,12 @@ rustflags = ["-Z", "threads=8"] [profile.dev] debug = true -opt-level = 1 +opt-level = 0 +codegen-units = 16 lto = "thin" panic = "unwind" strip = false +incremental = true [profile.dev.package.askama_derive] opt-level = 3 diff --git a/axum_server/src/main.rs b/axum_server/src/main.rs index b6dc39f..bf3115d 100644 --- a/axum_server/src/main.rs +++ b/axum_server/src/main.rs @@ -48,4 +48,7 @@ async fn main() { axum::serve(listener, app).await.unwrap(); } -// TODO displaying Image from netlify CDN +// TODO footer +// TODO Display blog posts +// TODO responsive design +// TODO go live pipeline diff --git a/axum_server/styles/output.css b/axum_server/styles/output.css index 9171195..94734fe 100644 --- a/axum_server/styles/output.css +++ b/axum_server/styles/output.css @@ -624,6 +624,11 @@ video { margin-bottom: 1.5rem; } +.mx-1 { + margin-left: 0.25rem; + margin-right: 0.25rem; +} + .mb-1 { margin-bottom: 0.25rem; } @@ -692,6 +697,14 @@ video { height: 1.75rem; } +.h-10 { + height: 2.5rem; +} + +.h-8 { + height: 2rem; +} + .min-h-full { min-height: 100%; } diff --git a/axum_server/templates/base.html b/axum_server/templates/base.html index 35d23db..22a87f3 100644 --- a/axum_server/templates/base.html +++ b/axum_server/templates/base.html @@ -36,7 +36,6 @@ {% include "site_header.html" %} {% block content %} Placeholder {% endblock %} - {# footer, should be not dependant on the each individual handler but it should have it's own handler #} - {{ site_footer|safe }} + {% include "site_footer.html" %} diff --git a/axum_server/templates/index.html b/axum_server/templates/index.html index 28ad53b..02df395 100644 --- a/axum_server/templates/index.html +++ b/axum_server/templates/index.html @@ -64,54 +64,54 @@

Socials

{% call sc::social_card_start("twitch", "I stream (almost) regularly on twitch.tv") %} - -
- {% call sc::social_card_end() %} {% call sc::social_card_start("tiktok", "Highlights can be found on TikTok") %} -
-
- @michalvankodev -
-
- + + + + + + + + + + + + + {% call sc::social_card_end() %} {% call sc::social_card_start("youtube", "Vlogs and highlights can be found on YouTube") %} - + + + + + + + + + + {% call sc::social_card_end() %} {% call sc::social_card_start("instagram", "Photos and stories shared on Instagram") %} -
+ {% call sc::social_card_end() %}
diff --git a/axum_server/templates/site_footer.html b/axum_server/templates/site_footer.html index 5e0ea02..0729e4f 100644 --- a/axum_server/templates/site_footer.html +++ b/axum_server/templates/site_footer.html @@ -1,2 +1,41 @@