Browse Source

show image on the view-claim screen

Trent Larson 4 months ago
parent
commit
024fc6be06
  1. 5
      src/views/ClaimView.vue
  2. 2
      src/views/GiftedDetails.vue

5
src/views/ClaimView.vue

@ -75,6 +75,11 @@
<fa icon="calendar" class="fa-fw text-slate-400" />
{{ veriClaim.issuedAt?.replace(/T/, " ").replace(/Z/, " UTC") }}
</div>
<div v-if="veriClaim.claim.image" class="flex justify-center">
<a :href="veriClaim.claim.image" target="_blank">
<img :src="veriClaim.claim.image" class="h-24 rounded-xl" />
</a>
</div>
<!-- Fullfills Links -->

2
src/views/GiftedDetails.vue

@ -66,7 +66,7 @@
<div class="flex justify-center mt-4" data-testid="imagery">
<span v-if="imageUrl" class="flex justify-between">
<a :href="imageUrl" target="_blank" class="text-blue-500 ml-4">
<a :href="imageUrl" target="_blank">
<img :src="imageUrl" class="h-24 rounded-xl" />
</a>
<fa

Loading…
Cancel
Save