diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-10-02 13:16:37 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-10-02 13:16:37 +0200 |
| commit | 10152a2fc2b3de942b9f08d81c81d6566003d336 (patch) | |
| tree | 86f597e3bcdc87381fa9dfcd706794845e83421f /src/lib.rs | |
| parent | feat(treewide): Switch to tailwindcss and add more components (diff) | |
| download | web-client-10152a2fc2b3de942b9f08d81c81d6566003d336.zip | |
feat(buy): Add the framework for the /buy page
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index a488d95..3813ebb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -31,7 +31,7 @@ use reactive_stores::Store; use rocie_client::apis::configuration::Configuration; use crate::{ - components::inventory::Inventory, + components::{buy::Buy, inventory::Inventory}, pages::{home::Home, not_found::NotFound}, }; @@ -78,6 +78,12 @@ pub fn App() -> impl IntoView { view! { <Inventory /> } } /> + <Route + path=path!("/buy") + view=move || { + view! { <Buy /> } + } + /> </Routes> </Router> } |
