diff --git a/packages/outstatic/src/components/Sidebar/CollectionsList.tsx b/packages/outstatic/src/components/Sidebar/CollectionsList.tsx
index ce813145..a4b2e026 100644
--- a/packages/outstatic/src/components/Sidebar/CollectionsList.tsx
+++ b/packages/outstatic/src/components/Sidebar/CollectionsList.tsx
@@ -5,7 +5,7 @@ import {
SidebarGroup,
SidebarItem
} from '@/components/ui/outstatic/sidebar'
-import { Folder, LayoutDashboard, Plus } from 'lucide-react'
+import { Folder, Plus } from 'lucide-react'
import {
Tooltip,
TooltipProvider,
@@ -20,66 +20,46 @@ const CollectionsList = () => {
const { dashboardRoute } = useOutstatic()
return (
- <>
-
- }
- >
- Dashboard
-
-
-
-
-
-
- {collections
- ? collections.map((collection) => (
- }
- action={
-
-
-
-
-
-
-
- Create new{' '}
-
- {singular(collection.title)}
-
-
-
-
-
- }
- >
- {collection.title}
-
- ))
- : null}
-
-
- >
+
+
+ {collections
+ ? collections.map((collection) => (
+ }
+ action={
+
+
+
+
+
+
+
+ Create new{' '}
+
+ {singular(collection.title)}
+
+
+
+
+
+ }
+ >
+ {collection.title}
+
+ ))
+ : null}
+
+
)
}
diff --git a/packages/outstatic/src/components/Sidebar/index.tsx b/packages/outstatic/src/components/Sidebar/index.tsx
index 34b1ffc7..7ace2e7d 100644
--- a/packages/outstatic/src/components/Sidebar/index.tsx
+++ b/packages/outstatic/src/components/Sidebar/index.tsx
@@ -1,14 +1,15 @@
-import useOutstatic from '@/utils/hooks/useOutstatic'
-import dynamic from 'next/dynamic'
-import { cn } from '@/utils/ui'
import {
SidebarContent,
SidebarGroup,
SidebarItem,
Sidebar as SidebarUI
} from '@/components/ui/outstatic/sidebar'
-import { Image, Settings } from 'lucide-react'
+import useOutstatic from '@/utils/hooks/useOutstatic'
+import { cn } from '@/utils/ui'
+import { Image, LayoutDashboard, Plus, Settings } from 'lucide-react'
+import dynamic from 'next/dynamic'
import { SidebarFooter } from './sidebar-footer'
+import Link from 'next/link'
const CollectionsList = dynamic(() => import('./CollectionsList'), {
ssr: false
@@ -30,7 +31,7 @@ export const Sidebar = ({ isOpen = false }: SidebarProps) => {
aria-label="Sidebar"
>
-
+
@@ -42,8 +43,26 @@ export const Sidebar = ({ isOpen = false }: SidebarProps) => {
+
+
+
+
+ }
+ >
+ Dashboard
+
}
@@ -52,8 +71,8 @@ export const Sidebar = ({ isOpen = false }: SidebarProps) => {
+
-
)