add link to project from gives on front page

This commit is contained in:
2024-01-16 19:48:47 -07:00
parent 3ebe7bc156
commit 31a7752168
4 changed files with 52 additions and 26 deletions

View File

@@ -179,12 +179,35 @@
You've seen all the following before
</div>
<div class="flex">
<fa icon="gift" class="pt-1 pr-2 text-slate-500"></fa>
<span class="">{{ this.giveDescription(record) }}</span>
<a @click="onClickLoadClaim(record.jwtId)">
<fa icon="circle-info" class="pl-2 pt-1 text-slate-500"></fa>
</a>
<div class="grid grid-cols-12">
<span class="col-span-11 justify-self-start">
<fa
icon="gift"
class="col-span-1 pt-1 pr-2 text-slate-500"
></fa>
{{ this.giveDescription(record) }}
<a @click="onClickLoadClaim(record.jwtId)">
<fa
icon="circle-info"
class="pl-2 text-blue-500 cursor-pointer"
></fa>
</a>
</span>
<span class="col-span-1 justify-self-end shrink">
<router-link
v-if="record.fulfillsPlanHandleId"
:to="
'/project/' +
encodeURIComponent(record.fulfillsPlanHandleId)
"
class="justify-end"
>
<fa
icon="hand-holding-heart"
class="ml-4 pl-2 text-blue-500"
></fa>
</router-link>
</span>
</div>
</li>
</ul>
@@ -243,7 +266,7 @@ export default class HomeView extends Vue {
allContacts: Array<Contact> = [];
allMyDids: Array<string> = [];
apiServer = "";
feedData = [];
feedData: GiveServerRecord[] = [];
feedPreviousOldestId?: string;
feedLastViewedClaimId?: string;
isCreatingIdentifier = false;