layout.tsx 643 B

1234567891011121314151617181920212223
  1. import type { Metadata } from "next";
  2. // 思源宋体(自托管,不依赖 Google Fonts,国内可达);pin 5.2.8 因 npmmirror 暂未同步 5.2.9。
  3. // 按 unicode-range 分片,浏览器只取标题用到的字形。
  4. import "@fontsource/noto-serif-sc/400.css";
  5. import "@fontsource/noto-serif-sc/600.css";
  6. import "./globals.css";
  7. export const metadata: Metadata = {
  8. title: "运营流程账本",
  9. description: "面向运营人员的内容发现流程账本"
  10. };
  11. export default function RootLayout({
  12. children
  13. }: Readonly<{
  14. children: React.ReactNode;
  15. }>) {
  16. return (
  17. <html lang="zh-CN">
  18. <body>{children}</body>
  19. </html>
  20. );
  21. }