summary refs log tree commit diff
path: root/src/components/editor
diff options
context:
space:
mode:
authorAshelyn Rose <git@ashen.earth>2025-04-12 16:52:11 -0600
committerAshelyn Rose <git@ashen.earth>2025-04-12 16:52:16 -0600
commite487e052b3cfcf90f6b831052e30323d3e744526 (patch)
tree1471ad27e0c88e0cae121292a4f4ff6b43c2329f /src/components/editor
parente66c23f2f4fd3783364aaa15f07f8a51aaf51e3f (diff)
WIP: working on getting data into components
Diffstat (limited to 'src/components/editor')
-rw-r--r--src/components/editor/mod.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/editor/mod.rs b/src/components/editor/mod.rs
index e69de29..05e45d3 100644
--- a/src/components/editor/mod.rs
+++ b/src/components/editor/mod.rs
@@ -0,0 +1,13 @@
+use leptos::prelude::*;
+use leptos::{island, view, IntoView};
+
+#[island]
+pub fn WikiEditor(
+    url_path: String,
+) -> impl IntoView {
+    view! {
+        <h1>Article (Editing)</h1>
+        <p>Page render</p>
+        <pre>{url_path}</pre>
+    }
+}