remove unused pages & update links
This commit is contained in:
14
src/app.rs
14
src/app.rs
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user