Feat: Add Top bar while routing different different pages (#2298)
This commit is contained in:
@@ -2,8 +2,8 @@ import type { Viewport } from 'next'
|
||||
import I18nServer from './components/i18n-server'
|
||||
import BrowerInitor from './components/browser-initor'
|
||||
import SentryInitor from './components/sentry-initor'
|
||||
import Topbar from './components/base/topbar'
|
||||
import { getLocaleOnServer } from '@/i18n/server'
|
||||
|
||||
import './styles/globals.css'
|
||||
import './styles/markdown.scss'
|
||||
|
||||
@@ -43,6 +43,7 @@ const LocaleLayout = ({
|
||||
data-public-maintenance-notice={process.env.NEXT_PUBLIC_MAINTENANCE_NOTICE}
|
||||
data-public-site-about={process.env.NEXT_PUBLIC_SITE_ABOUT}
|
||||
>
|
||||
<Topbar/>
|
||||
<BrowerInitor>
|
||||
<SentryInitor>
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
|
Reference in New Issue
Block a user