From aecf0745c302d8dca7592a7bdc1086ea93a1ac2c Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Thu, 27 Apr 2023 00:10:39 -0400 Subject: [PATCH] Start work on qr codes --- web-frontend/package.json | 3 ++- web-frontend/src/lib/CopyButton.svelte | 37 +++++++++++++++++++++++++- web-frontend/yarn.lock | 5 ++++ 3 files changed, 43 insertions(+), 2 deletions(-) diff --git a/web-frontend/package.json b/web-frontend/package.json index e50b53d..cefa908 100644 --- a/web-frontend/package.json +++ b/web-frontend/package.json @@ -38,6 +38,7 @@ "type": "module", "dependencies": { "leaflet-control-geocoder": "^2.4.0", - "svelecte": "^4.0.0-alpha.7" + "svelecte": "^4.0.0-alpha.7", + "svelte-qr": "^1.0.0" } } diff --git a/web-frontend/src/lib/CopyButton.svelte b/web-frontend/src/lib/CopyButton.svelte index 4def6d9..c25de6d 100644 --- a/web-frontend/src/lib/CopyButton.svelte +++ b/web-frontend/src/lib/CopyButton.svelte @@ -1,5 +1,7 @@ - +
+ +
+ + diff --git a/web-frontend/yarn.lock b/web-frontend/yarn.lock index 20429e7..199d72c 100644 --- a/web-frontend/yarn.lock +++ b/web-frontend/yarn.lock @@ -4383,6 +4383,11 @@ svelte-preprocess@^5.0.0: sorcery "^0.11.0" strip-indent "^3.0.0" +svelte-qr@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/svelte-qr/-/svelte-qr-1.0.0.tgz#e7a25c0fb952388a2ce8f1ea85f9c70473e2122e" + integrity sha512-7n/FPFhImPI68NCwChzYqzTbTpDhGCiFgGiCQY+IXS8sh0Xhzzd0wwQnN5n2BCJ0Uvti8s0RhKErwcw4Lp7RvQ== + svelte-tiny-virtual-list@^2.0.0: version "2.0.5" resolved "https://registry.yarnpkg.com/svelte-tiny-virtual-list/-/svelte-tiny-virtual-list-2.0.5.tgz#5a88b14f2041eedc060dc799a2f146ee0355073f"