feat: partner badge in marketplace (#14258)

This commit is contained in:
Wu Tianwei
2025-02-25 12:09:37 +08:00
committed by GitHub
parent 28add22f20
commit 42b13bd312
31 changed files with 2288 additions and 31 deletions

View File

@@ -4,6 +4,7 @@ import BrowserInitor from './components/browser-initor'
import SentryInitor from './components/sentry-initor'
import { getLocaleOnServer } from '@/i18n/server'
import { TanstackQueryIniter } from '@/context/query-client'
import { ThemeProvider } from 'next-themes'
import './styles/globals.css'
import './styles/markdown.scss'
@@ -27,7 +28,7 @@ const LocaleLayout = ({
const locale = getLocaleOnServer()
return (
<html lang={locale ?? 'en'} className="h-full" data-theme="light">
<html lang={locale ?? 'en'} className="h-full" suppressHydrationWarning>
<head>
<meta name="theme-color" content="#FFFFFF" />
<meta name="mobile-web-app-capable" content="yes" />
@@ -52,7 +53,16 @@ const LocaleLayout = ({
<BrowserInitor>
<SentryInitor>
<TanstackQueryIniter>
<I18nServer>{children}</I18nServer>
<ThemeProvider
attribute='data-theme'
defaultTheme='system'
enableSystem
disableTransitionOnChange
>
<I18nServer>
{children}
</I18nServer>
</ThemeProvider>
</TanstackQueryIniter>
</SentryInitor>
</BrowserInitor>