import type { Metadata } from 'next' import { Inter } from 'next/font/google' import './globals.css' import '@/styles/code-themes.css' import { ThemeProvider } from '@/components/theme/ThemeProvider' import { cn } from '@/lib/utils' import { Toaster } from '@/components/ui/toaster' const inter = Inter({ subsets: ['latin'] }) export const metadata: Metadata = { title: 'NeuraPress', description: 'Markdown 转微信公众号内容神器', icons: { icon: [ { url: '/favicon.svg', type: 'image/svg+xml', } ], }, } export const viewport = { width: "device-width", initialScale: 1, maximumScale: 1, userScalable: false, viewportFit: "cover", themeColor: [ { media: "(prefers-color-scheme: light)", color: "white" }, { media: "(prefers-color-scheme: dark)", color: "#020817" } ] }; export default function RootLayout({ children, }: { children: React.ReactNode }) { return ( {children} ) }