diff --git a/package-lock.json b/package-lock.json index 0d95841..f5e9ca8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,6 +24,7 @@ "@simplewebauthn/browser": "^10.0.0", "@simplewebauthn/server": "^10.0.0", "@tweenjs/tween.js": "^21.1.1", + "@types/qrcode": "^1.5.5", "@veramo/core": "^5.6.0", "@veramo/credential-w3c": "^5.6.0", "@veramo/data-store": "^5.6.0", @@ -57,6 +58,7 @@ "pina": "^0.20.2204228", "pinia-plugin-persistedstate": "^3.2.1", "qr-code-generator-vue3": "^1.4.21", + "qrcode": "^1.5.4", "ramda": "^0.29.1", "readable-stream": "^4.5.2", "reflect-metadata": "^0.1.14", @@ -9766,6 +9768,14 @@ "@types/node": "*" } }, + "node_modules/@types/qrcode": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@types/qrcode/-/qrcode-1.5.5.tgz", + "integrity": "sha512-CdfBi/e3Qk+3Z/fXYShipBT13OJ2fDO2Q2w5CIP5anLTLIndQG9z6P1cnm+8zCWSpm5dnxMFd/uREtb0EXuQzg==", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/ramda": { "version": "0.29.11", "dev": true, @@ -13040,10 +13050,6 @@ "version": "8.0.0", "license": "MIT" }, - "node_modules/encode-utf8": { - "version": "1.0.3", - "license": "MIT" - }, "node_modules/encodeurl": { "version": "1.0.2", "license": "MIT", @@ -19720,11 +19726,11 @@ } }, "node_modules/qrcode": { - "version": "1.5.3", - "license": "MIT", + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.4.tgz", + "integrity": "sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==", "dependencies": { "dijkstrajs": "^1.0.1", - "encode-utf8": "^1.0.3", "pngjs": "^5.0.0", "yargs": "^15.3.1" }, diff --git a/package.json b/package.json index b7183a8..54421f9 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "@simplewebauthn/browser": "^10.0.0", "@simplewebauthn/server": "^10.0.0", "@tweenjs/tween.js": "^21.1.1", + "@types/qrcode": "^1.5.5", "@veramo/core": "^5.6.0", "@veramo/credential-w3c": "^5.6.0", "@veramo/data-store": "^5.6.0", @@ -61,6 +62,7 @@ "pina": "^0.20.2204228", "pinia-plugin-persistedstate": "^3.2.1", "qr-code-generator-vue3": "^1.4.21", + "qrcode": "^1.5.4", "ramda": "^0.29.1", "readable-stream": "^4.5.2", "reflect-metadata": "^0.1.14", diff --git a/public/img/background/cert-frame-2.jpg b/public/img/background/cert-frame-2.jpg new file mode 100644 index 0000000..a901aff Binary files /dev/null and b/public/img/background/cert-frame-2.jpg differ diff --git a/src/main.ts b/src/main.ts index 229497f..cd386a3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -43,6 +43,7 @@ import { faEraser, faEye, faEyeSlash, + faFileContract, faFileLines, faFilter, faFloppyDisk, @@ -117,6 +118,7 @@ library.add( faEraser, faEye, faEyeSlash, + faFileContract, faFileLines, faFilter, faFloppyDisk, diff --git a/src/router/index.ts b/src/router/index.ts index d255be5..e526302 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -43,6 +43,11 @@ const routes: Array = [ name: "claim-add-raw", component: () => import("../views/ClaimAddRawView.vue"), }, + { + path: "/claim-cert/:id?", + name: "claim-cert", + component: () => import("../views/ClaimCertificateView.vue"), + }, { path: "/confirm-contact", name: "confirm-contact", diff --git a/src/views/ClaimCertificateView.vue b/src/views/ClaimCertificateView.vue new file mode 100644 index 0000000..c87c39e --- /dev/null +++ b/src/views/ClaimCertificateView.vue @@ -0,0 +1,149 @@ + + + + + diff --git a/src/views/ClaimView.vue b/src/views/ClaimView.vue index e58f4aa..e318d68 100644 --- a/src/views/ClaimView.vue +++ b/src/views/ClaimView.vue @@ -157,6 +157,14 @@ {{ issuerName }} posted that. +