mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
65 lines
1.9 KiB
TypeScript
65 lines
1.9 KiB
TypeScript
import type { Metadata } from "next";
|
||
import { Geist, Geist_Mono } from "next/font/google";
|
||
import Script from "next/script";
|
||
import "./globals.css";
|
||
import Footer from "./components/Footer";
|
||
|
||
const geistSans = Geist({
|
||
variable: "--font-geist-sans",
|
||
subsets: ["latin"],
|
||
});
|
||
|
||
const geistMono = Geist_Mono({
|
||
variable: "--font-geist-mono",
|
||
subsets: ["latin"],
|
||
});
|
||
|
||
export const metadata: Metadata = {
|
||
title: "OpenHuman",
|
||
description: "Your personal Telegram assistant. Join waitlist for early access",
|
||
};
|
||
|
||
export const viewport = {
|
||
width: "device-width",
|
||
initialScale: 1,
|
||
maximumScale: 1,
|
||
userScalable: false,
|
||
};
|
||
|
||
export default function RootLayout({
|
||
children,
|
||
}: Readonly<{
|
||
children: React.ReactNode;
|
||
}>) {
|
||
return (
|
||
<html lang="en" className="dark">
|
||
<head>
|
||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||
<link rel="manifest" href="/site.webmanifest" />
|
||
</head>
|
||
<body
|
||
className={`${geistSans.variable} ${geistMono.variable} bg-[#121212] antialiased text-zinc-100`}
|
||
>
|
||
<Script
|
||
src="https://www.googletagmanager.com/gtag/js?id=G-VS26CY11RK"
|
||
strategy="afterInteractive"
|
||
/>
|
||
<Script id="google-analytics" strategy="afterInteractive">
|
||
{`
|
||
window.dataLayer = window.dataLayer || [];
|
||
function gtag(){dataLayer.push(arguments);}
|
||
gtag('js', new Date());
|
||
gtag('config', 'G-VS26CY11RK');
|
||
`}
|
||
</Script>
|
||
<div className="mx-auto flex min-h-[100dvh] w-full max-w-[1280px] flex-col border-x border-[var(--border-subtle)] bg-[#121212]">
|
||
<div className="flex flex-1 flex-col">{children}</div>
|
||
<Footer />
|
||
</div>
|
||
</body>
|
||
</html>
|
||
);
|
||
}
|