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>
29 lines
662 B
Vue
29 lines
662 B
Vue
<script setup lang="ts">
|
|
type Props = {
|
|
title: string;
|
|
description?: string;
|
|
variant?: 'default' | 'small';
|
|
};
|
|
|
|
withDefaults(defineProps<Props>(), {
|
|
variant: 'default',
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<header :class="variant === 'small' ? '' : 'mb-8 space-y-0.5'">
|
|
<h2
|
|
:class="
|
|
variant === 'small'
|
|
? 'mb-0.5 text-base font-medium'
|
|
: 'text-xl font-semibold tracking-tight'
|
|
"
|
|
>
|
|
{{ title }}
|
|
</h2>
|
|
<p v-if="description" class="text-sm text-muted-foreground">
|
|
{{ description }}
|
|
</p>
|
|
</header>
|
|
</template>
|