🎨 Page title is now clickable, goes to homepage
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user