summaryrefslogtreecommitdiff
path: root/src/pages.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-02-15 18:50:56 +0100
committermetamuffin <metamuffin@disroot.org>2023-02-15 18:50:56 +0100
commit5df0653b95e5abbc4124c37bad7ac096aca304bf (patch)
tree9a011cd21044944d19906f72ca8db79387b4a385 /src/pages.rs
parent023c2e9cbb55a967d6b9797162e0d9b620f93bdb (diff)
downloadmetamuffin-website-5df0653b95e5abbc4124c37bad7ac096aca304bf.tar
metamuffin-website-5df0653b95e5abbc4124c37bad7ac096aca304bf.tar.bz2
metamuffin-website-5df0653b95e5abbc4124c37bad7ac096aca304bf.tar.zst
add stuff
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() {}