import { ReactNode } from "react"; import { useIsMobile } from "@/hooks/use-mobile"; import { useLocation } from "react-router-dom"; interface MainLayoutProps { children: ReactNode; } const MainLayout = ({ children }: MainLayoutProps) => { const isMobile = useIsMobile(); const location = useLocation(); const isHomePage = location.pathname === "/"; return (