mirror of https://github.com/bastienwirtz/homer
Adding missing rel attribute on links.
parent
9814a037a5
commit
3bf0edcf13
|
@ -13,7 +13,7 @@
|
||||||
<section v-if="config.header" class="first-line">
|
<section v-if="config.header" class="first-line">
|
||||||
<div v-cloak class="container">
|
<div v-cloak class="container">
|
||||||
<div class="logo">
|
<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>
|
<i v-if="config.icon" :class="config.icon"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="dashboard-title">
|
<div class="dashboard-title">
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
<div class="navbar-start">
|
<div class="navbar-start">
|
||||||
<a
|
<a
|
||||||
class="navbar-item"
|
class="navbar-item"
|
||||||
|
rel="noreferrer"
|
||||||
v-for="link in links"
|
v-for="link in links"
|
||||||
:key="link.url"
|
:key="link.url"
|
||||||
:href="link.url"
|
:href="link.url"
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div class="card">
|
<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="card-content">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<div v-if="item.logo" class="media-left">
|
<div v-if="item.logo" class="media-left">
|
||||||
<figure class="image is-48x48">
|
<figure class="image is-48x48">
|
||||||
<img :src="item.logo" />
|
<img :src="item.logo" :alt="`${item.name} logo`" />
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="item.icon" class="media-left">
|
<div v-if="item.icon" class="media-left">
|
||||||
|
|
Loading…
Reference in New Issue