"use client"; import { motion } from "framer-motion"; import Link from "next/link"; import { usePathname } from "next/navigation"; import type { ReactNode } from "react"; import { Footer } from "./Footer"; import { Header } from "./Header"; import { Logo } from "./Logo"; import { Navigation } from "./Navigation"; import { type Section, SectionProvider } from "./SectionProvider"; export function Layout({ children, allSections, }: { children: ReactNode; allSections: Record; }) { const pathname = usePathname(); return (
{children}
); }