23edb74bce
- 支付系统:微信支付 mock 自动完成、NATIVE 扫码支付、JSAPI 集成 - 运营助手:Tool Calling 架构,19 个可执行工具,AI 驱动操作 - 角色管理:表格布局 + Dialog 表单 + 权限勾选 - 配置统一:config.ts 单一数据源 - API 审计:补齐 status toggle / comments 端点 - 暗黑模式硬件编码颜色全部替换为 CSS 变量
37 lines
1.2 KiB
TypeScript
37 lines
1.2 KiB
TypeScript
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 (
|
|
<html lang="zh-CN" suppressHydrationWarning>
|
|
<body className="min-h-screen flex flex-col">
|
|
<RootLayoutClient>{children}</RootLayoutClient>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|