27 lines
530 B
TypeScript
27 lines
530 B
TypeScript
|
|
import type { Metadata } from "next";
|
||
|
|
import "./globals.css";
|
||
|
|
|
||
|
|
export const metadata: Metadata = {
|
||
|
|
title: "Agent-Draw-IO",
|
||
|
|
description: "智能体交互绘图 @小傅哥",
|
||
|
|
};
|
||
|
|
|
||
|
|
import Script from "next/script";
|
||
|
|
|
||
|
|
export default function RootLayout({
|
||
|
|
children,
|
||
|
|
}: Readonly<{
|
||
|
|
children: React.ReactNode;
|
||
|
|
}>) {
|
||
|
|
return (
|
||
|
|
<html lang="en">
|
||
|
|
<head>
|
||
|
|
<Script src="/env-config.js" strategy="beforeInteractive" />
|
||
|
|
</head>
|
||
|
|
<body className="antialiased">
|
||
|
|
{children}
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
);
|
||
|
|
}
|