Added Page with ticket submitting functionality

This commit is contained in:
2026-04-28 20:44:28 +02:00
parent dac2d91213
commit ac7b2e59b9
5 changed files with 328 additions and 20 deletions

View File

@@ -7,6 +7,8 @@ use yew_router::prelude::*;
enum Route {
#[at("/")]
Home,
#[at("/ticket")]
Ticket,
#[not_found]
#[at("/404")]
NotFound,
@@ -15,7 +17,8 @@ enum Route {
fn switch(route: Route) -> Html {
match route {
Route::Home => html! { <basic_pages::Home/>},
Route::NotFound => html! { <basic_pages::Home/> },
Route::NotFound => html! { <basic_pages::NotFound/> },
Route::Ticket => html! { <ticket::Ticket/> },
}
}