Files
classroomio/apps/website/src/lib/components/page-header.svelte
T

20 lines
572 B
Svelte
Raw Normal View History

2025-12-20 12:44:59 +01:00
<script>
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>
<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>