Skip to content

Commit

Permalink
refactor(footer): change footer placement in the layout to fit the sc…
Browse files Browse the repository at this point in the history
…reen width
  • Loading branch information
ismail-benlaredj committed Oct 22, 2023
1 parent b8be8b5 commit a6aa597
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/layout/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ import Navbar from "@/components/navbar/Navbar";

export default function Layout({ children }) {
return (
<div className='container mx-auto '>
<Navbar />
{children}
<>
<div className='container mx-auto '>
<Navbar />
{children}
</div>
<Footer />
</div>
</>
);
}

0 comments on commit a6aa597

Please sign in to comment.