diff --git a/e2e/landing.spec.js b/e2e/landing.spec.js index b2be7233..8c51dbab 100644 --- a/e2e/landing.spec.js +++ b/e2e/landing.spec.js @@ -33,11 +33,5 @@ test("landing has dashboard link", async ({ page }) => { test("landing shows footer", async ({ page }) => { await page.goto("/"); - await expect(page.getByRole("contentinfo")).toBeVisible(); -}); - -test("landing has dashboard link", async ({ page }) => { - await page.goto("/"); - - await expect(page.getByRole("link", { name: "Dashboard" })).toBeVisible(); + await expect(page.getByRole("contentinfo").first()).toBeVisible(); }); diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index b9aefea7..57e6ba7e 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -2,28 +2,39 @@ import Link from "next/link"; export default function NotFound() { return ( -
-
-
-
- - 🕳️ - -
+
+
+ {/* Branded 404 code */} +

+ 404 +

+
+ Page Not Found
-

404

-

- Oops! Page not found +

+ +
+

+ Lost in space?

-

- The page you're looking for doesn't exist or has been moved. +

+ The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Let's get you back on track!

- - Return to Dashboard - + +
+ + Go to Dashboard + + + Go Home + +
);