// Layout/container used for the main mostly empty landing page, can be used for related pages (credits, about, etc.) import { AnimatePresence, domAnimation, LazyMotion, m } from "framer-motion"; import Head from "next/head"; import { useRouter } from "next/router"; import NavBar from "../components/common/NavBar"; import { NavTemplate } from "./NavTemplates"; interface HomeLayoutProps { navOptions: NavTemplate[]; children: React.ReactNode; } function HomeLayout(props: HomeLayoutProps) { // get the nav options const navOptions = props.navOptions; // get the current route for animation purposes const router = useRouter(); return ( <> InvestBot {props.children} ); } export default HomeLayout;