Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Move Home to the sidebar

Tianzhou Chene662b829127e
diff --git a/frontend/src/views/DashboardHeader.vue b/frontend/src/views/DashboardHeader.vue
index ec9667ffbe..a30b960e51 100644
--- a/frontend/src/views/DashboardHeader.vue
+++ b/frontend/src/views/DashboardHeader.vue
@@ -8,11 +8,6 @@
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
- <!-- Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" -->
- <router-link to="/" class="link px-3 py-2 rounded-md"
- >Home</router-link
- >
-
<router-link to="/instance" class="link px-3 py-2 rounded-md"
>Instance</router-link
>
diff --git a/frontend/src/views/DashboardSidebar.vue b/frontend/src/views/DashboardSidebar.vue
index b3d92f88ee..b86e5ebea8 100644
--- a/frontend/src/views/DashboardSidebar.vue
+++ b/frontend/src/views/DashboardSidebar.vue
@@ -1,7 +1,31 @@
<template>
<!-- Navigation -->
<nav class="px-2">
- <BookmarkListSidePanel />
+ <div class="space-y-1">
+ <router-link
+ to="/"
+ class="sidebar-link group flex items-center px-2 py-2"
+ active-class="sidebar-link"
+ >
+ <svg
+ class="mr-3 h-6 w-6 text-gray-500 group-hover:text-gray-500 group-focus:text-gray-600"
+ fill="none"
+ viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
+ />
+ </svg>
+ Home
+ </router-link>
+ </div>
+ <div class="mt-4">
+ <BookmarkListSidePanel />
+ </div>
<!-- <div class="mt-4">
<ProjectListSidePanel />
</div>