Skip to content

Commit 169387d

Browse files
committed
fixing formatting
1 parent 516b577 commit 169387d

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

resources/js/components/AppHeader.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<script setup lang="ts">
22
import AppLogo from '@/components/AppLogo.vue';
33
import AppLogoIcon from '@/components/AppLogoIcon.vue';
4-
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
54
import Breadcrumbs from '@/components/Breadcrumbs.vue';
5+
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
66
import { Button } from '@/components/ui/button';
77
import { DropdownMenu, DropdownMenuContent, DropdownMenuTrigger } from '@/components/ui/dropdown-menu';
88
import {
@@ -77,7 +77,7 @@ const rightNavItems: NavItem[] = [
7777
<SheetHeader class="flex justify-start text-left">
7878
<AppLogoIcon class="size-6 fill-current text-black dark:text-white" />
7979
</SheetHeader>
80-
<div class="flex flex-col justify-between h-full space-y-4 py-6 flex-1">
80+
<div class="flex h-full flex-1 flex-col justify-between space-y-4 py-6">
8181
<nav class="-mx-3 space-y-1">
8282
<Link
8383
v-for="item in mainNavItems"
Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
<script setup lang="ts">
2+
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from '@/components/ui/breadcrumb';
23
3-
import {
4-
Breadcrumb,
5-
BreadcrumbItem,
6-
BreadcrumbLink,
7-
BreadcrumbList,
8-
BreadcrumbPage,
9-
BreadcrumbSeparator
10-
} from '@/components/ui/breadcrumb';
4+
interface BreadcrumbItem {
5+
title: string;
6+
href?: string;
7+
}
118
12-
interface BreadcrumbItem {
13-
title: string;
14-
href?: string;
15-
}
16-
17-
defineProps<{
18-
breadcrumbs: BreadcrumbItem[];
19-
}>();
9+
defineProps<{
10+
breadcrumbs: BreadcrumbItem[];
11+
}>();
2012
</script>
2113

2214
<template>
23-
<Breadcrumb>
15+
<Breadcrumb>
2416
<BreadcrumbList>
2517
<template v-for="(item, index) in breadcrumbs" :key="index">
2618
<BreadcrumbItem>
@@ -37,4 +29,4 @@
3729
</template>
3830
</BreadcrumbList>
3931
</Breadcrumb>
40-
</template>
32+
</template>

0 commit comments

Comments
 (0)