41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
import React from 'react'
|
||
import { Toaster } from "@/components/ui/sonner"
|
||
import ClientLayout from './components/ClientLayout'
|
||
import './globals.css'
|
||
|
||
export const metadata = {
|
||
title: '信奥工具箱 - 在线工具集合',
|
||
description: '信奥工具箱提供各种实用的在线工具,包括JSON格式化、文本处理、编码转换、二维码生成等。',
|
||
keywords: '在线工具,JSON格式化,二维码生成器,文本处理,编码工具,信奥工具箱',
|
||
authors: [{ name: '信奥工具箱' }],
|
||
}
|
||
|
||
// 使用系统字体,避免构建时依赖外部网络
|
||
// import { Inter } from "next/font/google";
|
||
// const inter = Inter({
|
||
// subsets: ["latin"],
|
||
// display: "swap",
|
||
// fallback: ["system-ui", "arial"],
|
||
// adjustFontFallback: true,
|
||
// });
|
||
|
||
export default function RootLayout({
|
||
children,
|
||
}: {
|
||
children: React.ReactNode
|
||
}) {
|
||
return (
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<link rel="icon" href="/favicon.ico" />
|
||
</head>
|
||
<body className="font-sans antialiased">
|
||
<ClientLayout>
|
||
{children}
|
||
</ClientLayout>
|
||
<Toaster />
|
||
</body>
|
||
</html>
|
||
)
|
||
}
|