Skip to content

Commit 4085fbb

Browse files
authored
PAV-98: Remover link de Contato inativo do rodapé (#197)
## Descrição Remove o link "Contato" da seção Legal do rodapé da landing page de marketing (`Footer.tsx`). O link apontava para `href="#"`, sem destino real, e como não existe página/seção de Contato nem previsão de criá-la, ele foi removido em vez de implementado — o escopo original da PAV-98 foi ajustado para essa decisão. Também adiciona um teste unitário do `Footer` cobrindo a remoção do link e a permanência dos demais itens da seção Legal (Termos de Uso e Privacidade). ## Linear link https://linear.app/tatame/issue/PAV-98/remover-link-de-contato-inativo-do-rodape ## Como foi testado Testes unitários passando — Backend: 505/505 | Frontend: 282/282
2 parents 2a4570a + 69c4f51 commit 4085fbb

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

frontend/src/domains/marketing/presentation/components/Footer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export function Footer() {
3838
<ul className="space-y-4 text-gray-500 dark:text-gray-400">
3939
<li><a href="#" className="hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors">Termos de Uso</a></li>
4040
<li><a href="#" className="hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors">Privacidade</a></li>
41-
<li><a href="#" className="hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors">Contato</a></li>
4241
</ul>
4342
</div>
4443
</div>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { render, screen } from "@testing-library/react";
2+
import { describe, expect, it } from "vitest";
3+
import { Footer } from "../../../src/domains/marketing/presentation/components/Footer";
4+
5+
describe("Footer", () => {
6+
it("não exibe o link inativo de Contato", () => {
7+
render(<Footer />);
8+
9+
expect(screen.queryByRole("link", { name: "Contato" })).toBeNull();
10+
});
11+
12+
it("mantém os demais links da seção Legal", () => {
13+
render(<Footer />);
14+
15+
expect(screen.getByRole("link", { name: "Termos de Uso" })).toBeInTheDocument();
16+
expect(screen.getByRole("link", { name: "Privacidade" })).toBeInTheDocument();
17+
});
18+
});

0 commit comments

Comments
 (0)