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]",
+1 -18
View File
@@ -52,24 +52,7 @@ export default function Footer() {
<div>
<div className="ds-kicker">Contato</div>
<span className="ds-draw-line" />
<h3 className="ds-card-title">
Vamos conversar sobre o software que seu negócio precisa?
</h3>
<p className="ds-copy max-w-[48ch]">
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.
</p>
<MagneticButton
as="a"
href="/#contact"
className="ds-link ds-link-accent mt-sp-6 inline-flex min-h-11 items-center px-sp-4 font-semibold"
strength={0.2}
>
Conversar sobre meu projeto
</MagneticButton>
<div className="mt-sp-6">
<div className="mt-sp-5">
<p className="mb-2 text-[12px] tracking-[0.02em] text-[var(--meta)]">
E-mail direto
</p>