summaryrefslogtreecommitdiff
path: root/src/pages.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages.rs')
-rw-r--r--src/pages.rs21
1 files changed, 21 insertions, 0 deletions
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() {}