● Zion Boggan
repos/Drophawk/frontend/app/layout.tsx
zionboggan.com ↗
45 lines · tsx
History for this file →
1
import type { Metadata, Viewport } from "next";
2
import { Inter, JetBrains_Mono } from "next/font/google";
3
import { Providers } from "./providers";
4
import { AppShell } from "@/components/layout/AppShell";
5
import "./globals.css";
6
 
7
const inter = Inter({
8
  subsets: ["latin"],
9
  variable: "--font-inter",
10
  display: "swap",
11
});
12
 
13
const jetbrainsMono = JetBrains_Mono({
14
  subsets: ["latin"],
15
  variable: "--font-jetbrains-mono",
16
  display: "swap",
17
});
18
 
19
export const metadata: Metadata = {
20
  title: "DropHawk - ticket drop monitor",
21
  description:
22
    "Always-on, self-hosted monitor that catches the instant tickets go on sale and pushes you a one-tap buy link.",
23
  applicationName: "DropHawk",
24
  manifest: "/manifest.webmanifest",
25
  appleWebApp: { capable: true, title: "DropHawk", statusBarStyle: "black-translucent" },
26
};
27
 
28
export const viewport: Viewport = {
29
  themeColor: "#0b0e14",
30
  width: "device-width",
31
  initialScale: 1,
32
  viewportFit: "cover",
33
};
34
 
35
export default function RootLayout({ children }: { children: React.ReactNode }) {
36
  return (
37
    <html lang="en" className={`${inter.variable} ${jetbrainsMono.variable}`} suppressHydrationWarning>
38
      <body className="antialiased">
39
        <Providers>
40
          <AppShell>{children}</AppShell>
41
        </Providers>
42
      </body>
43
    </html>
44
  );
45
}