kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/715/head
rodzic
e698b75c5d
commit
3aa15898a4
|
@ -0,0 +1,6 @@
|
|||
STRIPE_PUBLISHABLE_KEY=
|
||||
STRIPE_SECRET_KEY=
|
||||
|
||||
# Optional website analytics
|
||||
#NEXT_PUBLIC_POSTHOG_KEY=
|
||||
#NEXT_PUBLIC_POSTHOG_HOST=
|
|
@ -8,7 +8,7 @@ import { Toaster } from 'sonner'
|
|||
import { Bootstrap } from '@/components/bootstrap'
|
||||
import { Footer } from '@/components/footer'
|
||||
import { Header } from '@/components/header'
|
||||
// import { PostHogProvider } from '@/components/posthog-provider'
|
||||
import { PostHogProvider } from '@/components/posthog-provider'
|
||||
import { ThemeProvider } from '@/components/theme-provider'
|
||||
import * as config from '@/lib/config'
|
||||
|
||||
|
@ -49,22 +49,24 @@ export default function RootLayout({
|
|||
return (
|
||||
<html lang='en' suppressHydrationWarning>
|
||||
<body className={`${geist.variable} antialiased`}>
|
||||
<ThemeProvider
|
||||
attribute='class'
|
||||
defaultTheme='dark'
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<div className={styles.root}>
|
||||
<Header />
|
||||
<PostHogProvider>
|
||||
<ThemeProvider
|
||||
attribute='class'
|
||||
defaultTheme='dark'
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<div className={styles.root}>
|
||||
<Header />
|
||||
|
||||
<main className={cs(styles.main, 'pt-8 pb-16 px-4 md:px-0')}>
|
||||
{children}
|
||||
</main>
|
||||
<main className={cs(styles.main, 'pt-8 pb-16 px-4 md:px-0')}>
|
||||
{children}
|
||||
</main>
|
||||
|
||||
<Toaster richColors />
|
||||
<Footer />
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
<Toaster richColors />
|
||||
<Footer />
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
</PostHogProvider>
|
||||
|
||||
<Bootstrap />
|
||||
</body>
|
||||
|
|
Ładowanie…
Reference in New Issue