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 AttributionTable from "@/components/AttributionTable.vue";
import ViktorRefAlpha from "@/assets/viktor-ref-SFW-alpha.png?w=400&webp&quality=100&imagetools";
@ -26,7 +25,7 @@ const attributions = [
</script>
<template>
<TextBlock>
<section>
<h1>{{ $route.meta.title }}</h1>
<h2>Artwork</h2>
<AttributionTable :attributions="attributions" />
@ -45,7 +44,7 @@ const attributions = [
<a href="https://antonkoovit.com/typefaces/arvo">Arvo</a> by
<a href="https://antonkoovit.com/">Anton Koovit</a>
</p>
</TextBlock>
</section>
</template>
<style lang="scss"></style>