This commit is contained in:
Stefan
2025-11-23 13:36:10 +01:00
parent ad104f2c31
commit a4a42488bb
13 changed files with 743 additions and 301 deletions
+12
View File
@@ -0,0 +1,12 @@
import { NextResponse } from 'next/server';
export async function GET() {
return NextResponse.json(
{
status: 'ok',
timestamp: new Date().toISOString(),
service: 'chess-tutor'
},
{ status: 200 }
);
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

+2 -2
View File
@@ -13,8 +13,8 @@ const geistMono = Geist_Mono({
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "Chess Tutor - Learn Chess with AI",
description: "Learn chess with AI-powered tutoring from Gemini and Stockfish engine analysis",
};
export default function RootLayout({
+1 -17
View File
@@ -1,21 +1,5 @@
import ChessGame from "@/components/ChessGame";
export default function Home() {
return (
<main className="flex min-h-screen flex-col items-center justify-between p-8 bg-gray-50 dark:bg-gray-900">
<div className="z-10 w-full max-w-5xl items-center justify-between font-mono text-sm lg:flex">
<p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
Chess Tutor with Gemini & Stockfish
</p>
</div>
<div className="w-full max-w-6xl mt-8">
<ChessGame />
</div>
<div className="mb-32 grid text-center lg:mb-0 lg:grid-cols-4 lg:text-left">
</div>
</main>
);
return <ChessGame />;
}