import { FC } from 'react' import cn from 'classnames' import type { Page } from '@lib/bigcommerce/api/operations/get-all-pages' import { CommerceProvider } from '@lib/bigcommerce' import { Navbar, Featurebar, Footer } from '@components/core' import { Container, Sidebar } from '@components/ui' import { CartSidebarView } from '@components/cart' import { useUI } from '@components/ui/context' import s from './Layout.module.css' interface Props { pageProps: { pages?: Page[] } } const Layout: FC = ({ children, pageProps }) => { const { displaySidebar, closeSidebar } = useUI() return (
{children}
) } export default Layout