1
0
Fork 0

Use Kiste

This commit is contained in:
Moritz Ruth 2019-12-08 17:45:22 +01:00
parent 925ecec652
commit 19b9bae0ee
25 changed files with 479 additions and 1054 deletions

View file

@ -1,42 +0,0 @@
<template>
<a
class="external-link link"
rel="noopener"
target="_blank"
:href="href"
>{{ label || href }}<ExternalIcon class="external-link__icon"/></a>
</template>
<style scoped lang="scss">
.external-link {
padding-right: 5px;
overflow-wrap: break-word;
}
.external-link__icon {
margin-left: 5px;
width: 15px;
position: relative;
top: 2px;
}
</style>
<script>
import ExternalIcon from "@/assets/icons/external.svg";
export default {
name: "ExternalLink",
components: { ExternalIcon },
props: {
href: {
type: String,
required: true
},
label: {
type: String,
default: null
}
}
};
</script>