Create Heading component

Intro title with p
This commit is contained in:
2021-10-12 22:39:55 +02:00
parent 8c51f75b1c
commit 4c14a85ab0
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<script lang="ts">
import SiteTitle from '$components/atoms/SiteTitle.svelte';
export let text: string
</script>
<section class="heading">
<SiteTitle variant="inline" />
<p class="text-medium">{text}</p>
</section>