|
1 | 1 | <script setup> |
2 | | -import imgUrl from '../assets/arrowheads.png' |
| 2 | +import { computed } from 'vue' |
| 3 | +import { resolveColor } from '../layoutHelper' |
| 4 | +const props = defineProps({ |
| 5 | + color: { |
| 6 | + type: String, |
| 7 | + default: '#000000', |
| 8 | + }, |
| 9 | + width: { |
| 10 | + type: String, |
| 11 | + default: '140px', // Default width in pixels |
| 12 | + }, |
| 13 | +}) |
| 14 | +const colorFill = computed(() => resolveColor(props.color)) |
3 | 15 | </script> |
4 | 16 | <template> |
5 | | - <img :src="imgUrl" alt="Arrowhead" class="w-30" /> |
| 17 | + <svg |
| 18 | + id="Layer_1" |
| 19 | + data-name="Layer 1" |
| 20 | + xmlns="http://www.w3.org/2000/svg" |
| 21 | + version="1.1" |
| 22 | + viewBox="0 0 356 204" |
| 23 | + :width="width" |
| 24 | + > |
| 25 | + <path |
| 26 | + class="cls-1" |
| 27 | + d="M179.2,133.5c0-8.9.6-17.7-.1-26.5-2.1-26.8-3.9-53.5-3.3-80.4,0-1.7-.3-3.5,0-5.2.3-1.2,1.3-2.2,2-3.3.9,1.1,2.5,2.1,2.6,3.3.3,4.8.1,9.7.1,14.5,0,10.1-.3,20.2,0,30.4.3,9.1,1,18.1,1.7,27.2.9,12.6,1.9,25.2,2.8,37.8,0,.3.2.6.4,1.2,4-3.9,5.5-8.5,6.5-13.5.2-.9.3-1.8.6-2.6.8-2.4,2.4-3.9,4.9-3.1,2.6.8,2.6,3.2,1.7,5.2-2,5.1-4.1,10.3-6.4,15.2-1.4,3-3,6-4.8,8.8-1.9,3.2-4.6,3.5-7,.6-3.9-4.9-7.5-10-11.4-15-2.8-3.6-6-6.9-8.9-10.4-.9-1.1-1.2-2.6-1.7-3.9,1.7,0,3.9-.7,4.8.1,3.2,3,6,6.3,8.7,9.7,2.4,3.2,4.5,6.7,6.5,9.7h.1Z" |
| 28 | + /> |
| 29 | + <path |
| 30 | + class="cls-1" |
| 31 | + d="M262.3,172c5.5-7,11.5-13.5,16.3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,1.6.7.6.5.9,1.2,1.4,1.9,7.5,9.5,14.1,19.7,20.7,29.9,2.1,3.4,4.8,6.4,7.2,9.6h0Z" |
| 60 | + /> |
| 61 | + </svg> |
6 | 62 | </template> |
| 63 | + |
| 64 | +<style scoped> |
| 65 | +.cls-1 { |
| 66 | + fill: v-bind(colorFill); |
| 67 | + stroke-width: 0px; |
| 68 | +} |
| 69 | +</style> |
0 commit comments