Skip to content

Commit

Permalink
fix: credential detail updated
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebus-84 committed Feb 8, 2024
1 parent fa125a6 commit 89f8c01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts">
import { setupIonicBase } from 'ionic-svelte';
import '@didroom/components/dist/didroom-components/didroom-components.css';
setupIonicBase();
Expand All @@ -12,7 +13,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" />
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@didroom/components@latest/dist/didroom-components/didroom-components.esm.js"
src="https://cdn.jsdelivr.net/npm/@didroom/components@1.8/dist/didroom-components/didroom-components.esm.js"
></script>
<link
rel="stylesheet"
Expand Down
6 changes: 4 additions & 2 deletions src/routes/[id]/credential-detail/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
</ion-header>
<ion-content fullscreen class="ion-padding">
<d-credential-card {...credential} expiration-date="2017-01-01" verified="false"> </d-credential-card>
<div class="fixed w-full bottom-0 left-0 bg-tab">
<d-credential-detail {...credential} description={credential.expand.templates[0].name} href={`/${credential.id}/verify/`} />
<div class="bg-tab fixed bottom-0 left-0 w-full">
<d-credential-detail {...credential} description={credential.expand.templates[0].name}>
<d-button color="accent" href={`/${credential.id}/verify/`}>Generate QR</d-button>
</d-credential-detail>
</div>
</ion-content>

0 comments on commit 89f8c01

Please sign in to comment.