implemented persistent layouts in Next.js see https://adamwathan.me/2019/10/17/persistent-layout-patterns-in-nextjs/ and https://github.com/zeit/next.js/discussions/11187