Add folder game, file browser UI, and automated tests.

Introduces a localStorage-backed messy-desktop challenge with sub-steps,
drag-and-drop and Places/Back navigation, IBM Plex Mono, and a /api/health
endpoint. Adds Vitest coverage for the API and level logic plus Playwright
smoke tests.

Made-with: Cursor
This commit is contained in:
2026-04-11 18:22:50 +12:00
parent 818da20af8
commit 1957e96363
21 changed files with 1429 additions and 53 deletions

View File

@@ -1,7 +1,7 @@
import "~/styles/globals.css";
import { type Metadata } from "next";
import { Bakbak_One, Teko } from "next/font/google";
import { Bakbak_One, IBM_Plex_Mono, Teko } from "next/font/google";
import { TRPCReactProvider } from "~/trpc/react";
@@ -24,11 +24,20 @@ const bakbakOne = Bakbak_One({
variable: "--font-bakbak-one",
});
const ibmPlexMono = IBM_Plex_Mono({
weight: ["400", "500"],
subsets: ["latin"],
variable: "--font-ibm-plex-mono",
});
export default function RootLayout({
children,
}: Readonly<{ children: React.ReactNode }>) {
return (
<html lang="en" className={`${teko.variable} ${bakbakOne.variable}`}>
<html
lang="en"
className={`${teko.variable} ${bakbakOne.variable} ${ibmPlexMono.variable}`}
>
<body className="min-h-screen bg-gradient-to-b from-purple-900 via-purple-950 to-[#0f0518] text-zinc-100 antialiased">
<TRPCReactProvider>{children}</TRPCReactProvider>
</body>