'use client' import '../styles/globals.css' import StyledComponentsRegistry from '../components/Utils/libs/styled-registry' import { motion } from 'framer-motion' import { SessionProvider } from 'next-auth/react' import LHSessionProvider from '@components/Contexts/LHSessionContext' import { isDevEnv } from './auth/options' import Script from 'next/script' export default function RootLayout({ children, }: { children: React.ReactNode }) { const variants = { hidden: { opacity: 0, x: 0, y: 0 }, enter: { opacity: 1, x: 0, y: 0 }, exit: { opacity: 0, x: 0, y: 0 }, } return (