Skip to content

Commit

Permalink
max width
Browse files Browse the repository at this point in the history
  • Loading branch information
kleenpulse committed Jul 25, 2024
1 parent f4c4c36 commit 6d66518
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ export default function RootLayout({
return (
<html lang="en">
<body className={inter.className}>
<Providers />
{children}
<Toaster />
<div className="mx-auto w-full max-w-[1440px]">
<Providers />
{children}
<Toaster />
</div>
</body>
</html>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const HeroSection: React.FC = () => {
<div className="absolute inset-0 z-20 h-full w-full bg-black/20"></div>
<Image
src={blogHero}
layout="fill"
fill
className="absolute inset-0 object-cover"
alt="Hero Background"
/>
Expand Down

0 comments on commit 6d66518

Please sign in to comment.