<script setup>
import { ref } from 'vue'

const footerText = import.meta.env.VITE_APP_FOOTER || 'Copyright © 2023'
</script>

<template>
    <v-footer app class="footer-component">
        <v-container fluid>
            <v-row align="center" justify="center">
                <v-col cols="12" class="text-center">
                    <span class="float-left">{{ footerText }}</span>
                    <span class="float-right">版本：1.0.0</span>
                </v-col>
            </v-row>
        </v-container>
    </v-footer>
</template>

<style lang="scss" scoped>
.footer-component {
    border-top: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
    background-color: rgb(var(--v-theme-surface)) !important;
    height: 45px;

    .footer-text {
        color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
        font-size: 0.875rem;
    }
}
</style>
