Skip to content

Commit

Permalink
feat: added new button for the sign & verify page
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperBatata committed Jan 14, 2025
1 parent a9b673c commit 428a1f2
Showing 1 changed file with 16 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
<h1 class="text-lg font-semibold">Your keys:</h1>

<div class="flex justify-between gap-2">
<button
class="inline-flex items-center bg-blue-500 hover:bg-blue-600 focus-visible:outline-blue-600 rounded-md px-3 py-2 text-sm font-semibold text-white shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2"
@click="signAndverify"
>
<HashtagIcon
aria-hidden="true"
class="h-5 w-5 text-white mr-1"
/>
<span>Sign & Verify</span>
</button>
<button
class="inline-flex items-center bg-blue-500 hover:bg-blue-600 focus-visible:outline-blue-600 rounded-md px-3 py-2 text-sm font-semibold text-white shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2"
@click="importKey"
Expand Down Expand Up @@ -91,13 +101,8 @@

<script lang="ts" setup>
import CenterMain from "@waltid-web-wallet/components/CenterMain.vue";
import { useCurrentWallet } from "@waltid-web-wallet/composables/accountWallet.ts";
import {
ArrowUturnLeftIcon,
CheckIcon,
InboxArrowDownIcon,
KeyIcon,
} from "@heroicons/vue/24/outline";
import {useCurrentWallet} from "@waltid-web-wallet/composables/accountWallet.ts";
import {ArrowUturnLeftIcon, CheckIcon, HashtagIcon, InboxArrowDownIcon, KeyIcon} from "@heroicons/vue/24/outline";
const currentWallet = useCurrentWallet();
Expand All @@ -114,6 +119,10 @@ function importKey() {
navigateTo("keys/import");
}
function signAndverify() {
navigateTo("keys/sign-verify");
}
useHead({
title: "Keys - walt.id",
});
Expand Down

0 comments on commit 428a1f2

Please sign in to comment.