mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-26 19:16:24 +00:00
✨ feat: 添加Footer组件并在RootLayout中引入,增强页面结构
style: 更新globals.css,调整sonner-toast背景颜色 fix: 修改request.ts中的日志级别为debug,优化错误信息输出
This commit is contained in:
@ -4,6 +4,7 @@ import { motion } from 'framer-motion'
|
||||
import { usePathname } from 'next/navigation'
|
||||
import { Navbar } from '@/components/navbar'
|
||||
import { BackgroundProvider } from '@/contexts/background-context'
|
||||
import Footer from '@/components/footer'
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@ -31,6 +32,7 @@ export default function RootLayout({
|
||||
<div className='container mx-auto px-4 sm:px-6 lg:px-10 max-w-7xl'>{children}</div>
|
||||
</BackgroundProvider>
|
||||
</motion.main>
|
||||
<Footer />
|
||||
</>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user