diff --git a/components/footer/Footer.tsx b/components/footer/Footer.tsx index 28e26c8..4fbdec9 100644 --- a/components/footer/Footer.tsx +++ b/components/footer/Footer.tsx @@ -1,25 +1,30 @@ import BackToTop from "$store/components/footer/BackToTop.tsx"; import ColorClasses from "$store/components/footer/ColorClasses.tsx"; import Divider from "$store/components/footer/Divider.tsx"; -import ExtraLinks from "$store/components/footer/ExtraLinks.tsx"; import FooterItems from "$store/components/footer/FooterItems.tsx"; import Logo from "$store/components/footer/Logo.tsx"; -import MobileApps from "$store/components/footer/MobileApps.tsx"; import PaymentMethods from "$store/components/footer/PaymentMethods.tsx"; -import RegionSelector from "$store/components/footer/RegionSelector.tsx"; import Social from "$store/components/footer/Social.tsx"; import Copyright from "./Copyright.tsx"; import Newsletter from "$store/islands/Newsletter.tsx"; import type { ImageWidget } from "apps/admin/widgets.ts"; -import PoweredByDeco from "apps/website/components/PoweredByDeco.tsx"; +/**@titleBy label */ export type Item = { + /**@title Nome */ label: string; - href: string; + /**@title Link */ + /**@description (ex: /nossos-servicos/suporte) */ + href?: string; + /**@title Ocultar item? */ + disabledItem?:boolean; }; +/**@titleBy label */ export type Section = { + /**@title Nome */ label: string; + /**@title Items */ items: Item[]; }; @@ -211,22 +216,13 @@ function Footer({ ); const _social = layout?.hide?.socialLinks ? <> - : ; + : ; const _copyright = layout?.hide?.copyrightText ? <> : ; const _payments = layout?.hide?.paymentMethods ? <> : ; - const _apps = layout?.hide?.mobileApps - ? <> - : ; - const _region = layout?.hide?.regionOptions - ? <> - : ; - const _links = layout?.hide?.extraLinks - ? <> - : ; return (