Replace../ with @/, format code.
This commit is contained in:
parent
1f8432924a
commit
fcb3126382
2 changed files with 19 additions and 4 deletions
|
|
@ -17,9 +17,24 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row mt-5">
|
<div class="row mt-5">
|
||||||
<imageButton btnText="windshield-damage.svg" altText="Windshield" damageTitle="Windshield" ariaLabel="Windshield"/>
|
<imageButton
|
||||||
<imageButton btnText="side-window-damage.svg" altText="Side Window" damageTitle="Side door" ariaLabel="Side door"/>
|
btnText="windshield-damage.svg"
|
||||||
<imageButton btnText="back-glass-damage.svg" altText="Back Glass" damageTitle="Back glass" ariaLabel="Back glass"/>
|
altText="Windshield"
|
||||||
|
damageTitle="Windshield"
|
||||||
|
ariaLabel="Windshield"
|
||||||
|
/>
|
||||||
|
<imageButton
|
||||||
|
btnText="side-window-damage.svg"
|
||||||
|
altText="Side Window"
|
||||||
|
damageTitle="Side door"
|
||||||
|
ariaLabel="Side door"
|
||||||
|
/>
|
||||||
|
<imageButton
|
||||||
|
btnText="back-glass-damage.svg"
|
||||||
|
altText="Back Glass"
|
||||||
|
damageTitle="Back glass"
|
||||||
|
ariaLabel="Back glass"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="col-4 mb-3">
|
<div class="col-4 mb-3">
|
||||||
<button class="btn-damage d-flex flex-column align-items-center rounded-3 h-100" v-bind:aria-label="ariaLabel">
|
<button class="btn-damage d-flex flex-column align-items-center rounded-3 h-100" v-bind:aria-label="ariaLabel">
|
||||||
<img class="px-1 pt-3 pb-1 mt-auto" v-bind:src="require(`../assets/img/icons/${btnText}`)" v-bind:alt="altText"/>
|
<img class="px-1 pt-3 pb-1 mt-auto" v-bind:src="require(`@/assets/img/icons/${btnText}`)" v-bind:alt="altText"/>
|
||||||
<p class="mt-auto">{{damageTitle}}</p>
|
<p class="mt-auto">{{damageTitle}}</p>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue