File size: 569 Bytes
336b102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<script lang="ts">
	import type { Snippet } from 'svelte';

	type Props = {
		title: string;
		description?: string;
		additional?: Snippet;
	};

	let { title, description, additional }: Props = $props();
</script>

<div class="border-b-2 border-[#0dce97] pb-5">
	<div class="max-w-4xl">
		<h1 class="font-mono text-5xl font-semibold tracking-normal text-foreground">
			{title}
		</h1>
		{#if description}
			<p class="mt-4 text-base leading-7 text-muted-foreground">
				{description}
			</p>
		{/if}
	</div>

	{#if additional}
		{@render additional()}
	{/if}
</div>