diff --git a/front/src/components/ui/Heading.vue b/front/src/components/ui/Heading.vue
index f4eff48ad..173c93d94 100644
--- a/front/src/components/ui/Heading.vue
+++ b/front/src/components/ui/Heading.vue
@@ -1,14 +1,15 @@
+ {{ title }}
diff --git a/front/src/components/ui/Section.vue b/front/src/components/ui/Section.vue
index df0899642..8bbcef557 100644
--- a/front/src/components/ui/Section.vue
+++ b/front/src/components/ui/Section.vue
@@ -8,16 +8,21 @@ import Button from '~/components/ui/Button.vue'
import Link from '~/components/ui/Link.vue'
import Heading from '~/components/ui/Heading.vue'
+const actionComponents =
+ { Button, Link }
+
const props = defineProps<{
[M in 'no-items' | 'tiny-items' | 'small-items' | 'medium-items']?: true }
& { alignLeft?: boolean;}
& { [H in 'h1' | 'h2' | 'h3']?: string }
& { action?: { text: string } & (RouterLinkProps | { onClick: (...args: any[]) => void | Promise }) }>()
-const [headingLevel, title] =
- props.h1 ? ['h1', props.h1] as const
- : props.h2 ? ['h2', props.h2] as const
- : ['h3', props.h3] as const
+const heading =
+ props.h1 ? ({ h1: props.h1, pageHeading: true }) as const
+ : props.h2 ? ({ h2: props.h2 }) as const
+ : ({ h3: props.h3 }) as const
+
+console.log("HEADING", heading)
const numberOfColumnsPerItem =
'noItems' in props && props.noItems ? 1 : 'tinyItems' in props && props.tinyItems ? 2 : 'smallItems' in props && props['smallItems'] ? 3 : 4
@@ -34,7 +39,6 @@ const headerGrid =
:style="`${'alignLeft' in props && props.alignLeft ? 'justify-content: start' : ''};
margin-top: -64px;`"
>
-
-
-
- {{ title }}
-
-
- {{ title }}
-
-
- {{ title }}
-
+
-
-
- {{ props.action.text }}
-
+ {{ action?.text }}
+