diff --git a/.deco/blocks/pages-D%25C3%25BAvidas%2520fequentes-845579.json b/.deco/blocks/pages-D%25C3%25BAvidas%2520fequentes-845579.json new file mode 100644 index 0000000..9f2ce64 --- /dev/null +++ b/.deco/blocks/pages-D%25C3%25BAvidas%2520fequentes-845579.json @@ -0,0 +1,135 @@ +{ + "name": "Dúvidas fequentes", + "path": "/duvidas-frequentes", + "sections": [ + { + "__resolveType": "website/sections/Rendering/Lazy.tsx", + "section": { + "__resolveType": "Header" + } + }, + { + "__resolveType": "site/sections/BreadcrumbInstitucional/Breadcrumb.tsx", + "root": "HOME", + "showText": true, + "path": "Ajuda", + "route": "Dúvidas frequentes" + }, + { + "__resolveType": "site/sections/DuvidasFrequentes/DuvidasFrequentes.tsx", + "Menu": { + "__resolveType": "site/sections/MenuInstitucional/MenuInstitucional.tsx", + "institutionalLinks": [ + { + "label": "Políticas de privacidade", + "route": "/politicas-de-privacidade" + }, + { + "label": "Troca e devolução", + "route": "/troca-e-devolucao" + }, + { + "label": "Termos e condições", + "route": "/termos-e-condicoes" + }, + { + "label": "Formas de pagamento", + "route": "/formas-de-pagamento" + }, + { + "route": "/formas-de-entrega", + "label": "Formas de entrega" + } + ], + "supportLinks": [ + { + "label": "Fale conosco", + "route": "/fale-conosco" + }, + { + "route": "/duvidas-frequentes", + "label": "Dúvidas frequentes" + } + ], + "links": [ + { + "route": "/politicas-de-privacidade", + "label": "Políticas de privacidade" + }, + { + "route": "/troca-e-devolucao", + "label": "Troca e devolução" + }, + { + "route": "/termos-e-condicoes", + "label": "Termos e condições" + }, + { + "route": "/formas-de-pagamento", + "label": "Formas de pagamento" + }, + { + "route": "/formas-de-entrega", + "label": "Formas de entrega" + }, + { + "route": "/fale-conosco", + "label": "Fale conosco" + }, + { + "route": "/duvidas-frequentes", + "label": "Dúvidas frequentes" + } + ], + "institutionalTitle": "Ajuda", + "supportTitle": "Fale conosco" + }, + "Question": { + "__resolveType": "site/sections/Content/FAQ.tsx", + "title": "Dúvidas frequentes", + "description": "

Ainda está com dúvida? Nos mande um e-mail e logo entraremos em contato com você o mais rápido possível. Fale conosco!

", + "enableJSONLD": true, + "questions": [ + { + "title": "Pedido veio com embalagem aberta, posso trocar?", + "description": "

Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor. Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor.

" + }, + { + "title": "Quais os métodos de pagamento?", + "description": "

Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor. Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor.

" + }, + { + "title": "Comprei o produto errado, posso realizar a troca?", + "description": "

Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor. Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor.

" + }, + { + "title": "Comprar com o combo saí mais barato?", + "description": "

Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor. Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor.

" + }, + { + "title": "Ganho descontos se comprar mais de um?", + "description": "

Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor. Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor.

" + }, + { + "title": "Como utilizo meu código promocional?", + "description": "

Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor. Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor.

" + }, + { + "title": "Posso tomar todos os dias?", + "description": "

Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor. Lorem ipsum dolor sit amet consectetur. Nulla ultrices tortor id quis sit varius risus. Ut commodo urna rhoncus nisl. Enim eget lobortis elit at sed viverra. Et integer augue mauris duis massa dignissim tortor.

" + } + ] + } + }, + { + "__resolveType": "website/sections/Rendering/Lazy.tsx", + "section": { + "__resolveType": "Footer" + } + } + ], + "seo": { + "__resolveType": "website/sections/Seo/SeoV2.tsx" + }, + "__resolveType": "website/pages/Page.tsx" +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 83a2f5c..e04360f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,8 +18,5 @@ }, "files.associations": { "*.svg": "html" - }, - "[jsonc]": { - "editor.defaultFormatter": "vscode.json-language-features" } } \ No newline at end of file diff --git a/deno.json b/deno.json index c093b6a..5cb600c 100644 --- a/deno.json +++ b/deno.json @@ -32,8 +32,8 @@ "@deco/deco": "jsr:@deco/deco@1.107.0", "simple-git": "npm:simple-git@^3.25.0", "std/": "https://deno.land/std@0.190.0/", - "deco/": "https://cdn.jsdelivr.net/gh/deco-cx/deco@1.107.2/", - "apps/": "https://cdn.jsdelivr.net/gh/deco-cx/apps@0.64.4/", + "deco/": "https://cdn.jsdelivr.net/gh/deco-cx/deco@1.107.1/", + "apps/": "https://cdn.jsdelivr.net/gh/deco-cx/apps@0.64.2/", "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2", "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1", "daisyui": "npm:daisyui@4.6.0", diff --git a/islands/MenuInstitutionalMobile.tsx b/islands/MenuInstitutionalMobile.tsx index b652829..6a61405 100644 --- a/islands/MenuInstitutionalMobile.tsx +++ b/islands/MenuInstitutionalMobile.tsx @@ -2,55 +2,56 @@ import { useState } from "preact/hooks"; import Icon from "site/components/ui/Icon.tsx"; interface MenuProps { - links: LinkProps[]; - label: string; + links: LinkProps[]; + label: string; } interface LinkProps { - /**@title Rota */ - route: string; - /**@title Rota */ - label: string; + /**@title Rota */ + route: string; + /**@title Rota */ + label: string; } export default function MenuInstitutionalMobile({ links, label }: MenuProps) { - const [navigation, setNavigation] = useState(false); + const [navigation, setNavigation] = useState(false); - return ( -