2025-12-20 12:44:59 +01:00
|
|
|
<script>
|
2026-04-12 08:58:41 +01:00
|
|
|
import { DotPattern } from '@cio/ui/custom/animation/dot-pattern';
|
|
|
|
|
|
2025-12-25 05:37:21 +00:00
|
|
|
/**
|
|
|
|
|
* @typedef {Object} Props
|
|
|
|
|
* @property {string} [className]
|
|
|
|
|
* @property {import('svelte').Snippet} [children]
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/** @type {Props} */
|
|
|
|
|
let { className = '', children } = $props();
|
2025-12-20 12:44:59 +01:00
|
|
|
</script>
|
|
|
|
|
|
2026-04-12 08:58:41 +01:00
|
|
|
<header class="relative w-full overflow-hidden border-b border-slate-100 pt-32 pb-16 lg:min-h-[20rem]">
|
|
|
|
|
<DotPattern fillColor="rgb(2 51 189 / 0.25)" class="absolute inset-0 h-full w-full" />
|
|
|
|
|
<div class="relative z-10 {className}">
|
|
|
|
|
{@render children?.()}
|
|
|
|
|
</div>
|
2025-12-20 12:44:59 +01:00
|
|
|
</header>
|