예제 소스
장기로 이해하는 규칙 엔진과 평가 함수 탐색 · 파일 59개
layout.tsx
import type { Metadata, Viewport } from "next";
import "./globals.css";
export const metadata: Metadata = {
title: "장기",
description: "초·한 장기. 사람과 컴퓨터, 상마 배치, 빅장.",
applicationName: "장기",
};
export const viewport: Viewport = {
width: "device-width",
initialScale: 1,
maximumScale: 1,
themeColor: "#2b1d12",
};
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="ko">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
<link
href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Noto+Sans+KR:wght@400;500;600;700&family=Noto+Serif+KR:wght@600;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div className="phone-shell">{children}</div>
</body>
</html>
);
}