登录页面与组件样式调整

This commit is contained in:
2025-03-19 15:49:18 +08:00
parent eaae095d0e
commit 906693be10
28 changed files with 1405 additions and 206 deletions

View File

@@ -2,6 +2,11 @@ import {ReactNode} from 'react'
import {Metadata} from 'next'
import './globals.css'
import localFont from 'next/font/local'
import {Toaster} from '@/components/ui/sonner'
const font = localFont({
src: './NotoSansSC-VariableFont_wght.ttf',
})
export const metadata: Metadata = {
title: 'Create Next App',
@@ -15,8 +20,9 @@ export default function RootLayout({
}>) {
return (
<html lang="zh-Cn">
<body className={`bg-blue-50`}>
<body className={`${font.className} bg-blue-50`}>
{children}
<Toaster position={'top-center'}/>
</body>
</html>
)