feat(home): ofertas que vendem o título, WhatsApp no hero e menu do celular acessível
Três ofertas (site que traz pedidos pelo WhatsApp, sistema para tirar a operação da planilha, revisão de sistema existente) com miniatura e formulário com o tipo escolhido; botão principal do hero abre o WhatsApp; moldura da SEV no hero do celular; menu fecha ao navegar, Esc, foco preso incluindo a barra de cookies e espaço para ela; CinematicHome como componente de servidor com ilha cliente; /ia com H1 de oferta e cartão do que você recebe; botão flutuante em aside com transform; AVIF antes de WebP; copy sem repetir contato direto.
This commit is contained in:
1 parent
de6af74a0c
commit
f8545cd442
44 files changed
+2286
-571
No files matched your search
@@ -5,6 +5,14 @@ describe("next.config", () => {
|
||||
expect(nextConfig.poweredByHeader).toBe(false);
|
||||
});
|
||||
|
||||
it("serves AVIF before WebP, because the browser takes the first format of the list it accepts", () => {
|
||||
expect(nextConfig.images?.formats).toEqual(["image/avif", "image/webp"]);
|
||||
});
|
||||
|
||||
it("leaves the image cache time to the framework default instead of revalidating every minute", () => {
|
||||
expect(nextConfig.images).not.toHaveProperty("minimumCacheTTL");
|
||||
});
|
||||
|
||||
it("keeps the CSP in Report-Only until Google Ads is allowed in it, never enforcing it by accident", async () => {
|
||||
const rules = (await nextConfig.headers?.()) ?? [];
|
||||
const site = rules.find(({ source }) => source === "/(.*)");
|
||||
|
||||
Reference in new issue
Block a user