mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2025-05-12 09:31:07 +08:00
Restrict all pages to only logged in users
This commit is contained in:
parent
18d9fbe1ef
commit
9cdca33783
6 changed files with 40 additions and 2 deletions
|
@ -45,13 +45,15 @@ export default function Sidebar() {
|
|||
>
|
||||
<ProductsIcon size={48} color="white" />
|
||||
</SidebarButton>
|
||||
|
||||
<SidebarButton
|
||||
onClick={() => navigate("/Inventory")}
|
||||
name="Inventory"
|
||||
>
|
||||
<InventoryIcon size={48} color="white" />
|
||||
</SidebarButton>
|
||||
<SidebarButton onClick={() => navigate("/Logs")} name="Logs">
|
||||
<LogsIcon size={48} color="white" />
|
||||
</SidebarButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue