import type { Metadata } from "next"; import { Inter } from "next/font/google"; import "./globals.css"; import SignoutButton from "@/components/signout-button"; import Logo from "@/components/logo"; import BackButton from "@/components/back-button"; import Link from "next/link"; import { AdminButton } from "@/components/admin-button"; import TokenButton from "@/components/token-button"; import { getToken } from "@/lib/actions/token"; const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { title: "音乐弹幕", description: "搜索歌曲,选择直播间,智能发送弹幕", }; export default async function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { const token = await getToken(); return (
音乐弹幕
陌陌直播
{children}
); }