'use client'; import { useRef } from 'react'; import dynamic from 'next/dynamic'; import { usePathname } from 'next/navigation'; import { Header, Footer } from '@/components/ui/modules'; import Link from 'next/link'; const Scene = dynamic(() => import('@/webgl/Scene'), { ssr: false }); export function Layout({ children }) { const ref = useRef(null); const pathname = usePathname(); return (