feat: add Maia chess game UI
All checks were successful
Deploy blog-frontend / build-and-deploy (push) Successful in 2m11s
All checks were successful
Deploy blog-frontend / build-and-deploy (push) Successful in 2m11s
This commit is contained in:
19
src/app/chess/play/[gameId]/page.tsx
Normal file
19
src/app/chess/play/[gameId]/page.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import type { Metadata } from 'next';
|
||||
import ChessGamePlayClient from '@/components/chess/ChessGamePlayClient';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Maia 대국 | WYPark Blog',
|
||||
description: 'Maia 체스 대국을 이어서 진행하고 PGN을 확인합니다.',
|
||||
};
|
||||
|
||||
type ChessGamePageProps = {
|
||||
params: Promise<{
|
||||
gameId: string;
|
||||
}>;
|
||||
};
|
||||
|
||||
export default async function ChessGamePage({ params }: ChessGamePageProps) {
|
||||
const { gameId } = await params;
|
||||
|
||||
return <ChessGamePlayClient gameId={gameId} />;
|
||||
}
|
||||
Reference in New Issue
Block a user