diff --git a/components/header/Navbar.tsx b/components/header/Navbar.tsx index deefcc7..9053699 100644 --- a/components/header/Navbar.tsx +++ b/components/header/Navbar.tsx @@ -1,5 +1,5 @@ import type { Props as SearchbarProps } from "$store/components/search/Searchbar.tsx"; -import Icon from "$store/components/ui/Icon.tsx"; +import type { SiteNavigationElement } from "apps/commerce/types.ts"; import { MenuButton, SearchButton } from "$store/islands/Header/Buttons.tsx"; import CartButtonLinx from "$store/islands/Header/Cart/linx.tsx"; import CartButtonShopify from "$store/islands/Header/Cart/shopify.tsx"; @@ -9,11 +9,11 @@ import CartButtonWake from "$store/islands/Header/Cart/wake.tsx"; import CartButtonNuvemshop from "$store/islands/Header/Cart/nuvemshop.tsx"; import Searchbar from "$store/islands/Header/Searchbar.tsx"; import { usePlatform } from "$store/sdk/usePlatform.tsx"; -import type { SiteNavigationElement } from "apps/commerce/types.ts"; import Image from "apps/website/components/Image.tsx"; import NavItem from "./NavItem.tsx"; import { navbarHeight } from "./constants.ts"; import { Buttons, Logo } from "$store/components/header/Header.tsx"; +import LoginElement from "deco-sites/maconequiio/islands/LoginElement.tsx"; function Navbar({ items, searchbar, logo, buttons, logoPosition = "left" }: { items: SiteNavigationElement[]; @@ -62,13 +62,7 @@ function Navbar({ items, searchbar, logo, buttons, logoPosition = "left" }: { {/* Desktop Version */}
+ Olá! {user?.value?.email + ? {user.value?.name || user.value?.email} + : Faça seu login} +
++ Minha Conta + | + Meus Pedidos +
+