SPB Git

spb/polyllm

Public
2.2 KB · 54 lines tsx
1import type { Metadata, Viewport } from "next";2import { GeistSans } from "geist/font/sans";3import { GeistMono } from "geist/font/mono";4import { ThemeProvider } from "next-themes";5import { APP_URL } from "@/lib/env";6import { Toaster } from "@/components/ui/toast";7import { TooltipProvider } from "@/components/ui/tooltip";8import "./globals.css";910export const metadata: Metadata = {11  metadataBase: new URL(APP_URL),12  title: { default: "PolyLLM — One interface. Every model.", template: "%s · PolyLLM" },13  description:14    "PolyLLM is a universal control center for AI models. Bring your own API keys for OpenAI, Anthropic, Gemini and xAI, discover the latest models, configure them precisely and chat through one premium interface.",15  applicationName: "PolyLLM",16  keywords: ["LLM", "AI chat", "BYOK", "OpenAI", "Anthropic", "Gemini", "xAI", "Grok", "Claude", "GPT", "model comparison", "arena"],17  openGraph: {18    type: "website",19    siteName: "PolyLLM",20    title: "PolyLLM — Your models. Your keys. One workspace.",21    description: "A universal control center for AI models. Bring your own keys.",22    url: APP_URL,23    images: [{ url: "/og.png", width: 1200, height: 630, alt: "PolyLLM" }],24  },25  twitter: { card: "summary_large_image", title: "PolyLLM", description: "One interface. Every model. Bring your own keys." },26  icons: { icon: [{ url: "/icon.svg", type: "image/svg+xml" }], apple: "/apple-icon.png" },27  robots: { index: true, follow: true },28};2930export const viewport: Viewport = {31  themeColor: [32    { media: "(prefers-color-scheme: light)", color: "#fafaf9" },33    { media: "(prefers-color-scheme: dark)", color: "#0b0c10" },34  ],35  width: "device-width",36  initialScale: 1,37  viewportFit: "cover",38};3940export default function RootLayout({ children }: { children: React.ReactNode }) {41  return (42    <html lang="en" suppressHydrationWarning className={`${GeistSans.variable} ${GeistMono.variable}`}>43      <body className="min-h-dvh bg-bg text-fg antialiased">44        <ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>45          <TooltipProvider delayDuration={250}>46            {children}47            <Toaster />48          </TooltipProvider>49        </ThemeProvider>50      </body>51    </html>52  );53}54
Files · 573449927df925a6fe97f81f5be20cd588e0a8dd
Menu

Theme