diff --git a/components/daisy/Hero.tsx b/components/daisy/Hero.tsx index aa60569..ccae1df 100644 --- a/components/daisy/Hero.tsx +++ b/components/daisy/Hero.tsx @@ -1,9 +1,12 @@ import Image from "apps/website/components/Image.tsx"; export interface Props { + /**@title Título */ title: string; + /**@title Descrição */ description: string; cta?: { text: string; href: string }; + /**@title Imagem */ image?: { src: string; alt: string }; imageOnRight?: boolean; } diff --git a/components/footer/Newsletter.tsx b/components/footer/Newsletter.tsx index 661ae85..0e50d86 100644 --- a/components/footer/Newsletter.tsx +++ b/components/footer/Newsletter.tsx @@ -68,7 +68,7 @@ function Newsletter(
diff --git a/components/header/Menu.tsx b/components/header/Menu.tsx index 29440c7..95e8576 100644 --- a/components/header/Menu.tsx +++ b/components/header/Menu.tsx @@ -1,6 +1,6 @@ import Icon from "$store/components/ui/Icon.tsx"; import type { SiteNavigationElement } from "apps/commerce/types.ts"; -import LinkButtonWithOptionArrow from "../ui/LinkButtonWithOptionArrow.tsx"; +import LinkTelephoneWithOptionArrow from "../ui/LinkTelephoneWithOptionArrow.tsx"; import Legend from '$store/components/header/Legend.tsx'; import { clx } from "$store/sdk/clx.ts"; @@ -65,7 +65,7 @@ function Menu({ items, whatsapp }: Props) {
{whatsapp && ( - + )}
diff --git a/components/header/NavItem.tsx b/components/header/NavItem.tsx index 1730aeb..acf9492 100644 --- a/components/header/NavItem.tsx +++ b/components/header/NavItem.tsx @@ -116,11 +116,10 @@ function NavItem({ item, btnTextMenu, btnUrlMenu }: Props) { ) })} - {/* {btnTextMenu && {btnTextMenu} } */} - {activePropsButton && btnTextMenu && - - } + {activePropsButton && btnTextMenu && ( + + )} )} diff --git a/components/header/Navbar.tsx b/components/header/Navbar.tsx index a2ae25b..e4c569c 100644 --- a/components/header/Navbar.tsx +++ b/components/header/Navbar.tsx @@ -62,7 +62,7 @@ function Navbar({ )} -
+