diff --git a/front/src/components/ui/Heading.vue b/front/src/components/ui/Heading.vue
new file mode 100644
index 000000000..f4eff48ad
--- /dev/null
+++ b/front/src/components/ui/Heading.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
diff --git a/front/src/components/ui/Section.vue b/front/src/components/ui/Section.vue
index e704158c8..df0899642 100644
--- a/front/src/components/ui/Section.vue
+++ b/front/src/components/ui/Section.vue
@@ -6,6 +6,7 @@ import Layout from '~/components/ui/Layout.vue'
import Spacer from '~/components/ui/Spacer.vue'
import Button from '~/components/ui/Button.vue'
import Link from '~/components/ui/Link.vue'
+import Heading from '~/components/ui/Heading.vue'
const props = defineProps<{
[M in 'no-items' | 'tiny-items' | 'small-items' | 'medium-items']?: true }
@@ -14,9 +15,9 @@ const props = defineProps<{
& { action?: { text: string } & (RouterLinkProps | { onClick: (...args: any[]) => void | Promise }) }>()
const [headingLevel, title] =
- props.h1 ? ['h1', props.h1]
- : props.h2 ? ['h2', props.h2]
- : ['h3', props.h3]
+ props.h1 ? ['h1', props.h1] as const
+ : props.h2 ? ['h2', props.h2] as const
+ : ['h3', props.h3] as const
const numberOfColumnsPerItem =
'noItems' in props && props.noItems ? 1 : 'tinyItems' in props && props.tinyItems ? 2 : 'smallItems' in props && props['smallItems'] ? 3 : 4
@@ -44,10 +45,15 @@ const headerGrid =
style="align-self: baseline;"
/>
-
-
+
{{ title }}
-
+
+
+ {{ title }}
+
+
+ {{ title }}
+