"use client"; import { ReactNode } from "react"; import { ThemeProvider } from "next-themes"; // lib import { StoreProvider } from "@/lib/store-context"; import { AppWrapper } from "@/lib/wrappers"; // constants import { SITE_NAME, SITE_DESCRIPTION, SITE_URL, TWITTER_USER_NAME, SITE_KEYWORDS, SITE_TITLE } from "@/constants/seo"; // styles import "./globals.css"; interface RootLayoutProps { children: ReactNode; } const RootLayout = ({ children, ...pageProps }: RootLayoutProps) => { const prefix = parseInt(process.env.NEXT_PUBLIC_DEPLOY_WITH_NGINX || "0") === 0 ? "/" : "/god-mode/"; return ( {SITE_TITLE} {children} ); }; export default RootLayout;