2026-02-25 09:58:14 +03:00
|
|
|
<!--
|
|
|
|
|
Component: SectionTitle
|
|
|
|
|
Styled title for page section
|
|
|
|
|
-->
|
|
|
|
|
<script lang="ts">
|
|
|
|
|
interface Props {
|
2026-03-02 22:19:35 +03:00
|
|
|
/**
|
|
|
|
|
* Title text
|
|
|
|
|
*/
|
2026-02-25 09:58:14 +03:00
|
|
|
text?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const { text }: Props = $props();
|
|
|
|
|
</script>
|
|
|
|
|
{#if text}
|
2026-04-17 09:42:24 +03:00
|
|
|
<h2 class="text-3xl md:text-4xl lg:text-5xl font-primary font-bold text-swiss-black dark:text-neutral-200 tracking-tight">
|
2026-02-25 09:58:14 +03:00
|
|
|
{text}
|
|
|
|
|
</h2>
|
|
|
|
|
{/if}
|