add footer config

This commit is contained in:
Bnyro
2022-09-09 20:13:56 +02:00
committed by Kavin
parent 8273b6f999
commit 88e0c60be0
5 changed files with 76 additions and 11 deletions

View File

@@ -1,29 +1,24 @@
<template>
<div class="w-full min-h-screen px-1vw reset" :class="[theme]">
<NavBar />
<router-view v-slot="{ Component }">
<keep-alive :max="5">
<component :is="Component" :key="$route.fullPath" />
</keep-alive>
</router-view>
<footer class="text-center my-2">
<a aria-label="GitHub" href="https://github.com/TeamPiped/Piped">
<font-awesome-icon :icon="['fab', 'github']" />
</a>
<a class="ml-2" href="https://github.com/TeamPiped/Piped#donations">
<font-awesome-icon :icon="['fab', 'bitcoin']" />
<span class="ml-1" v-t="'actions.donations'" />
</a>
</footer>
<FooterComponent />
</div>
</template>
<script>
import NavBar from "./components/NavBar.vue";
import FooterComponent from "./components/FooterComponent.vue";
export default {
components: {
NavBar,
FooterComponent,
},
mounted() {
if (this.getPreferenceBoolean("watchHistory", false))