Skip to content

Commit d723ac1

Browse files
committed
Change common layout to specific components
1 parent c48ebd0 commit d723ac1

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

app/layout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ export default function RootLayout({
1919
return (
2020
<html lang="en">
2121
<body className={inter.className}>
22-
<main className="w-[95vw] mx-auto p-10">
2322
{children}
24-
</main>
2523
</body>
2624
</html>
2725
);

app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import Footer from "./components/Footer";
1313

1414
export default function Home() {
1515
return (
16-
<>
16+
<main className="w-[95vw] mx-auto p-10">
1717
<HomeNavbar />
1818
<div className="bg-[#CDE1F2] p-10">
1919
<div className="flex lg:flex-row md:flex-col sm:items-center xs:flex-col justify-between row-1">
@@ -90,6 +90,6 @@ export default function Home() {
9090
</div>
9191
<hr className="mt-5" />
9292
<Footer />
93-
</>
93+
</main>
9494
);
9595
}

app/voyager/communities/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Footer from "@/app/components/Footer";
99

1010
const Community = () => {
1111
return (
12-
<>
12+
<main className="w-[95vw] mx-auto p-10">
1313
<CommunitiesNavbar />
1414
<div>
1515
<div className="text-lg font-bold mt-10 mb-5">
@@ -85,7 +85,7 @@ const Community = () => {
8585
</div>
8686
<hr className="mt-5" />
8787
<Footer />
88-
</>
88+
</main>
8989
);
9090
};
9191

app/voyager/my_account/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const MyAccount = () => {
1212
const id = searchParams.get("userId");
1313

1414
return (
15-
<>
15+
<main className="w-[95vw] mx-auto p-10">
1616
<HomeNavbar />
1717
<div
1818
className="p-10 bg-cover bg-center h-screen"
@@ -43,7 +43,7 @@ const MyAccount = () => {
4343
</div>
4444
<hr className="mt-5" />
4545
<Footer />
46-
</>
46+
</main>
4747
);
4848
};
4949

app/voyager/profile/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Footer from "@/app/components/Footer";
77

88
const Profile = () => {
99
return (
10-
<>
10+
<main className="w-[95vw] mx-auto p-10">
1111
<ProfileNavbar />
1212
<hr className="mt-5" />
1313
<div className="row-1 flex flex-wrap items-center gap-5 justify-center mt-5">
@@ -85,7 +85,7 @@ const Profile = () => {
8585
</div>
8686
<hr className="mt-5" />
8787
<Footer />
88-
</>
88+
</main>
8989
);
9090
};
9191

0 commit comments

Comments
 (0)