add client/admin pages, show info and created admin api and server actions
This commit is contained in:
@@ -6,6 +6,8 @@ import { lc } from '@/lib/utils'
|
||||
import './globals.css'
|
||||
import { SessionProvider } from 'next-auth/react'
|
||||
import { auth } from '@/config/auth'
|
||||
import Navbar from '@/components/auth/navbar'
|
||||
import { Toaster } from '@/components/ui/sonner'
|
||||
|
||||
const inter = Inter({ subsets: ['cyrillic'] })
|
||||
|
||||
@@ -24,6 +26,8 @@ export default async function RootLayout ({ params: { locale }, children }: Read
|
||||
<html lang={lc(locale)?.java}>
|
||||
<body className={inter.className}>
|
||||
<I18nProviderClient locale={locale} fallback="Loading...">
|
||||
<Navbar/>
|
||||
<Toaster/>
|
||||
{children}
|
||||
</I18nProviderClient>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user