Adds dynamic case study and curriculo routes, project health monitoring for live demo status, and strengthens local SEO (structured data, service-area targeting for Garuva/Joinville/Curitiba, a dedicated "criação de sites" service page) so search results better match the professional title (Engenheiro da Computação) and experience (5 anos). Co-Authored-By: Claude Sonnet 5 <[email protected]>
25 lines
727 B
TypeScript
25 lines
727 B
TypeScript
import { getLiveFeaturedProjects } from "./portfolio-data";
|
|
import type { ProjectHealthSnapshot } from "./project-health";
|
|
|
|
describe("getLiveFeaturedProjects", () => {
|
|
it("returns only featured projects validated in the current snapshot", () => {
|
|
const snapshot: ProjectHealthSnapshot = {
|
|
checkedAt: "2026-07-10T12:00:00.000Z",
|
|
projects: {
|
|
"sev-modaintima": {
|
|
status: 200,
|
|
contentType: "text/html; charset=utf-8",
|
|
checkedAt: "2026-07-10T12:00:00.000Z",
|
|
},
|
|
},
|
|
};
|
|
|
|
expect(
|
|
getLiveFeaturedProjects(
|
|
snapshot,
|
|
new Date("2026-07-10T12:01:00.000Z"),
|
|
).map((project) => project.id),
|
|
).toEqual(["sev-modaintima"]);
|
|
});
|
|
});
|