{&data.title}
-- {&data.date} - -
+ {&data.title} +
++ {&data.date} + +
diff --git a/Cargo.lock b/Cargo.lock
index 0e17acb..cfc9057 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -779,7 +779,7 @@ dependencies = [
"futures-sink",
"futures-util",
"http 1.0.0",
- "indexmap 2.1.0",
+ "indexmap 2.2.1",
"slab",
"tokio",
"tokio-util",
@@ -980,9 +980,9 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.1.0"
+version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f"
+checksum = "433de089bd45971eecf4668ee0ee8f4cec17db4f8bd8f7bc3197a6ce37aa7d9b"
dependencies = [
"equivalent",
"hashbrown 0.14.3",
@@ -1110,7 +1110,7 @@ dependencies = [
"futures",
"getrandom",
"html-escape",
- "indexmap 2.1.0",
+ "indexmap 2.2.1",
"itertools",
"js-sys",
"leptos_reactive",
@@ -1136,7 +1136,7 @@ checksum = "273d7f2f1823a70944a72c8b47f925c489e38f6121808cd4c7f759b1b5efd5e6"
dependencies = [
"anyhow",
"camino",
- "indexmap 2.1.0",
+ "indexmap 2.2.1",
"parking_lot",
"proc-macro2",
"quote",
@@ -1190,7 +1190,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f6ae4f0934d77239f57dec8b438a2c7e8662a46c4704fed8d831f5329c6fcfb"
dependencies = [
"cfg-if",
- "indexmap 2.1.0",
+ "indexmap 2.2.1",
"leptos",
"tracing",
"wasm-bindgen",
@@ -1206,7 +1206,7 @@ dependencies = [
"base64",
"cfg-if",
"futures",
- "indexmap 2.1.0",
+ "indexmap 2.2.1",
"js-sys",
"paste",
"pin-project",
@@ -1626,11 +1626,11 @@ dependencies = [
[[package]]
name = "pulldown-cmark"
-version = "0.9.3"
+version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77a1a2f1f0a7ecff9c31abbe177637be0e97a0aef46cf8738ece09327985d998"
+checksum = "80eb9f69aec5cd8828765a75f739383fbbe3e8b9d84370bde1cc90487700794a"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.4.2",
"getopts",
"memchr",
"unicase",
@@ -2263,7 +2263,7 @@ version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03"
dependencies = [
- "indexmap 2.1.0",
+ "indexmap 2.2.1",
"serde",
"serde_spanned",
"toml_datetime",
diff --git a/app/src/components.rs b/app/src/components.rs
index 39d2056..229c7c7 100644
--- a/app/src/components.rs
+++ b/app/src/components.rs
@@ -1,2 +1,2 @@
-pub mod article;
+pub mod ui;
pub mod slingshot;
diff --git a/app/src/components/article.rs b/app/src/components/article.rs
deleted file mode 100644
index 4f8e4a1..0000000
--- a/app/src/components/article.rs
+++ /dev/null
@@ -1,41 +0,0 @@
-use crate::components::slingshot::*;
-use leptos::*;
-use serde::{Deserialize, Serialize};
-
-#[derive(Debug, Clone, Serialize, Deserialize)]
-pub struct ArticleData {
- pub content_type: String,
- pub title: String,
- pub date: String, // make datetime?
- pub content: String,
-}
-
-#[component]
-pub fn ArticleBuilder() -> impl IntoView {
- let data_resource = create_local_resource(
- || (),
- |_| async move { slingshot("./public/blog".to_string()).await },
- );
-
- let articles_view = move || {
- data_resource.and_then(|data| {
- data.iter()
- .map(|article| view! { {&data.title}
-
- {&data.date}
-
-
+ {&data.title}
+
+
+ {&data.date}
+
+
{"home1"}
+{"home2"}
+{"home3"}
+{"home4"}
+{"home5"}
+{"project1"}
+{"project2"}
+{"project3"}
+{"project4"}
+{"project5"}
+