Initial commit

This commit is contained in:
2026-08-27 20:13:42 +08:00
commit e2c06f7efe
36 files changed
+5204

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
import {Analytics} from '@vercel/analytics/next'
import {Geist, Geist_Mono} from 'next/font/google'
import type {Metadata, Viewport} from 'next'
import './globals.css'
const geist = Geist({subsets: ['latin'], variable: '--font-geist-sans'})
const geistMono = Geist_Mono({subsets: ['latin'], variable: '--font-geist-mono'})
export const metadata: Metadata = {
title: 'KSnippets',
description: 'Snippets for RTAST',
icons: [
{url: '/icon.svg'}
],
}
export const viewport: Viewport = {
colorScheme: 'light',
themeColor: '#f8f7f2',
userScalable: true,
}
export default function RootLayout({children}: Readonly<{ children: React.ReactNode }>) {
return <html lang="en" className="bg-background">
<body className={`${geist.variable} ${geistMono.variable}`}>{children}{process.env.NODE_ENV === 'production' &&
<Analytics/>}</body>
</html>
}