fix tax log
This commit is contained in:
27
frontend/src/lib/ui/PageHeader.svelte
Normal file
27
frontend/src/lib/ui/PageHeader.svelte
Normal file
@@ -0,0 +1,27 @@
|
||||
<!-- [DEF:PageHeader:Component] -->
|
||||
<!--
|
||||
@TIER: TRIVIAL
|
||||
@SEMANTICS: page-header, layout-atom
|
||||
@PURPOSE: Standardized page header with title and action area.
|
||||
@LAYER: Atom
|
||||
-->
|
||||
|
||||
<script lang="ts">
|
||||
// [SECTION: PROPS]
|
||||
export let title: string = "";
|
||||
// [/SECTION: PROPS]
|
||||
</script>
|
||||
|
||||
<!-- [SECTION: TEMPLATE] -->
|
||||
<header class="flex items-center justify-between mb-8">
|
||||
<div class="space-y-1">
|
||||
<h1 class="text-3xl font-bold tracking-tight text-gray-900">{title}</h1>
|
||||
<slot name="subtitle" />
|
||||
</div>
|
||||
<div class="flex items-center gap-4">
|
||||
<slot name="actions" />
|
||||
</div>
|
||||
</header>
|
||||
<!-- [/SECTION: TEMPLATE] -->
|
||||
|
||||
<!-- [/DEF:PageHeader:Component] -->
|
||||
Reference in New Issue
Block a user