Skip to content

Commit 1c9baa2

Browse files
committed
fixed layout of page
1 parent 555ca01 commit 1c9baa2

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

src/app/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ export default function RootLayout({
2121
return (
2222
<html lang="en" className={inter.className} suppressHydrationWarning>
2323
<body>
24-
<Providers>
25-
{children}
26-
</Providers>
24+
<div className={`min-h-screen`}>
25+
<Providers> {children} </Providers>
26+
</div>
2727
</body>
2828
</html>
2929
);

src/app/page.tsx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,16 @@ export default function Portfolio() {
7070

7171

7272
return (
73-
<div className={`min-h-screen`}>
74-
<div className="bg-neutral-100 dark:bg-neutral-950 text-gray-800 dark:text-gray-200 transition-colors duration-300">
75-
<Navbar />
76-
<div className="mx-auto max-w-full px-4 sm:px-6 md:px-8 lg:max-w-5xl xl:max-w-6xl 2xl:max-w-7xl">
77-
<Header />
78-
<main className="container mx-auto px-4 py-8">
79-
<About />
80-
<Experiences arr={experiencesArray}/>
81-
<Projects arr={projectsArray}/>
82-
</main>
83-
<Footer />
84-
</div>
73+
<div className="bg-neutral-100 dark:bg-neutral-950 text-gray-800 dark:text-gray-200 transition-colors duration-300">
74+
<Navbar />
75+
<div className="mx-auto max-w-full px-4 sm:px-6 md:px-8 lg:max-w-5xl xl:max-w-6xl 2xl:max-w-7xl">
76+
<Header />
77+
<main className="container mx-auto px-4 py-8">
78+
<About />
79+
<Experiences arr={experiencesArray}/>
80+
<Projects arr={projectsArray}/>
81+
</main>
82+
<Footer />
8583
</div>
8684
</div>
8785
)

0 commit comments

Comments
 (0)