/**
        * 
        * Main layout to be used in every page whereever header and footer needed to be linked
        * 
        */
      
        import Header from "../header/header"
        import Footer from "../footer/footer"
        export default function MainLayout({children}){
            return (
                <>
                <Header/>
                {children}
                <Footer/>
                </>
            )
        }

      Javascript language logo
      your recipe card header background
      Nextjs

      Nextjs with tailwind

      The code above creates a layout where the Header and Footer sections are linked at the top and bottom of every page, respectively.

      Shortcut: nextjs.layout.main

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.