Files
ClockyFly/resources/js/components/AppSidebarHeader.vue
Darius Rapalis 36f924a16a
Some checks failed
tests / ci (8.5) (push) Failing after 2m31s
linter / quality (push) Failing after 2m55s
tests / ci (8.3) (push) Failing after 3m25s
tests / ci (8.4) (push) Failing after 3m49s
Model: Qwen 3.6 35B A3
Prompt: simplify and fix dashboard layout. Sidebars are now a mess, weird gaps everywhere, make it simple and modern keeping general color scheme

Stats:
Context: 41,492 tokens
Time: 6m 15s
2026-04-28 23:16:20 +03:00

28 lines
932 B
Vue

<script setup lang="ts">
import Breadcrumbs from '@/components/Breadcrumbs.vue';
import { SidebarTrigger } from '@/components/ui/sidebar';
import type { BreadcrumbItem } from '@/types';
withDefaults(
defineProps<{
breadcrumbs?: BreadcrumbItem[];
}>(),
{
breadcrumbs: () => [],
},
);
</script>
<template>
<header
class="flex h-[60px] shrink-0 items-center gap-2 border-b border-[#e4eaee] px-4 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-[56px] dark:border-[#37474f]"
>
<div class="flex items-center gap-2 w-full">
<SidebarTrigger class="-ml-1 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200" />
<template v-if="breadcrumbs && breadcrumbs.length > 0">
<Breadcrumbs :breadcrumbs="breadcrumbs" />
</template>
</div>
</header>
</template>