forked from browserbase/open-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.tsx
56 lines (51 loc) · 1.31 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import { Analytics } from "@vercel/analytics/next";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import localFont from "next/font/local";
import "./globals.css";
const inter = Inter({
subsets: ["latin"],
variable: "--font-inter",
});
const ppNeue = localFont({
src: "../fonts/PPNeueMontreal-Medium.otf",
variable: "--font-pp-neue",
});
const ppSupply = localFont({
src: "../fonts/PPSupplySans-Regular.otf",
variable: "--font-pp-supply",
});
export const metadata: Metadata = {
title: "Open Operator",
description: "Watch AI browse the web, for free",
openGraph: {
images: ["/og.png"],
},
icons: {
icon: [
{ url: "/favicon.svg", type: "image/svg+xml" },
{ url: "/favicon.ico" },
],
},
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<head>
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
{/* Fallback for browsers that don't support SVG favicons */}
<link rel="alternate icon" href="/favicon.ico" />
</head>
<body
className={`${inter.variable} ${ppNeue.variable} ${ppSupply.variable} font-sans antialiased bg-white text-gray-900`}
>
{children}
<Analytics />
</body>
</html>
);
}