From 9e90d3dde0435569bf28ce69c6716d975feee37e Mon Sep 17 00:00:00 2001 From: Brandon Lucas <38222767+thebrandonlucas@users.noreply.github.com> Date: Wed, 22 Nov 2023 11:23:18 -0500 Subject: [PATCH] feat: less pink text + don't default animate arrow --- src/components/Link.svelte | 16 ++++++---------- src/features/Nav.svelte | 14 +++++++------- src/features/WalletCard.svelte | 2 +- src/routes/+page.svelte | 32 ++++++++++++-------------------- 4 files changed, 26 insertions(+), 38 deletions(-) diff --git a/src/components/Link.svelte b/src/components/Link.svelte index 366f2e8..9f0805b 100644 --- a/src/components/Link.svelte +++ b/src/components/Link.svelte @@ -5,10 +5,15 @@ export let href = '#'; export let target = '_self'; export let icon: IconName | undefined = undefined; + export let textwhite = false; $: rel = target === '_blank' ? 'noopener noreferrer' : ''; + + $: clazz = `${ + textwhite ? 'text-white hover:text-primary' : 'text-primary hover:text-pink-300' + } transition-all inline`; - + {#if icon} @@ -16,12 +21,3 @@ {/if} - - diff --git a/src/features/Nav.svelte b/src/features/Nav.svelte index 254a832..66e1ade 100644 --- a/src/features/Nav.svelte +++ b/src/features/Nav.svelte @@ -47,13 +47,13 @@ Payjoin diff --git a/src/features/WalletCard.svelte b/src/features/WalletCard.svelte index 48d953e..0da7afe 100644 --- a/src/features/WalletCard.svelte +++ b/src/features/WalletCard.svelte @@ -8,7 +8,7 @@
{#each wallets as { name, href }} diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 649e814..620c109 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -36,7 +36,10 @@
- +

Why Payjoin?

@@ -78,10 +81,10 @@
-
+
- -

The Solution

+ +

The Solution

Payjoin joins sender and receiver inputs in the one transaction. Batching like this reduces @@ -95,21 +98,21 @@

-

Privacy Enhanced

+

Privacy Enhanced

By cleverly taking advantage of transaction structure, payjoin allows for enhanced privacy for everyone ― even for those who don’t use it ― foiling chain surveillance.

-

Scaling Upgraded

+

Scaling Upgraded

Payjoin settles many transfers together in one transaction, saving time spent waiting for block confirmations and enabling higher throughput.

-

Fees Saved

+

Fees Saved

As a byproduct of the scaling improvements, the many transfers inside each payjoin share the fees of a single transaction. @@ -119,8 +122,8 @@

Lightning Compatible

+ > Lightning Compatible +

Open all your channels at once

Combining payjoin with the Lightning Network opens up new possibilities for bitcoin.

With payjoin, lightning nodes could:

@@ -134,17 +137,6 @@ > project for an example.
-