Skip to content

Commit

Permalink
feat: Reusable BlockSection component (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaferla authored Jan 18, 2024
1 parent 428b65f commit 1d31a76
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/BlockSection.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<script lang="ts">
export let title: string;
</script>

<div class="content-block w-single-block flex flex-col gap-4">
<h2 class="section-title-underlined">{title}</h2>
<slot />
</div>

0 comments on commit 1d31a76

Please sign in to comment.