Moved config and user customizable assets to public
@@ -10,7 +10,7 @@
|
||||
import Header from '@/components/PageStrcture/Header.vue';
|
||||
import Footer from '@/components/PageStrcture/Footer.vue';
|
||||
import Defaults from '@/utils/defaults';
|
||||
import conf from '@/data/conf.yml';
|
||||
import conf from '../public/conf.yml';
|
||||
|
||||
export default {
|
||||
name: 'app',
|
||||
|
||||
|
Before Width: | Height: | Size: 757 B After Width: | Height: | Size: 757 B |
|
Before Width: | Height: | Size: 740 B After Width: | Height: | Size: 740 B |
|
Before Width: | Height: | Size: 980 B After Width: | Height: | Size: 980 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 933 B After Width: | Height: | Size: 933 B |
|
Before Width: | Height: | Size: 924 B After Width: | Height: | Size: 924 B |
|
Before Width: | Height: | Size: 410 B After Width: | Height: | Size: 410 B |
|
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 597 B After Width: | Height: | Size: 597 B |
|
Before Width: | Height: | Size: 6.7 KiB |
@@ -39,7 +39,7 @@ export default {
|
||||
return '';
|
||||
},
|
||||
getLocalImagePath(img) {
|
||||
return `/img/item-icons/tile-icons/${img}`;
|
||||
return `/item-icons/${img}`;
|
||||
},
|
||||
/* Checks if the icon is from a local image, remote URL, SVG or font-awesome */
|
||||
getIconPath(img, url) {
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NewTabOpenIcon from '@/assets/icons/open-new-tab.svg';
|
||||
import SameTabOpenIcon from '@/assets/icons/open-current-tab.svg';
|
||||
import IframeOpenIcon from '@/assets/icons/open-iframe.svg';
|
||||
import NewTabOpenIcon from '@/assets/interface-icons/open-new-tab.svg';
|
||||
import SameTabOpenIcon from '@/assets/interface-icons/open-current-tab.svg';
|
||||
import IframeOpenIcon from '@/assets/interface-icons/open-iframe.svg';
|
||||
|
||||
export default {
|
||||
name: 'ItemOpenMethodIcon',
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import IconSmall from '@/assets/icons/icon-size-small.svg';
|
||||
import IconMedium from '@/assets/icons/icon-size-medium.svg';
|
||||
import IconLarge from '@/assets/icons/icon-size-large.svg';
|
||||
import IconSmall from '@/assets/interface-icons/icon-size-small.svg';
|
||||
import IconMedium from '@/assets/interface-icons/icon-size-medium.svg';
|
||||
import IconLarge from '@/assets/interface-icons/icon-size-large.svg';
|
||||
|
||||
export default {
|
||||
name: 'IconSizeSelector',
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import IconDeafault from '@/assets/icons/layout-default.svg';
|
||||
import IconHorizontal from '@/assets/icons/layout-horizontal.svg';
|
||||
import IconVertical from '@/assets/icons/layout-vertical.svg';
|
||||
import IconDeafault from '@/assets/interface-icons/layout-default.svg';
|
||||
import IconHorizontal from '@/assets/interface-icons/layout-horizontal.svg';
|
||||
import IconVertical from '@/assets/interface-icons/layout-vertical.svg';
|
||||
|
||||
export default {
|
||||
name: 'LayoutSelector',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Vue from 'vue';
|
||||
import Router from 'vue-router';
|
||||
import Home from './views/Home.vue';
|
||||
import conf from './data/conf.yml'; // Main site configuration
|
||||
import conf from '../public/conf.yml'; // Main site configuration
|
||||
|
||||
Vue.use(Router);
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inconsolata';
|
||||
src: url('./assets/Inconsolata-Light.ttf');
|
||||
src: url('./assets/fonts/Inconsolata-Light.ttf');
|
||||
}
|
||||
|
||||
html {
|
||||
|
||||