import type { Metadata } from 'next'; import { Geist, Geist_Mono } from 'next/font/google'; import './globals.css'; const sans = Geist({ variable: '--font-geist-sans', subsets: ['latin'] }); const mono = Geist_Mono({ variable: '--font-geist-mono', subsets: ['latin'] }); export const metadata: Metadata = { title: 'API 服务开发 · Agent 开发补修课', description: '面向具有 Python 基础的开发者,用 FastAPI 完成 REST 接口、异步调用、SSE 流式响应与 WebSocket 通信。配套实战步骤、代码与练习。', icons: { icon: '/favicon.svg' }, }; export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode }>) { return ( {children} ); }