Wine gets named slots for bottom and top section.

This commit is contained in:
2020-10-11 23:37:53 +02:00
committed by KevinMidboe
parent 3344af6e90
commit cb368ee6a3

View File

@@ -1,5 +1,6 @@
<template>
<div class="wine">
<slot name="top"></slot>
<div class="wine-image">
<img
v-if="wine.image && loadImage"
@@ -18,6 +19,7 @@
<slot></slot>
<div class="bottom-section">
<slot name="bottom"></slot>
<a v-if="wine.vivinoLink" :href="wine.vivinoLink" class="link float-right">
Les mer
</a>