From 8dca1b71c5731aaf24203007bd693b1f9fd57a6c Mon Sep 17 00:00:00 2001 From: aeryz Date: Wed, 4 Oct 2023 04:11:14 +0300 Subject: [PATCH] feat(site): faucet checkbox Signed-off-by: aeryz --- site/package.json | 1 + .../start-of-the-endgame/FaucetButton.svelte | 59 ++++++++++++++++++- site/yarn.lock | 5 ++ 3 files changed, 64 insertions(+), 1 deletion(-) diff --git a/site/package.json b/site/package.json index f64c81b5a8..ed676914af 100644 --- a/site/package.json +++ b/site/package.json @@ -45,6 +45,7 @@ "@sveltejs/adapter-static": "^2.0.3", "cosmjs-types": "^0.8.0", "ethers": "6.7.1", + "get-browser-fingerprint": "3.0.0", "graphql": "^16.8.1", "patch-package": "^8.0.0", "postinstall-postinstall": "^2.1.0" diff --git a/site/src/routes/blog/start-of-the-endgame/FaucetButton.svelte b/site/src/routes/blog/start-of-the-endgame/FaucetButton.svelte index b0316f0778..3d73f07e87 100644 --- a/site/src/routes/blog/start-of-the-endgame/FaucetButton.svelte +++ b/site/src/routes/blog/start-of-the-endgame/FaucetButton.svelte @@ -1,19 +1,47 @@ @@ -46,6 +78,31 @@ {:else} Get UNO from faucet +
+ + + +
{/if} {/if} diff --git a/site/yarn.lock b/site/yarn.lock index fdb6f28bcb..32d55a0c20 100644 --- a/site/yarn.lock +++ b/site/yarn.lock @@ -1360,6 +1360,11 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +get-browser-fingerprint@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/get-browser-fingerprint/-/get-browser-fingerprint-3.0.0.tgz#99e9f1447bc0b464dff105a75ec4edf05c480a9f" + integrity sha512-uXLiCILFQM4MasKZ6UtJviVUrA2Z0ZcZARWhoHjuZw6CDFrfOPVv9iUL6EbWOzB/mV0CCvjA9MWtlc9/jIwFxQ== + get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82"