mirror of
https://github.com/xmanrui/OpenClaw-bot-review.git
synced 2026-07-30 11:22:14 +00:00
27 lines
707 B
TypeScript
27 lines
707 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import { Providers } from "./providers";
|
|
import { Sidebar } from "./sidebar";
|
|
import { AlertMonitor } from "./alert-monitor";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "OpenClaw Bot Dashboard",
|
|
description: "查看所有 OpenClaw 机器人配置",
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="zh-CN">
|
|
<body>
|
|
<Providers>
|
|
<AlertMonitor />
|
|
<div className="flex min-h-screen">
|
|
<Sidebar />
|
|
<main className="flex-1 overflow-auto">{children}</main>
|
|
</div>
|
|
</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|