visatas cambiarpass y navheader

This commit is contained in:
jls846
2025-11-04 16:52:27 -06:00
parent 23bd321104
commit 6683710439
5 changed files with 299 additions and 48 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ import Image from "next/image";
import header from "../app/styles/layout/header.module.scss";
import Link from "next/link";
import BarNavigation from "./BarNavigation";
import BarNavigationAdmin from "./BarNavigationAdmin";
import { usePathname } from "next/navigation";
function Header() {
@@ -42,7 +43,7 @@ function Header() {
}}
>
{publicNav.includes(pathname) && <BarNavigation />}
{privateNav.includes(pathname) && <BarNavigation />}
{privateNav.includes(pathname) && <BarNavigationAdmin />}
</div>
</header>
);