diff --git a/cuddle-leptos/README.md b/cuddle-leptos/README.md index 942eec7..3d778e8 100644 --- a/cuddle-leptos/README.md +++ b/cuddle-leptos/README.md @@ -1 +1 @@ -# Ghostlog +# %%name%% diff --git a/cuddle-leptos/crates/app/src/lib.rs b/cuddle-leptos/crates/app/src/lib.rs index 1ddb866..f918e46 100644 --- a/cuddle-leptos/crates/app/src/lib.rs +++ b/cuddle-leptos/crates/app/src/lib.rs @@ -32,3 +32,8 @@ pub fn App() -> impl IntoView { } } + +#[component] +fn HomePage() -> impl IntoView { + view! {

Hello %%name%%

} +}