49 lines
1.3 KiB
TypeScript
49 lines
1.3 KiB
TypeScript
import type React from "react"
|
|
import type { Metadata } from "next"
|
|
import { Geist, Geist_Mono } from "next/font/google"
|
|
import { Analytics } from "@vercel/analytics/next"
|
|
import "./globals.css"
|
|
import { LayoutWrapper } from "@/components/layout-wrapper"
|
|
|
|
const _geist = Geist({ subsets: ["latin"] })
|
|
const _geistMono = Geist_Mono({ subsets: ["latin"] })
|
|
|
|
export const metadata: Metadata = {
|
|
title: "一场soul的创业实验 - 卡若",
|
|
description: "来自Soul派对房的真实商业故事,每天早上6-9点免费分享",
|
|
authors: [{ name: "卡若", url: "https://soul.quwanzhi.com" }],
|
|
keywords: ["创业", "商业案例", "Soul", "私域运营"],
|
|
icons: {
|
|
icon: [
|
|
{
|
|
url: "/icon-light-32x32.png",
|
|
media: "(prefers-color-scheme: light)",
|
|
},
|
|
{
|
|
url: "/icon-dark-32x32.png",
|
|
media: "(prefers-color-scheme: dark)",
|
|
},
|
|
{
|
|
url: "/icon.svg",
|
|
type: "image/svg+xml",
|
|
},
|
|
],
|
|
apple: "/apple-icon.png",
|
|
},
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="zh-CN">
|
|
<body className="bg-black">
|
|
<LayoutWrapper>{children}</LayoutWrapper>
|
|
{process.env.NODE_ENV === 'production' && <Analytics />}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|