2023-01-18 22:46:19 -03:00
|
|
|
<script setup>
|
2023-01-25 20:55:24 -03:00
|
|
|
import { useLayout } from '@/layout/composables/layout';
|
|
|
|
import { computed } from 'vue';
|
2023-01-18 22:46:19 -03:00
|
|
|
|
2023-01-25 20:55:24 -03:00
|
|
|
const { layoutConfig, contextPath } = useLayout();
|
2023-01-18 22:46:19 -03:00
|
|
|
|
2023-01-25 20:55:24 -03:00
|
|
|
const logoUrl = computed(() => {
|
|
|
|
return `${contextPath}layout/images/${layoutConfig.darkTheme.value ? 'logo-white' : 'logo-dark'}.svg`;
|
|
|
|
});
|
2023-01-18 22:46:19 -03:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div class="layout-footer">
|
2023-01-25 20:55:24 -03:00
|
|
|
<img
|
|
|
|
:src="logoUrl"
|
|
|
|
alt="Logo"
|
|
|
|
height="20"
|
|
|
|
class="mr-2"
|
|
|
|
/>
|
2023-01-18 22:46:19 -03:00
|
|
|
by
|
|
|
|
<span class="font-medium ml-2">PrimeVue</span>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<style lang="scss" scoped></style>
|