Compare commits
2 Commits
64e0168443
...
3663562b8a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3663562b8a | ||
|
|
10196cbbfb |
@@ -52,12 +52,6 @@ pub fn Navigation() -> impl IntoView {
|
|||||||
<a href="/liens"
|
<a href="/liens"
|
||||||
class="hover:text-third hover:border-b border-third inline-block transition-colors"
|
class="hover:text-third hover:border-b border-third inline-block transition-colors"
|
||||||
class:active-link=move || location.pathname.get() == "/liens">Liens</a>
|
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="/volets"
|
<a href="/volets"
|
||||||
class="hover:text-third hover:border-b border-third inline-block transition-colors"
|
class="hover:text-third hover:border-b border-third inline-block transition-colors"
|
||||||
class:active-link=move || location.pathname.get() == "/volets">Volets</a>
|
class:active-link=move || location.pathname.get() == "/volets">Volets</a>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ pub fn Shutters() -> impl IntoView {
|
|||||||
|
|
||||||
#[component]
|
#[component]
|
||||||
pub fn Shutter(name: String, shade_id: i32) -> impl IntoView {
|
pub fn Shutter(name: String, shade_id: i32) -> impl IntoView {
|
||||||
let (response, set_response) = create_signal(None::<String>);
|
let (_response, set_response) = create_signal(None::<String>);
|
||||||
|
|
||||||
let move_up = create_action(move |_| async move {
|
let move_up = create_action(move |_| async move {
|
||||||
let client = Client::new();
|
let client = Client::new();
|
||||||
|
|||||||
Reference in New Issue
Block a user