Files
nuxt-frontend/components/Logo.vue
Joris Slagter 791aebc346
Some checks failed
continuous-integration/drone/push Build is failing
Initial Nuxt frontend import
- Complete GGZ Ecademy Nuxt.js user portal
- Learning products browser and management
- Member management interface
- User authentication and roles
- Multi-language support (NL/EN)
- Vuex store for state management
- Component-based architecture
2025-12-02 17:48:48 +01:00

26 lines
494 B
Vue

<template>
<component :is="logo" />
</template>
<script>
export default {
props: {
theme: {
type: String,
},
},
computed: {
computedTheme() {
if (this.theme) return this.theme
if (this.$vuetify.theme.dark) return 'dark'
return 'light'
},
logo() {
const customerLowercase = process.env.CUSTOMER.toLowerCase()
return require(`@/assets/img/${customerLowercase}/logo-${this.computedTheme}.svg?inline`)
},
},
}
</script>