🎨 Page title is now clickable, goes to homepage

This commit is contained in:
Alicia Sykes 2021-06-23 15:29:05 +01:00
parent 4e21e9cf47
commit 7be610f49c
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,8 @@
<template>
<div class="page-titles">
<router-link to="/" class="page-titles">
<h1>{{ title }}</h1>
<span class="subtitle">{{ description }}</span>
</div>
</router-link>
</template>
<script>
@ -21,6 +21,7 @@ export default {
.page-titles {
display: flex;
flex-direction: column;
text-decoration: none;
h1 {
color: var(--heading-text-color);
font-size: 2.5rem;