perf: remove footer

This commit is contained in:
thehrz 2023-07-11 15:38:23 +08:00
parent 94a3527d02
commit 94f1c42a4e
No known key found for this signature in database
GPG Key ID: 683658B4CAC43158

View File

@ -1,32 +0,0 @@
<script setup lang="ts">
const { t, availableLocales, locale } = useI18n()
function toggleLocales() {
const locales = availableLocales
locale.value = locales[(locales.indexOf(locale.value) + 1) % locales.length]
}
</script>
<template>
<v-footer app class="text-xl justify-center">
<RouterLink class="icon-btn mx-2" to="/" :title="t('button.home')">
<div class="i-carbon-campsite" />
</RouterLink>
<button class="icon-btn mx-2 !outline-none" :title="t('button.toggle_dark')" @click="toggleDark()">
<div class="i-carbon-sun dark:i-carbon-moon" />
</button>
<a class="icon-btn mx-2" :title="t('button.toggle_langs')" @click="toggleLocales()">
<div class="i-carbon-language" />
</a>
<RouterLink class="icon-btn mx-2" to="/about" :title="t('button.about')">
<div class="i-carbon-dicom-overlay" />
</RouterLink>
<a class="icon-btn mx-2" rel="noreferrer" href="https://git.thehrz.net/thehrz/19yuke2-vue" target="_blank" title="Gitea">
<div class="i-simple-icons-gitea" />
</a>
</v-footer>
</template>