Files
newsui/packages/docs/app/layout.tsx
T

20 lines
457 B
TypeScript
Raw Normal View History

2026-05-19 21:09:56 +08:00
import './globals.css';
2026-05-20 01:30:41 +08:00
import type { Metadata } from 'next';
import { Header } from '../components/Header';
2026-05-19 21:09:56 +08:00
export const metadata: Metadata = {
2026-05-20 01:30:41 +08:00
title: 'NewspaperUI — Production Newspaper Components',
description: '生产级报纸布局组件库',
2026-05-19 21:09:56 +08:00
};
2026-05-20 01:30:41 +08:00
export default function RootLayout({ children }: { children: React.ReactNode }) {
2026-05-19 21:09:56 +08:00
return (
2026-05-20 01:30:41 +08:00
<html lang="zh">
<body>
<Header />
{children}
</body>
2026-05-19 21:09:56 +08:00
</html>
);
}