diff --git a/web/src/components/DonationAddress.astro b/web/src/components/DonationAddress.astro index 9bb1f8f..e4155b4 100644 --- a/web/src/components/DonationAddress.astro +++ b/web/src/components/DonationAddress.astro @@ -1,6 +1,6 @@ --- import { Icon } from 'astro-icon/components' -import QRCode from 'qrcode' +import * as QRCode from 'qrcode' import { cn } from '../lib/cn' @@ -26,7 +26,7 @@ function getAddressURI(address: string, cryptoName: string) { } const qrCodeDataURL = await QRCode.toDataURL(getAddressURI(address, cryptoName), { - width: 128, + width: 256, margin: 1, color: { dark: '#ffffff', @@ -41,13 +41,18 @@ const qrCodeDataURL = await QRCode.toDataURL(getAddressURI(address, cryptoName), {cryptoName} -

- 12 - ? `${address.substring(0, 6)}${address.substring(6, address.length - 6)}${address.substring(address.length - 6)}` - : `${address}`} - /> +

+ { + address.length > 12 + ? [ + {address.substring(0, 6)}, + address.substring(6, address.length - 6), + {address.substring(address.length - 6)}, + ] + : address + }

diff --git a/web/src/components/Header.astro b/web/src/components/Header.astro index 09ef4d4..e79bd14 100644 --- a/web/src/components/Header.astro +++ b/web/src/components/Header.astro @@ -159,17 +159,15 @@ const splashText = showSplashText ? sample(splashTexts) : null ) : ( - DEPLOYMENT_MODE !== 'production' && ( - - - - ) + + + )} ) : ( diff --git a/web/src/pages/about.mdx b/web/src/pages/about.mdx index 313fc17..1e38f22 100644 --- a/web/src/pages/about.mdx +++ b/web/src/pages/about.mdx @@ -202,12 +202,10 @@ If you like this project, you can **support** it through these methods: ## Contact -You can contact via direct chat or via email. +You can contact via direct chat: - [SimpleX Chat](https://simplex.chat/contact#/?v=2&smp=smp%3A%2F%2F0YuTwO05YJWS8rkjn9eLJDjQhFKvIYd8d4xG8X1blIU%3D%40smp8.simplex.im%2FcgKHYUYnpAIVoGb9lxb0qEMEpvYIvc1O%23%2F%3Fv%3D1-2%26dh%3DMCowBQYDK2VuAyEAIW_JSq8wOsLKG4Xv4O54uT2D_l8MJBYKQIFj1FjZpnU%253D%26srv%3Dbeccx4yfxxbvyhqypaavemqurytl6hozr47wfc7uuecacjqdvwpw2xid.onion) -- If you use ProtonMail or Tutanota, you can have E2E encrypted communications with us directly. We also offer a [PGP Key](/pgp). Otherwise, we recommend reaching out via SimpleX chat for encrypted communications. - ## Disclaimer