mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
image path fix
This commit is contained in:
parent
e772587fbc
commit
60d0fb6d1a
24 changed files with 224 additions and 145 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<section :ref="containerRef" :class="['landing-header pad-section', { 'landing-header-active': menuActive }]">
|
||||
<span>
|
||||
<img :src="'demo/images/primevue-logo-' + `${$appState.darkTheme ? 'light' : 'dark'}` + '.svg'" alt="primevue logo" class="landing-header-logo" />
|
||||
<img :src="baseUrl + 'demo/images/primevue-logo-' + `${$appState.darkTheme ? 'light' : 'dark'}` + '.svg'" alt="primevue logo" class="landing-header-logo" />
|
||||
</span>
|
||||
|
||||
<div class="flex align-items-center">
|
||||
|
@ -54,13 +54,15 @@ export default {
|
|||
emits: ['theme-toggle'],
|
||||
data() {
|
||||
return {
|
||||
menuActive: false
|
||||
menuActive: false,
|
||||
baseUrl: '/'
|
||||
};
|
||||
},
|
||||
scrollListener: null,
|
||||
container: null,
|
||||
mounted() {
|
||||
this.bindScrollListener();
|
||||
this.baseUrl = process.dev ? '/' : '/primevue-nuxt/';
|
||||
},
|
||||
beforeUnmount() {
|
||||
if (this.scrollListener) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue