49 lines
991 B
TypeScript
49 lines
991 B
TypeScript
import type { Metadata, Viewport } from 'next';
|
|
import { IBM_Plex_Sans, IBM_Plex_Mono } from 'next/font/google';
|
|
import './globals.css';
|
|
|
|
const sans = IBM_Plex_Sans({
|
|
subsets: ['latin'],
|
|
weight: ['400', '500'],
|
|
variable: '--font-sans',
|
|
});
|
|
|
|
const mono = IBM_Plex_Mono({
|
|
subsets: ['latin'],
|
|
weight: ['400'],
|
|
variable: '--font-mono',
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Aaron AI',
|
|
description: 'Personal knowledge assistant',
|
|
manifest: '/manifest.json',
|
|
appleWebApp: {
|
|
capable: true,
|
|
statusBarStyle: 'default',
|
|
title: 'Aaron AI',
|
|
},
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
width: 'device-width',
|
|
initialScale: 1,
|
|
maximumScale: 1,
|
|
userScalable: false,
|
|
themeColor: '#2d5a3d',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className={`${sans.variable} ${mono.variable}`}>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|