diff options
author | Ashelyn Rose <git@ashen.earth> | 2025-03-22 18:02:52 -0600 |
---|---|---|
committer | Ashelyn Rose <git@ashen.earth> | 2025-03-22 18:02:52 -0600 |
commit | f5f542777febe6a2a4463bb8042e9a72e628e724 (patch) | |
tree | c7cb33a5bbb023f99e1c012af55e6819f26c5c93 /src/components/app.rs | |
parent | 2bf70606fc62c989973f84f2961df2d42d7f9c04 (diff) |
Fonts
Diffstat (limited to 'src/components/app.rs')
-rw-r--r-- | src/components/app.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/components/app.rs b/src/components/app.rs index 7e2676a..d93a870 100644 --- a/src/components/app.rs +++ b/src/components/app.rs @@ -51,12 +51,8 @@ pub fn App() -> impl IntoView { /// Renders the home page of your application. #[component] fn HomePage() -> impl IntoView { - // Creates a reactive value to update the button - let count = RwSignal::new(0); - let on_click = move |_| *count.write() += 1; - view! { - <h1>"Welcome to Leptos!"</h1> - <button on:click=on_click>"Click Me: " {count}</button> + <h1>Article</h1> + <p>Article content here we guess?</p> } } |