Navbar done?

This commit is contained in:
Franklin 2023-04-04 11:19:08 -04:00
parent 2df40ac348
commit 58734785e9

View File

@ -14,6 +14,7 @@ pub fn navigation_bar() -> Html {
let cloned_navigator_1 = navigator.clone();
let cloned_navigator_2 = navigator.clone();
let cloned_navigator_3 = navigator.clone();
let cloned_navigator_4 = navigator.clone();
let cloned_navigator_5 = navigator.clone();
let navbar_toggle = use_state(|| true);
@ -60,7 +61,7 @@ pub fn navigation_bar() -> Html {
{
if (*window_device_handle) == WindowDevice::Mobile {
html! {
<div onclick={move |_| cloned_navigator_3.push(&Route::Contact)} class={"navbar-item"}>
<div onclick={move |_| cloned_navigator_4.push(&Route::Contact)} class={"navbar-item"}>
{NAVBAR_COL_CONTACTO}
</div>
}
@ -94,7 +95,7 @@ pub fn navigation_bar() -> Html {
}
} else {
html! {
<div class={"navbar-item-contact-us"}>
<div onclick={move |_| cloned_navigator_3.push(&Route::Contact)} class={"navbar-item-contact-us"}>
{"Contáctanos"}
</div>
}