import { type ReactNode } from 'react'; import { useLocation } from 'react-router-dom'; import { Header } from './Header'; import { Footer } from './Footer'; import { ScrollToTop } from './ScrollToTop'; import { cn } from '../../lib/cn'; type LayoutProps = { children: ReactNode; }; export const Layout = ({ children }: LayoutProps) => { const { pathname } = useLocation(); const isHome = pathname === '/'; const darkRoutes = ['/about', '/technology', '/usecases']; const isDarkPage = darkRoutes.some((route) => pathname.startsWith(route)); return (