remove unused pages & update links

This commit is contained in:
Romulus21
2025-10-08 14:16:27 +02:00
parent e7a45dc46c
commit 3bf77add88
9 changed files with 120 additions and 294 deletions

View File

@@ -20,8 +20,6 @@ pub fn App() -> impl IntoView {
<Routes>
<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="/volets" view=move || view! { <Shutters/> }/>
//<Route path="/*any" view=move || view! { <NotFound/> }/>
</Routes>
@@ -54,12 +52,12 @@ pub fn Navigation() -> impl IntoView {
<a href="/liens"
class="hover:text-third hover:border-b border-third inline-block transition-colors"
class:active-link=move || location.pathname.get() == "/liens">Liens</a>
<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>
//<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>
<a href="/volets"
class="hover:text-third hover:border-b border-third inline-block transition-colors"
class:active-link=move || location.pathname.get() == "/volets">Volets</a>