#203 redesign header

This commit is contained in:
Avris 2021-05-13 14:52:51 +02:00
parent e2b78fb210
commit 37ff556d8e
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@
const links = [];
if (this.config.links.links.length) {
links.push({name: 'links.links', route: this.config.links.linksRoute, icon: 'link'});
links.push({name: 'links.links', route: this.config.links.linksRoute, icon: 'bookmark'});
}
if (this.config.links.academic.length) {
links.push({name: 'links.academic', route: this.config.links.academicRoute, icon: 'vial'});

View File

@ -1,17 +1,17 @@
<template>
<section v-if="config.links.mediaGuests.length || config.links.mediaMentions.length">
<h2 class="h3">
<h2>
<Icon v="tv"/>
<T>links.media</T>
</h2>
<h3 v-if="config.links.mediaGuests.length && config.links.mediaMentions.length" class="h4 mt-3">
<h3 v-if="config.links.mediaGuests.length && config.links.mediaMentions.length" class="mt-4 mb-2">
<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">
<h3 v-if="config.links.mediaGuests.length && config.links.mediaMentions.length" class="mt-4 mb-2">
<Icon v="quote-right"/>
<T>links.mediaMentions</T>
</h3>