Creating a reusable layout in Next.js