#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 = []; const links = [];
if (this.config.links.links.length) { 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) { if (this.config.links.academic.length) {
links.push({name: 'links.academic', route: this.config.links.academicRoute, icon: 'vial'}); links.push({name: 'links.academic', route: this.config.links.academicRoute, icon: 'vial'});

View File

@ -1,17 +1,17 @@
<template> <template>
<section v-if="config.links.mediaGuests.length || config.links.mediaMentions.length"> <section v-if="config.links.mediaGuests.length || config.links.mediaMentions.length">
<h2 class="h3"> <h2>
<Icon v="tv"/> <Icon v="tv"/>
<T>links.media</T> <T>links.media</T>
</h2> </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"/> <Icon v="microphone-alt"/>
<T>links.mediaGuests</T> <T>links.mediaGuests</T>
</h3> </h3>
<ul class="list-unstyled" v-if="config.links.mediaGuests.length"> <ul class="list-unstyled" v-if="config.links.mediaGuests.length">
<Link v-for="link in config.links.mediaGuests" :link="link" :key="link.url"/> <Link v-for="link in config.links.mediaGuests" :link="link" :key="link.url"/>
</ul> </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"/> <Icon v="quote-right"/>
<T>links.mediaMentions</T> <T>links.mediaMentions</T>
</h3> </h3>