mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-25 14:44:49 +02:00
🎨 Page title is now clickable, goes to homepage
This commit is contained in:
parent
4e21e9cf47
commit
7be610f49c
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user