mirror of
https://github.com/tiennm99/loldle.git
synced 2026-05-19 21:25:28 +00:00
daf4d60bb2
- Replace vanilla HTML/CSS/JS with Next.js App Router + React components - Game logic (champion-data, game-engine, classic-mode) moved to lib/ - UI split into modular components (game-board, champion-search, guess-grid, etc.) - Add Tailwind CSS v4 with CSS variables for theming - Immutable state updates, fetch deduplication, next/image for CDN images - champions.json moved from assets/ to public/
15 lines
261 B
React
15 lines
261 B
React
import "./globals.css";
|
|
|
|
export const metadata = {
|
|
title: "LoLdle",
|
|
description: "Guess the League of Legends champion",
|
|
};
|
|
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html lang="en">
|
|
<body>{children}</body>
|
|
</html>
|
|
);
|
|
}
|