Initial commit of the L'Ami Fiduciaire SaaS platform built on Laravel 12, Vue 3, Inertia.js 2, and Tailwind CSS 4. Story 0.1 (rename folders to declarations in database) is implemented and code-reviewed: migration, rollback, and 6 Pest tests all passing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
1013 B
Vue
32 lines
1013 B
Vue
<script setup lang="ts">
|
|
import Breadcrumbs from '@/components/Breadcrumbs.vue';
|
|
import NotificationDropdown from '@/components/NotificationDropdown.vue';
|
|
import { SidebarTrigger } from '@/components/ui/sidebar';
|
|
import type { BreadcrumbItem } from '@/types';
|
|
|
|
withDefaults(
|
|
defineProps<{
|
|
breadcrumbs?: BreadcrumbItem[];
|
|
}>(),
|
|
{
|
|
breadcrumbs: () => [],
|
|
},
|
|
);
|
|
</script>
|
|
|
|
<template>
|
|
<header
|
|
class="flex h-16 shrink-0 items-center gap-2 border-b border-sidebar-border/70 px-6 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12 md:px-4"
|
|
>
|
|
<div class="flex items-center gap-2">
|
|
<SidebarTrigger class="-ml-1" />
|
|
<template v-if="breadcrumbs && breadcrumbs.length > 0">
|
|
<Breadcrumbs :breadcrumbs="breadcrumbs" />
|
|
</template>
|
|
</div>
|
|
<div class="ml-auto flex items-center gap-2">
|
|
<NotificationDropdown />
|
|
</div>
|
|
</header>
|
|
</template>
|