refactor(footer): remove o convite de contato duplicado (fica a secao Contato acima) e mantem o e-mail direto

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
Evandro Fonseca JuniorandClaude Sonnet 5.5 committed 2026-10-04 23:44:45 -03:00
1 parent 2a428ec7a2
commit 35a950a9b1
2 files changed
+5 -21

No files matched your search

+4 -3
View File
@@ -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(<Footer />);
// 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: "[email protected]",