barebones quote-specific page

This commit is contained in:
2026-05-05 23:52:09 +02:00
parent 76ac36c4fb
commit 032d450af2
3 changed files with 56 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ use crate::{
};
pub mod add;
pub mod id;
#[derive(Deserialize)]
pub struct PageQuery {
@@ -85,7 +86,7 @@ pub async fn page(
}
div class="flex flex-col gap-4 mb-8" {
@for q in &quotes {
(quote(q))
a href=(format!("/quotes/{}", q.id)) {(quote(q))}
}
div class="flex justify-between items-center mt-4 text-neutral-400" {