task-runtime-ai / app /layout.tsx
harshlocham's picture
Refactor code structure for improved readability and maintainability
f0f2f77
Raw
History Blame Contribute Delete
883 Bytes
import type { Metadata, Viewport } from "next";
import { IBM_Plex_Mono, Space_Grotesk } from "next/font/google";
import "./globals.css";
const spaceGrotesk = Space_Grotesk({
subsets: ["latin"],
variable: "--font-sans",
});
const ibmPlexMono = IBM_Plex_Mono({
subsets: ["latin"],
weight: ["400", "500"],
variable: "--font-mono",
});
export const metadata: Metadata = {
title: "HF Task Demo",
description: "Minimal Next.js demo wired to the shared task planner and provider abstraction.",
};
export const viewport: Viewport = {
width: "device-width",
initialScale: 1,
};
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body className={`${spaceGrotesk.variable} ${ibmPlexMono.variable}`}>
{children}
</body>
</html>
);
}