feat(landing): migrate from Next.js to Astro 5

Zero client JS, 165 static pages, self-hosted fonts, Otter Orange
design system. Includes tool SEO data for all 157 tools, enterprise
page, and updated e2e landing tests.
This commit is contained in:
SnapOtter
2026-06-14 16:50:20 +08:00
parent f9ed5d125a
commit 8403222d08
74 changed files with 9157 additions and 3404 deletions
+10
View File
@@ -7,6 +7,7 @@ test.describe("Heading Hierarchy", () => {
{ path: "/faq", name: "FAQ" },
{ path: "/privacy", name: "Privacy" },
{ path: "/terms", name: "Terms" },
{ path: "/enterprise", name: "Enterprise" },
];
for (const { path, name } of pages) {
@@ -48,6 +49,15 @@ test.describe("Landmark Elements", () => {
});
});
test.describe("Skip Link", () => {
test("skip link targets main content", async ({ page }) => {
await page.goto("/");
const skipLink = page.locator('a.skip-link[href="#main"]');
await expect(skipLink).toHaveAttribute("href", "#main");
await expect(page.locator("main#main")).toBeAttached();
});
});
test.describe("Meta Tags", () => {
test("homepage has meta description", async ({ page }) => {
await page.goto("/");