31 lines
670 B
TypeScript
31 lines
670 B
TypeScript
import type { Metadata, Viewport } from "next";
|
|
import { MapToaster } from "@/features/map/core/components/notice";
|
|
import "katex/dist/katex.min.css";
|
|
import "streamdown/styles.css";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "排水管网",
|
|
description: "Agent 编排型沉浸式排水管网业务工作台"
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
width: "device-width",
|
|
initialScale: 1
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="zh-CN" suppressHydrationWarning>
|
|
<body>
|
|
{children}
|
|
<MapToaster />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|