import type { Metadata } from 'next'; import './globals.css'; import { RootLayoutClient } from './layout-client'; import { SITE_URL } from '@/lib/config'; export const metadata: Metadata = { title: { default: '宇之然 AI - AI 工具与知识社区', template: '%s | 宇之然 AI', }, description: '宇之然 AI 是面向大众化分领域用户的 AI 工具与知识社区,涵盖 AI 通识、提示词工程、智能体教程、模型百科等,让每个人都能用好 AI。', keywords: ['AI', '人工智能', '学习', '提示词', '智能体', '大模型', '宇之然'], icons: { icon: '/favicon.png', shortcut: '/favicon.png', apple: '/icon.svg', }, openGraph: { type: 'website', locale: 'zh_CN', siteName: '宇之然 AI', title: '宇之然 AI - AI 工具与知识社区', description: '让每个人都能用好 AI', url: SITE_URL, }, }; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( {children} ); }