🎨 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

View File

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