feat: overhaul project workspace navigation
This commit is contained in:
@@ -12,7 +12,8 @@ import {
|
||||
CardTitle,
|
||||
} from '@/components/ui/card';
|
||||
import AppLayout from '@/layouts/AppLayout.vue';
|
||||
import { create, index, show } from '@/routes/projects/index';
|
||||
import { create, index } from '@/routes/projects/index';
|
||||
import { index as boardIndex } from '@/routes/projects/board';
|
||||
import type { BreadcrumbItem, ProjectsIndexPageProps } from '@/types';
|
||||
|
||||
defineProps<ProjectsIndexPageProps>();
|
||||
@@ -62,7 +63,7 @@ const breadcrumbs: BreadcrumbItem[] = [
|
||||
<Link
|
||||
v-for="project in projects"
|
||||
:key="project.id"
|
||||
:href="show(project.id)"
|
||||
:href="boardIndex(project.id)"
|
||||
class="group block"
|
||||
>
|
||||
<Card class="group-hover:border-primary/40 h-full py-0">
|
||||
@@ -85,7 +86,7 @@ const breadcrumbs: BreadcrumbItem[] = [
|
||||
class="border-outline-variant/60 text-muted-foreground flex items-center gap-2 border-t px-5 py-4 text-sm"
|
||||
>
|
||||
<Folder class="size-4" />
|
||||
Open board, backlog, and settings hub
|
||||
Open project board
|
||||
</CardContent>
|
||||
</Card>
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user