aboutsummaryrefslogtreecommitdiff
path: root/src/components/Tile.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-03-12 00:43:36 +1100
committerTerry Truong <terry06890@gmail.com>2022-03-12 00:43:36 +1100
commit542b2866682642f73ffd5ba6917f94c8c54603a0 (patch)
tree2e8dc5efbf477947a427d0ecf8c2cf9acc5f8d85 /src/components/Tile.vue
parent60a299619fd89c7815d4cf58176d5ff9f35765c7 (diff)
Move images to public/
Diffstat (limited to 'src/components/Tile.vue')
-rw-r--r--src/components/Tile.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Tile.vue b/src/components/Tile.vue
index 5b54235..f485324 100644
--- a/src/components/Tile.vue
+++ b/src/components/Tile.vue
@@ -47,7 +47,7 @@ export default {
zIndex: zIdx, overflow: overFlow, transitionDuration: transitionDuration+'ms'}"
class="transition-[left,top,width,height] ease-out border border-stone-900 bg-white">
<div v-if="tree.children.length == 0"
- :style="{backgroundImage: 'url(\'/src/assets/' + name + '.jpg\')',
+ :style="{backgroundImage: 'url(\'/img/' + name + '.jpg\')',
opacity: (tree.tolNode.children.length > 0 ? 1 : 0.7)}"
class="hover:cursor-pointer w-full h-full bg-cover" @click="onImgClick"
/>