diff --git a/app/components/Footer.test.tsx b/app/components/Footer.test.tsx index 8c9e174..d42b1dc 100644 --- a/app/components/Footer.test.tsx +++ b/app/components/Footer.test.tsx @@ -2,12 +2,13 @@ import { render, screen } from "@testing-library/react"; import Footer from "./Footer"; describe("Footer contact and navigation", () => { - it("offers project contact and a direct mailto link", () => { + it("offers a direct mailto link without repeating the contact call to action", () => { render(); + // o convite principal fica na secao Contato, logo acima do rodape expect( - screen.getByRole("link", { name: "Conversar sobre meu projeto" }), - ).toHaveAttribute("href", "/#contact"); + screen.queryByRole("link", { name: "Conversar sobre meu projeto" }), + ).not.toBeInTheDocument(); const emailLink = screen.getByRole("link", { name: "evandrofonsecajunior@gmail.com", diff --git a/app/components/Footer.tsx b/app/components/Footer.tsx index 3e6c234..6e9ecae 100644 --- a/app/components/Footer.tsx +++ b/app/components/Footer.tsx @@ -52,24 +52,7 @@ export default function Footer() {
- Conte o que você quer construir, integrar ou melhorar. Podemos - discutir o contexto, as prioridades e o escopo antes de definir - os próximos passos. -
-E-mail direto