add sensor values
This commit is contained in:
@@ -21,6 +21,7 @@ pub fn App() -> impl IntoView {
|
||||
<Route path="/" view=move || view! { <Home/> }/>
|
||||
<Route path="/liens" view=move || view! { <Links/> }/>
|
||||
<Route path="/formulaire" view=move || view! { <FormValues/> }/>
|
||||
<Route path="/donnees" view=move || view! { <Data/> }/>
|
||||
//<Route path="/*any" view=move || view! { <NotFound/> }/>
|
||||
</Routes>
|
||||
</main>
|
||||
@@ -45,6 +46,9 @@ pub fn Navigation() -> impl IntoView {
|
||||
<a href="/formulaire"
|
||||
class="hover:text-third hover:border-b border-third inline-block transition-colors"
|
||||
class:active-link=move || location.pathname.get() == "/formulaire">Formulaire</a>
|
||||
<a href="/donnees"
|
||||
class="hover:text-third hover:border-b border-third inline-block transition-colors"
|
||||
class:active-link=move || location.pathname.get() == "/donnees">Données</a>
|
||||
</nav>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user