feat: rebuild landing experience, content and analytics

This commit is contained in:
Evandro Fonseca Junior committed 2026-09-13 04:30:58 -03:00
1 parent d24ee12299
commit 9aff4d1035
51 files changed
+3023 -2595

No files matched your search

+6 -10
View File
@@ -58,16 +58,12 @@ function readJsonLdEntities(container: HTMLElement): Record<string, unknown>[] {
}
function expectCaseCtas() {
expect(
screen.getByRole("link", {
name: "Avaliar perfil para contratação",
}),
).toHaveAttribute("href", "/curriculo");
expect(
screen.getByRole("link", {
name: "Solicitar consultoria técnica",
}),
).toHaveAttribute("href", "/#contact");
const destinations = screen
.getAllByRole("link")
.map((link) => link.getAttribute("href"));
expect(destinations).toContain("/#contact");
expect(destinations).toContain("/servicos");
expect(destinations).not.toContain("/curriculo");
}
it("keeps the six public params and factual case metadata", async () => {
+2 -2
View File
@@ -236,9 +236,9 @@ export default async function CasePage({ params }: CasePageProps) {
<div className="mt-sp-6 flex flex-wrap gap-sp-3">
<Link
className="ds-link ds-link-accent"
href={intentCtas.hiring.href}
href={intentCtas.project.href}
>
{intentCtas.hiring.label}
{intentCtas.project.label}
</Link>
<Link
className="ds-link ds-link-muted"
+2 -2
View File
@@ -136,11 +136,11 @@ export default function CasesPage() {
<div className="mt-sp-10 flex flex-wrap gap-sp-3">
<MagneticButton
as="a"
href={intentCtas.hiring.href}
href={intentCtas.project.href}
className="ds-link ds-link-accent"
strength={0.25}
>
{intentCtas.hiring.label}
{intentCtas.project.label}
</MagneticButton>
<MagneticButton
as="a"