Browse Source

show image on the view-claim screen

pull/123/head
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" /> <fa icon="calendar" class="fa-fw text-slate-400" />
{{ veriClaim.issuedAt?.replace(/T/, " ").replace(/Z/, " UTC") }} {{ veriClaim.issuedAt?.replace(/T/, " ").replace(/Z/, " UTC") }}
</div> </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 --> <!-- Fullfills Links -->

2
src/views/GiftedDetails.vue

@ -66,7 +66,7 @@
<div class="flex justify-center mt-4" data-testid="imagery"> <div class="flex justify-center mt-4" data-testid="imagery">
<span v-if="imageUrl" class="flex justify-between"> <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" /> <img :src="imageUrl" class="h-24 rounded-xl" />
</a> </a>
<fa <fa

Loading…
Cancel
Save