This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/components/Media.vue

23 lines
973 B
Vue

<template>
<section v-if="config.links.mediaGuests.length || config.links.mediaMentions.length">
<h2 class="h3">
<Icon v="tv"/>
<T>links.media</T>
</h2>
<h3 v-if="config.links.mediaGuests.length && config.links.mediaMentions.length" class="h4 mt-3">
<Icon v="microphone-alt"/>
<T>links.mediaGuests</T>
</h3>
<ul class="list-unstyled" v-if="config.links.mediaGuests.length">
<Link v-for="link in config.links.mediaGuests" :link="link" :key="link.url"/>
</ul>
<h3 v-if="config.links.mediaGuests.length && config.links.mediaMentions.length" class="h4 mt-3">
<Icon v="quote-right"/>
<T>links.mediaMentions</T>
</h3>
<ul class="list-unstyled" v-if="config.links.mediaMentions.length">
<Link v-for="link in config.links.mediaMentions" :link="link" :key="link.url"/>
</ul>
</section>
</template>