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>
26 lines
589 B
Vue
26 lines
589 B
Vue
<script setup lang="ts">
|
|
import { computed } from 'vue';
|
|
import { SidebarInset } from '@/components/ui/sidebar';
|
|
|
|
type Props = {
|
|
variant?: 'header' | 'sidebar';
|
|
class?: string;
|
|
};
|
|
|
|
const props = defineProps<Props>();
|
|
const className = computed(() => props.class);
|
|
</script>
|
|
|
|
<template>
|
|
<SidebarInset v-if="props.variant === 'sidebar'" :class="className">
|
|
<slot />
|
|
</SidebarInset>
|
|
<main
|
|
v-else
|
|
class="mx-auto flex h-full w-full max-w-7xl flex-1 flex-col gap-4 rounded-xl"
|
|
:class="className"
|
|
>
|
|
<slot />
|
|
</main>
|
|
</template>
|