Files
minimap1.1/frontend/app/layout.tsx
2026-03-21 20:32:19 +08:00

42 lines
1.3 KiB
TypeScript

import type { Metadata } from "next";
import type { ReactNode } from "react";
import "./globals.css";
export const metadata: Metadata = {
title: "HTML Knowledge API",
description: "保存智能体生成的 HTML 页面并返回可访问链接。",
};
export default function RootLayout({
children,
}: Readonly<{
children: ReactNode;
}>) {
return (
<html lang="zh-CN">
<body>
<div className="flex min-h-screen flex-col">
<header className="border-b border-border bg-card/90 px-6 py-5 backdrop-blur">
<div className="mx-auto flex max-w-6xl items-center justify-between">
<div>
<p className="text-xs uppercase tracking-[0.35em] text-muted-foreground">
Education Agent
</p>
<h1 className="text-2xl font-bold text-foreground">
HTML Knowledge API
</h1>
</div>
</div>
</header>
<main className="flex-1 px-6 py-10">{children}</main>
<footer className="border-t border-border bg-card px-6 py-5 text-sm text-muted-foreground">
<div className="mx-auto max-w-6xl">
</div>
</footer>
</div>
</body>
</html>
);
}