add new frontend template
This commit is contained in:
19
frontend/src/layout/AppFooter.vue
Normal file
19
frontend/src/layout/AppFooter.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<script setup>
|
||||
import { useLayout } from '@/layout/composables/layout';
|
||||
import { computed } from 'vue';
|
||||
|
||||
const { layoutConfig, contextPath } = useLayout();
|
||||
|
||||
const logoUrl = computed(() => {
|
||||
return `${contextPath}layout/images/${layoutConfig.darkTheme.value ? 'logo-white' : 'logo-dark'}.svg`;
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="layout-footer">
|
||||
<img :src="logoUrl" alt="Logo" height="20" class="mr-2" />
|
||||
by
|
||||
<span class="font-medium ml-2">PrimeVue</span>
|
||||
</div>
|
||||
</template>
|
||||
<style lang="scss" scoped></style>
|
Reference in New Issue
Block a user