From 5df0653b95e5abbc4124c37bad7ac096aca304bf Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 15 Feb 2023 18:50:56 +0100 Subject: add stuff --- src/pages.rs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/pages.rs') diff --git a/src/pages.rs b/src/pages.rs index 347d2d4..a181380 100644 --- a/src/pages.rs +++ b/src/pages.rs @@ -97,6 +97,27 @@ pub fn r_contact() -> DynScaffold<'static> { } } +#[get("/stuff")] +pub fn r_stuff() -> DynScaffold<'static> { + Scaffold { + title: "stuff".to_string(), + content: markup::new! { + h1 { "Stuff" } + p { "I use arch btw." } + p { "The server uses arch btw." } + p { "My raspberry pi uses arch btw." } + p { "My router uses arch btw." } + p { "One of my smartphones uses arch btw." } + h2 { "Funny People" } + ul { + li { a[href="https://potatoxel.org"] { "Potatoxel" } } + li { a[href="https://pixificial.xyz"] { "Pixificial" } } + li { a[href="https://ruststriber.dev"] { "Rustystriker" } } + } + }, + } +} + #[get("/favicon.ico")] pub fn r_favicon() {} -- cgit v1.2.3-70-g09d2