Neuaufbau des Repositories
This commit is contained in:
@@ -15,7 +15,6 @@ import {
|
||||
SidebarMenuButton,
|
||||
SidebarMenuItem,
|
||||
} from '@/components/ui/sidebar';
|
||||
import { dashboard } from '@/routes';
|
||||
import type { NavItem } from '@/types';
|
||||
|
||||
const page = usePage();
|
||||
@@ -36,7 +35,7 @@ const mainNavItems = computed<NavItem[]>(() => {
|
||||
const items: NavItem[] = [
|
||||
{
|
||||
title: 'Dashboard',
|
||||
href: dashboard(),
|
||||
href: '/dashboard',
|
||||
icon: LayoutGrid,
|
||||
}
|
||||
];
|
||||
@@ -82,7 +81,7 @@ const footerNavItems = computed<NavItem[]>(() => {
|
||||
<SidebarMenu>
|
||||
<SidebarMenuItem>
|
||||
<SidebarMenuButton size="lg" as-child>
|
||||
<Link :href="dashboard()">
|
||||
<Link href="/dashboard">
|
||||
<AppLogo />
|
||||
</Link>
|
||||
</SidebarMenuButton>
|
||||
|
||||
Reference in New Issue
Block a user