40 lines
1.0 KiB
TypeScript
40 lines
1.0 KiB
TypeScript
/** Root layout: loads fonts and global CSS for every page. */
|
|
import type { Metadata } from 'next'
|
|
import { Bricolage_Grotesque, Karla } from 'next/font/google'
|
|
import './globals.css'
|
|
|
|
const bricolage = Bricolage_Grotesque({
|
|
weight: ['400', '500', '600', '700', '800'],
|
|
subsets: ['latin'],
|
|
variable: '--font-display',
|
|
})
|
|
|
|
const karla = Karla({
|
|
weight: ['300', '400', '500'],
|
|
style: ['normal', 'italic'],
|
|
subsets: ['latin'],
|
|
variable: '--font-body',
|
|
})
|
|
|
|
/** Default page metadata for the site. */
|
|
export const metadata: Metadata = {
|
|
title: 'Huskies — Story-Driven Development for AI Agents',
|
|
description:
|
|
'Huskies is an autonomous development pipeline that turns user stories into tested, shipped code using AI agents.',
|
|
}
|
|
|
|
/** Wraps every page with html/body, font CSS variables, and global styles. */
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`${bricolage.variable} ${karla.variable}`}>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|