#203 redesign header
This commit is contained in:
parent
e2b78fb210
commit
37ff556d8e
|
@ -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'});
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Reference in New Issue