Files
ok_r/app/layout.tsx
2026-01-25 21:55:29 +08:00

28 lines
705 B
TypeScript

import './globals.css';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import { AppShell } from '@/components/app-shell';
import { Toaster } from '@/components/ui/sonner';
const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
title: 'OKR 执行系统 - 目标管理',
description: '让目标被持续看见、被拆解、被跟进、被纠偏、被完成',
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="zh-CN">
<body className={inter.className}>
<AppShell>{children}</AppShell>
<Toaster position="top-right" />
</body>
</html>
);
}