-
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
2f0727f
commit c8b6cc2
Showing
40 changed files
with
1,245 additions
and
1,202 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
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
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
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
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,25 @@ | ||
import React from "react"; | ||
import AdminHeader from "../../../components/sidebar/navHeader"; | ||
import Sidebar from "../../../components/sidebar/sidebar"; | ||
import { Outlet } from "react-router"; | ||
const AdminLayout = () => { | ||
return ( | ||
<> | ||
<div className="bg-slate-400 h-screen"> | ||
<div className="bg-red-300 w-full h-[70px]"> | ||
<AdminHeader /> | ||
</div> | ||
<div className="flex w-full"> | ||
<div className="w-[16rem] h-full"> | ||
<Sidebar /> | ||
</div> | ||
<main className="flex w-[100%] justify-center items-center flex-1"> | ||
<Outlet /> | ||
</main> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default AdminLayout; |
Oops, something went wrong.