-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18c09df
commit c39a258
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from "react"; | ||
|
||
import { Toaster } from "@/components/ui/toaster"; | ||
import Navbar from "@/components/shared/navbar/Navbar"; | ||
import LeftSidebar from "@/components/shared/LeftSidebar"; | ||
import RightSidebar from "@/components/shared/RightSidebar"; | ||
|
||
const Layout = ({ children }: { children: React.ReactNode }) => { | ||
return ( | ||
<main className="background-light850_dark100 relative"> | ||
<Navbar /> | ||
<div className="flex"> | ||
<LeftSidebar /> | ||
|
||
<section className="flex min-h-screen flex-1 flex-col px-6 pb-6 pt-36 max-md:pb-14 sm:px-14"> | ||
<div className="mx-auto w-full max-w-5xl">{children}</div> | ||
</section> | ||
|
||
<RightSidebar /> | ||
</div> | ||
|
||
<Toaster /> | ||
</main> | ||
); | ||
}; | ||
|
||
export default Layout; |