Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/blob/main/crates/site-builder/src/components/footer.rs # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienos.com / crates / site-builder / src / components / footer.rs` 78 lines · 3083 bytes Raw Blame History 1 use maud::{html, Markup, PreEscaped}; 2 3 /// One footer link: (label, href). 4 pub type FooterLink = (&'static str, &'static str); 5 6 /// The whole footer menu. The six sections already sit in the header, and 7 /// every other page is one click away in the site map, so the footer keeps 8 /// only the few routes a reader looks for at the bottom of a page. 9 pub const FOOTER_LINKS: [FooterLink; 8] = [ 10 ("Start here", "/start/"), 11 ("Evidence", "/evidence/"), 12 ("Blog", "/blog"), 13 ("Contact", "/contact/"), 14 ("Privacy", "/privacy/"), 15 ("Glossary", "/glossary/"), 16 ("Site map", "/sitemap.md"), 17 ("About the engineer", "/engineer/"), 18 ]; 19 20 pub fn render_footer() -> Markup { 21 html! { 22 footer class="aien-footer" { 23 div class="container" { 24 div class="aien-footer-row" { 25 a class="aien-footer-brand" href="/" { 26 (PreEscaped(r#""#)) 27 span { "AienOS" } 28 } 29 nav class="aien-footer-links" aria-label="Footer" { 30 ul { 31 @for (label, href) in FOOTER_LINKS { 32 li { a href=(href) { (label) } } 33 } 34 } 35 } 36 } 37 div class="aien-footer-legal" { 38 (crate::components::contact::footer_reach()) 39 p { 40 "Aien © 2026 · " 41 a href="/licensing/" { "Licensing" } 42 " · No trackers unless you say hello to Aien." 43 } 44 } 45 } 46 } 47 } 48 } 49 50 #[cfg(test)] 51 mod tests { 52 use super::*; 53 54 #[test] 55 fn footer_stays_short() { 56 let html = render_footer().into_string(); 57 assert!(FOOTER_LINKS.len() <= 8, "the footer menu is a handful of links, not a site map"); 58 assert!(!html.contains("