refactor: remove TextBlock component in favor of simpler section element

This commit is contained in:
Sebin Nyshkim 2023-01-18 13:47:01 +01:00
parent bd4b36f8ae
commit d296e61362
7 changed files with 30 additions and 42 deletions

View file

@ -1,5 +1,4 @@
<script setup lang="ts">
import TextBlock from "@/components/TextBlock.vue";
import WelcomeHeader from "@/components/WelcomeHeader.vue";</script>
<template>
@ -8,10 +7,10 @@ import WelcomeHeader from "@/components/WelcomeHeader.vue";</script>
<template #sub>Character Reference Page</template>
</WelcomeHeader>
<TextBlock>
<section>
<h3>Welcome to Viktor's Ref Page</h3>
<p>Here you can learn all about the ankylosaurus named Viktor.</p>
<p>Pick an item from the navigation to dive in!</p>
</TextBlock>
</section>
</template>