包含与我相关、产品、项目、版本主导航和成员管理入口,路由高亮当前页面。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
24 lines
539 B
TypeScript
24 lines
539 B
TypeScript
import './globals.css';
|
|
import type { Metadata } from 'next';
|
|
import { Sidebar } from '@/components/layout/Sidebar';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'FTB 项目管理',
|
|
description: '智能项目管理系统',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="zh-CN">
|
|
<body className="flex h-screen overflow-hidden bg-gray-50">
|
|
<Sidebar />
|
|
<main className="flex-1 overflow-y-auto">{children}</main>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|