Navbar done?
This commit is contained in:
parent
2df40ac348
commit
58734785e9
@ -14,6 +14,7 @@ pub fn navigation_bar() -> Html {
|
|||||||
let cloned_navigator_1 = navigator.clone();
|
let cloned_navigator_1 = navigator.clone();
|
||||||
let cloned_navigator_2 = navigator.clone();
|
let cloned_navigator_2 = navigator.clone();
|
||||||
let cloned_navigator_3 = navigator.clone();
|
let cloned_navigator_3 = navigator.clone();
|
||||||
|
let cloned_navigator_4 = navigator.clone();
|
||||||
let cloned_navigator_5 = navigator.clone();
|
let cloned_navigator_5 = navigator.clone();
|
||||||
|
|
||||||
let navbar_toggle = use_state(|| true);
|
let navbar_toggle = use_state(|| true);
|
||||||
@ -60,7 +61,7 @@ pub fn navigation_bar() -> Html {
|
|||||||
{
|
{
|
||||||
if (*window_device_handle) == WindowDevice::Mobile {
|
if (*window_device_handle) == WindowDevice::Mobile {
|
||||||
html! {
|
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}
|
{NAVBAR_COL_CONTACTO}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
@ -94,7 +95,7 @@ pub fn navigation_bar() -> Html {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
html! {
|
html! {
|
||||||
<div class={"navbar-item-contact-us"}>
|
<div onclick={move |_| cloned_navigator_3.push(&Route::Contact)} class={"navbar-item-contact-us"}>
|
||||||
{"Contáctanos"}
|
{"Contáctanos"}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user