-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ForkbombEu/credential_detail_page
feat: credential detail page
- Loading branch information
Showing
5 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script lang="ts"> | ||
import Logo from '$lib/components/atoms/Logo.svelte'; | ||
export let data: any; | ||
const { credential } = data; | ||
</script> | ||
|
||
<ion-header> | ||
<ion-toolbar> | ||
<ion-title> | ||
<div class="flex items-center gap-2"> | ||
<Logo /> | ||
<h1 class="text-2xl">Credential detail</h1> | ||
</div> | ||
</ion-title> | ||
</ion-toolbar> | ||
</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 pb-11"> | ||
<d-credential-detail {...credential} description={credential.expand.templates[0].name} href={`/${credential.id}/verify/`} /> | ||
</div> | ||
</ion-content> |
File renamed without changes.
File renamed without changes.