From eeae96553c204097dec8a3c35d86533b3ce055d9 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 2 Mar 2024 13:07:50 +0000
Subject: ui: Move favourites and archive to act as a predefined list

---
 packages/web/app/dashboard/components/Sidebar.tsx | 21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

(limited to 'packages/web/app/dashboard/components/Sidebar.tsx')

diff --git a/packages/web/app/dashboard/components/Sidebar.tsx b/packages/web/app/dashboard/components/Sidebar.tsx
index 29e5baed..c6282a6b 100644
--- a/packages/web/app/dashboard/components/Sidebar.tsx
+++ b/packages/web/app/dashboard/components/Sidebar.tsx
@@ -1,13 +1,4 @@
-import {
-  Archive,
-  Star,
-  Tag,
-  Home,
-  PackageOpen,
-  Settings,
-  Search,
-  Shield,
-} from "lucide-react";
+import { Tag, Home, PackageOpen, Settings, Search, Shield } from "lucide-react";
 import { redirect } from "next/navigation";
 import SidebarItem from "./SidebarItem";
 import { getServerAuthSession } from "@/server/auth";
@@ -39,11 +30,6 @@ export default async function Sidebar() {
             name="Home"
             path="/dashboard/bookmarks"
           />
-          <SidebarItem
-            logo={<Star />}
-            name="Favourites"
-            path="/dashboard/bookmarks/favourites"
-          />
           {serverConfig.meilisearch && (
             <SidebarItem
               logo={<Search />}
@@ -51,11 +37,6 @@ export default async function Sidebar() {
               path="/dashboard/search"
             />
           )}
-          <SidebarItem
-            logo={<Archive />}
-            name="Archive"
-            path="/dashboard/bookmarks/archive"
-          />
           <SidebarItem logo={<Tag />} name="Tags" path="/dashboard/tags" />
           <SidebarItem
             logo={<Settings />}
-- 
cgit v1.2.3-70-g09d2

