forked from openai/openai-assistants-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.tsx
24 lines (22 loc) · 668 Bytes
/
layout.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { Inter } from "next/font/google";
import "./globals.css";
import Warnings from "./components/warnings";
import { assistantId } from "./assistant-config";
const inter = Inter({ subsets: ["latin"] });
export const metadata = {
title: "Assistants API Quickstart",
description: "A quickstart template using the Assistants API with OpenAI",
icons: {
icon: "/openai.svg",
},
};
export default function RootLayout({ children }) {
return (
<html lang="en">
<body className={inter.className}>
{assistantId ? children : <Warnings />}
<img className="logo" src="/openai.svg" alt="OpenAI Logo" />
</body>
</html>
);
}