Redesign landing page from Canva brief

This commit is contained in:
2026-05-05 22:33:46 +02:00
parent 0d8b56864a
commit e2ca8074b8
6 changed files with 338 additions and 48 deletions

View File

@@ -0,0 +1,13 @@
import { readFile } from "node:fs/promises";
import test from "node:test";
import assert from "node:assert/strict";
const componentPath = new URL("../src/components/canva-landing.tsx", import.meta.url);
test("Canva landing component contains the core brief anchors", async () => {
const source = await readFile(componentPath, "utf8");
for (const phrase of ["Projektbrief", "01", "Website", "Kontakt"]) {
assert.match(source, new RegExp(phrase));
}
});