Adding missing rel attribute on links.

This commit is contained in:
Bastien Wirtz 2020-05-29 18:48:46 -07:00
parent 9814a037a5
commit 3bf0edcf13
3 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,7 @@
<section v-if="config.header" class="first-line">
<div v-cloak class="container">
<div class="logo">
<img v-if="config.logo" :src="config.logo" />
<img v-if="config.logo" :src="config.logo" alt="dashboard logo" />
<i v-if="config.icon" :class="config.icon"></i>
</div>
<div class="dashboard-title">

View File

@ -20,6 +20,7 @@
<div class="navbar-start">
<a
class="navbar-item"
rel="noreferrer"
v-for="link in links"
:key="link.url"
:href="link.url"

View File

@ -1,12 +1,12 @@
<template>
<div>
<div class="card">
<a :href="item.url" :target="item.target">
<a :href="item.url" :target="item.target" rel="noreferrer">
<div class="card-content">
<div class="media">
<div v-if="item.logo" class="media-left">
<figure class="image is-48x48">
<img :src="item.logo" />
<img :src="item.logo" :alt="`${item.name} logo`" />
</figure>
</div>
<div v-if="item.icon" class="media-left">