mirror of
https://github.com/tiennm99/ai-coding-workflow-labs.git
synced 2026-09-17 18:21:33 +00:00
Convert all 41 TypeScript source/config files in cc4e-course/quiz-project (Next.js), gstack (Astro), and superpowers (Vite/React/Phaser) to plain JavaScript with JSDoc type annotations, replacing tsconfig.json with jsconfig.json (strict + checkJs) in each subproject. No behavior changes: lint, typecheck, test, and build gates match their TypeScript baselines exactly in all three subprojects. Update stack references in the affected READMEs accordingly.
35 lines
826 B
React
35 lines
826 B
React
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
/** @type {import('next').Metadata} */
|
|
export const metadata = {
|
|
title: "Coffee Personality Quiz | Basecamp Coffee",
|
|
description: "Discover your coffee personality and find your perfect Basecamp Coffee drink.",
|
|
};
|
|
|
|
/**
|
|
* @param {Readonly<{ children: import('react').ReactNode }>} props
|
|
* @returns {import('react').JSX.Element}
|
|
*/
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html lang="en">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|