Download src/app/layout.tsx from Zero124/VR-MEDIA: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/spaces/Zero124/VR-MEDIA/resolve/main/src/app/layout.tsx
- Command line
-
hf download hf://spaces/Zero124/VR-MEDIA/src/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/spaces/Zero124/VR-MEDIA/resolve/main/src/app/layout.tsx
1.91 kB
| import type { Metadata, Viewport } from "next"; | |
| import { Roboto, Roboto_Mono } from "next/font/google"; | |
| import "./globals.css"; | |
| import { Toaster } from "@/components/ui/toaster"; | |
| // §3 Typography — Roboto is the primary family (300/400/500/700). | |
| const roboto = Roboto({ | |
| variable: "--font-roboto", | |
| subsets: ["latin"], | |
| weight: ["300", "400", "500", "700"], | |
| display: "swap", | |
| }); | |
| // Monospace companion for IDs, stream URLs and metadata readouts. | |
| const robotoMono = Roboto_Mono({ | |
| variable: "--font-roboto-mono", | |
| subsets: ["latin"], | |
| display: "swap", | |
| }); | |
| export const metadata: Metadata = { | |
| title: "VR Media Server 2.0 — Offcloud + TeraBox + Blomp → DEOVR → Quest Passthrough", | |
| description: | |
| "Metadata-first streaming gateway. Connects directly to Offcloud, TeraBox and Blomp, detects VR/passthrough formats across 11 layers, and serves a DEOVR-compatible feed for Quest 3 passthrough. No permanent video storage.", | |
| keywords: [ | |
| "VR Media Server", | |
| "Offcloud", | |
| "TeraBox", | |
| "Blomp", | |
| "DEOVR", | |
| "Quest 3", | |
| "Passthrough", | |
| "VR180", | |
| "VR360", | |
| "SBS", | |
| "Fisheye", | |
| "Mixed Reality", | |
| ], | |
| authors: [{ name: "VR Media Server" }], | |
| icons: { | |
| icon: "/logo.svg", | |
| }, | |
| }; | |
| // Dark-first interface — tell the browser so form controls and scrollbars match. | |
| export const viewport: Viewport = { | |
| colorScheme: "dark", | |
| themeColor: "#0f0f0f", | |
| width: "device-width", | |
| initialScale: 1, | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="en" className="dark" suppressHydrationWarning> | |
| <body | |
| className={`${roboto.variable} ${robotoMono.variable} font-sans antialiased bg-background text-foreground min-h-screen`} | |
| > | |
| {children} | |
| <Toaster /> | |
| </body> | |
| </html> | |
| ); | |
| } | |