mirror of https://github.com/Lissy93/dashy.git
🎨 Page title is now clickable, goes to homepage
This commit is contained in:
parent
4e21e9cf47
commit
7be610f49c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue