kmcom-nuxt-layers 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,10 +24,12 @@ defineProps<Props>()
|
|
|
24
24
|
</script>
|
|
25
25
|
|
|
26
26
|
<template>
|
|
27
|
-
<div class="prose-rhythm text-center">
|
|
27
|
+
<!-- <div class="prose-rhythm text-center">
|
|
28
28
|
<h1 class="text-5xl font-bold">{{ title }}</h1>
|
|
29
29
|
<p v-if="description" class="text-xl text-gray-600 dark:text-gray-400">
|
|
30
30
|
{{ description }}
|
|
31
31
|
</p>
|
|
32
|
-
</div>
|
|
32
|
+
</div> -->
|
|
33
|
+
|
|
34
|
+
<UPageHeader :title :description />
|
|
33
35
|
</template>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
/**
|
|
3
|
+
* PageHeader - Standard page header component
|
|
4
|
+
*
|
|
5
|
+
* Displays a centered page title and optional description with consistent spacing.
|
|
6
|
+
* Used by PageContainer for visible page headers.
|
|
7
|
+
*
|
|
8
|
+
* @prop {string} title - Page title (displays as h1)
|
|
9
|
+
* @prop {string} description - Optional page description
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* <LayoutSectionTitle
|
|
13
|
+
* title="About Us"
|
|
14
|
+
* description="Learn about our company and mission"
|
|
15
|
+
* />
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
interface Props {
|
|
19
|
+
title: string
|
|
20
|
+
description?: string
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
defineProps<Props>()
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<template>
|
|
27
|
+
<LayoutGridItem class="prose-rhythm text-center" align="start" justify="center">
|
|
28
|
+
<h1 class="text-5xl font-bold">{{ title }}</h1>
|
|
29
|
+
<p v-if="description" class="text-xl text-gray-600 dark:text-gray-400">
|
|
30
|
+
{{ description }}
|
|
31
|
+
</p>
|
|
32
|
+
</LayoutGridItem>
|
|
33
|
+
</template>
|