Skip to content

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

Removed unused PinnedProject{Card}

Tianzhou Chen6222abcc1f98
diff --git a/frontend/src/components/PinnedProject.vue b/frontend/src/components/PinnedProject.vue
deleted file mode 100644
index 75fb520679..0000000000
--- a/frontend/src/components/PinnedProject.vue
+++ /dev/null
@@ -1,25 +0,0 @@
-<template>
- <div>
- <h2 class="text-gray-500 text-xs font-medium uppercase tracking-wide">
- Pinned Projects
- </h2>
- <ul class="grid grid-cols-1 gap-4 grid-cols-4 mt-3">
- <li class="relative col-span-1 flex shadow-sm rounded-md">
- <PinnedProjectCard />
- </li>
-
- <!-- More project cards... -->
- </ul>
- </div>
-</template>
-
-<script lang="ts">
-import PinnedProjectCard from "./PinnedProjectCard.vue";
-
-export default {
- name: "PinnedProject",
- components: {
- PinnedProjectCard,
- },
-};
-</script>
diff --git a/frontend/src/components/PinnedProjectCard.vue b/frontend/src/components/PinnedProjectCard.vue
deleted file mode 100644
index ac21c60317..0000000000
--- a/frontend/src/components/PinnedProjectCard.vue
+++ /dev/null
@@ -1,62 +0,0 @@
-<template>
- <a
- href="#"
- class="bg-normal flex-1 flex items-center justify-between border border-block-border rounded-md hover:shadow-md truncate"
- >
- <div class="flex-1 px-4 py-2 text-sm leading-5 truncate">
- <div class="text-gray-900 font-medium hover:text-gray-600">
- GraphQL API
- </div>
- </div>
- <div class="flex-shrink-0 pr-2">
- <button
- @click.prevent="$refs.menu.toggle($event)"
- @contextmenu.capture.prevent="$refs.menu.toggle($event)"
- id="pinned-project-options-menu-0"
- aria-has-popup="true"
- class="w-8 h-8 inline-flex items-center justify-center text-gray-400 rounded-full bg-transparent hover:text-gray-500 focus:outline-none focus:text-gray-500 focus:bg-gray-100"
- >
- <svg class="w-5 h-5" viewBox="0 0 20 20" fill="currentColor">
- <path
- d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"
- />
- </svg>
- </button>
- <BBContextMenu
- ref="menu"
- class="z-10 ml-2 origin-top-right absolute top-13 w-48 rounded-md shadow-lg"
- >
- <div class="py-1">
- <a
- href="#"
- class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"
- role="menuitem"
- >View</a
- >
- </div>
- <div class="border-t border-gray-100"></div>
- <div class="py-1">
- <a
- href="#"
- class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"
- role="menuitem"
- >Removed from pinned</a
- >
- <a
- href="#"
- class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"
- role="menuitem"
- >Share</a
- >
- </div>
- </BBContextMenu>
- </div>
- </a>
-</template>
-
-<script lang="ts">
-export default {
- name: "PinnedProjectCard",
- components: {},
-};
-</script>