forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
37 lines (34 loc) · 1.1 KB
/
Copy pathlayout.tsx
File metadata and controls
37 lines (34 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import type { Metadata } from "next";
import "./globals.css";
import "./style.css";
export const metadata: Metadata = {
title: "Scheduling Assistant",
description:
"AI scheduling assistant demo — manage your calendar, inbox, and emails",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<head>
<script
dangerouslySetInnerHTML={{
__html: `(function(){var d=document.documentElement;var m=window.matchMedia('(prefers-color-scheme:dark)');function u(e){d.classList.toggle('dark',e.matches)}u(m);m.addEventListener('change',u)})()`,
}}
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"
/>
</head>
<body className={"antialiased"}>
<div className="flex h-dvh w-screen flex-col min-h-0 overflow-hidden bg-background">
{children}
</div>
</body>
</html>
);
}