diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-06-29 01:29:30 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-06-29 01:29:30 +1000 |
| commit | bc53f5a138a7d1dc7ab5547ec5c6d72fe2fc3c31 (patch) | |
| tree | 809298a315d528cd7346c2c9033e1dec66d57194 /src/components/icon | |
| parent | a65662f80e81782dde09722288e5d1c28cb8845e (diff) | |
Make links open in new tab
Add external-link icons
Diffstat (limited to 'src/components/icon')
| -rw-r--r-- | src/components/icon/ExternalLinkIcon.vue | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/icon/ExternalLinkIcon.vue b/src/components/icon/ExternalLinkIcon.vue new file mode 100644 index 0000000..b7cb286 --- /dev/null +++ b/src/components/icon/ExternalLinkIcon.vue @@ -0,0 +1,13 @@ +<template> +<svg viewBox="0 0 24 24" fill="none" + stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> + <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path> + <polyline points="15 3 21 3 21 9"></polyline> + <line x1="10" y1="14" x2="21" y2="3"></line> +</svg> +</template> + +<script lang="ts"> +import {defineComponent, PropType} from 'vue'; +export default defineComponent({}); +</script> |
