Moved tag posters back to img/, as they are part of the project. Still using database to track which tags have a poster.

This commit is contained in:
2019-12-06 05:09:08 +01:00
parent 5d58d31dfa
commit a2925febeb
56 changed files with 48 additions and 36 deletions

View File

@@ -15,7 +15,7 @@
rel="noopener noreferrer"
>
<img
:src="`/media/${tag.poster.thumbnail}`"
:src="`/img/${tag.poster.thumbnail}`"
class="poster"
>
</a>

View File

@@ -20,16 +20,6 @@
/>
</div>
<h3>Finish</h3>
<div class="tiles">
<Tag
v-for="tag in tags.finish"
:key="`tag-${tag.id}`"
:tag="tag"
/>
</div>
<h3>Group</h3>
<div class="tiles">
@@ -39,6 +29,16 @@
:tag="tag"
/>
</div>
<h3>Finish</h3>
<div class="tiles">
<Tag
v-for="tag in tags.finish"
:key="`tag-${tag.id}`"
:tag="tag"
/>
</div>
</div>
</template>

View File

@@ -8,7 +8,7 @@
<img
v-if="tag.poster"
:src="`/media/${tag.poster.thumbnail}`"
:src="`/img/${tag.poster.thumbnail}`"
:alt="tag.name"
class="poster"
>