README covers YouTube RTMPS relay, time-slot mode, ops/Netdata, and global SOCKS plan. Relay pipeline keeps FFmpeg alive across probe flicker, stabilizes time-slot source selection, and fixes misleading start-button copy in the UI. Co-authored-by: Cursor <cursoragent@cursor.com>
63 lines
1.9 KiB
TypeScript
63 lines
1.9 KiB
TypeScript
import type { Metadata, Viewport } from "next";
|
|
import "./globals.css";
|
|
import { Providers } from "@/components/Providers";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "直播工作台",
|
|
description: "抖音 + YouTube 开播/停播/时长/截图监控与 Shorts、TikTok 分发",
|
|
applicationName: "LiveRadar",
|
|
manifest: "/manifest.webmanifest",
|
|
appleWebApp: {
|
|
capable: true,
|
|
statusBarStyle: "black-translucent",
|
|
title: "LiveRadar",
|
|
},
|
|
formatDetection: {
|
|
telephone: false,
|
|
},
|
|
icons: {
|
|
icon: [
|
|
{ url: "/favicon.ico" },
|
|
{ url: "/icon-192.png", sizes: "192x192", type: "image/png" },
|
|
{ url: "/icon-512.png", sizes: "512x512", type: "image/png" },
|
|
],
|
|
apple: "/apple-touch-icon.png",
|
|
},
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
width: "device-width",
|
|
initialScale: 1,
|
|
maximumScale: 5,
|
|
viewportFit: "cover",
|
|
themeColor: [
|
|
{ media: "(prefers-color-scheme: dark)", color: "#071018" },
|
|
{ media: "(prefers-color-scheme: light)", color: "#071018" },
|
|
],
|
|
colorScheme: "dark",
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;700&family=Space+Grotesk:wght@500;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
<script
|
|
defer
|
|
src="https://umami.nomadro.com/script.js"
|
|
data-website-id="f18d3484-be2e-4344-8882-b80c5b53f9cf"
|
|
></script>
|
|
</head>
|
|
<body className="min-h-[100dvh] antialiased">
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|