diff options
| author | toufic ar <contact@toufy.me> | 2026-07-07 18:29:43 +0300 |
|---|---|---|
| committer | toufic ar <contact@toufy.me> | 2026-07-07 18:29:43 +0300 |
| commit | f7da804e40b990e5f1ee2214a2e2e4984d704f16 (patch) | |
| tree | afec975241b8feaf40c72c924217a6a724461c51 /src/lib/components/SectionTitle.svelte | |
| download | website-f7da804e40b990e5f1ee2214a2e2e4984d704f16.tar.gz website-f7da804e40b990e5f1ee2214a2e2e4984d704f16.zip | |
initial commit
Diffstat (limited to 'src/lib/components/SectionTitle.svelte')
| -rw-r--r-- | src/lib/components/SectionTitle.svelte | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/components/SectionTitle.svelte b/src/lib/components/SectionTitle.svelte new file mode 100644 index 0000000..4550050 --- /dev/null +++ b/src/lib/components/SectionTitle.svelte @@ -0,0 +1,10 @@ +<script lang="ts"> + const { title, children }: { title: string; children: any } = $props(); +</script> + +<div class="w-full self-start"> + <h2 class="text-2xl md:text-4xl text-primary">{title}</h2> + <p class="text-sm md:text-lg text-base-content m-2"> + {@render children()} + </p> +</div> |
