diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6e9c96fd..28115141 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: 'publish' on: push: branches: - - release + - main env: CARGO_INCREMENTAL: 0 diff --git a/public/zap.png b/public/zap.png new file mode 100644 index 00000000..d0747151 Binary files /dev/null and b/public/zap.png differ diff --git a/src/shared/notes/actions/zap.tsx b/src/shared/notes/actions/zap.tsx index 937df8a0..8636930c 100644 --- a/src/shared/notes/actions/zap.tsx +++ b/src/shared/notes/actions/zap.tsx @@ -35,14 +35,14 @@ export function NoteZap({ id }: { id: string }) { type="button" className="group inline-flex h-7 w-7 items-center justify-center" > - + - -
- -
+ + +
+
Zap (Beta) @@ -51,16 +51,11 @@ export function NoteZap({ id }: { id: string }) { Send tip with Bitcoin via Lightning
- - + +
-
+
{!invoice ? ( <>
@@ -68,16 +63,12 @@ export function NoteZap({ id }: { id: string }) { type="button" onClick={() => setAmount(21000)} className={twMerge( - 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-zinc-800', - `${selected(21000) && 'bg-zinc-800'}` + 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-white/10', + `${selected(21000) && 'bg-white/10'}` )} > - High Voltage - + High Voltage + 21 sats @@ -85,16 +76,12 @@ export function NoteZap({ id }: { id: string }) { type="button" onClick={() => setAmount(69000)} className={twMerge( - 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-zinc-800', - `${selected(69000) && 'bg-zinc-800'}` + 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-white/10', + `${selected(69000) && 'bg-white/10'}` )} > - High Voltage - + High Voltage + 69 sats @@ -102,16 +89,12 @@ export function NoteZap({ id }: { id: string }) { type="button" onClick={() => setAmount(100000)} className={twMerge( - 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-zinc-800', - `${selected(100000) && 'bg-zinc-800'}` + 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-white/10', + `${selected(100000) && 'bg-white/10'}` )} > - High Voltage - + High Voltage + 100 sats @@ -119,16 +102,12 @@ export function NoteZap({ id }: { id: string }) { type="button" onClick={() => setAmount(200000)} className={twMerge( - 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-zinc-800', - `${selected(200000) && 'bg-zinc-800'}` + 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-white/10', + `${selected(200000) && 'bg-white/10'}` )} > - High Voltage - + High Voltage + 200 sats @@ -136,16 +115,12 @@ export function NoteZap({ id }: { id: string }) { type="button" onClick={() => setAmount(500000)} className={twMerge( - 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-zinc-800', - `${selected(500000) && 'bg-zinc-800'}` + 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-white/10', + `${selected(500000) && 'bg-white/10'}` )} > - High Voltage - + High Voltage + 500 sats @@ -153,16 +128,12 @@ export function NoteZap({ id }: { id: string }) { type="button" onClick={() => setAmount(1000000)} className={twMerge( - 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-zinc-800', - `${selected(1000000) && 'bg-zinc-800'}` + 'inline-flex flex-col items-center justify-center gap-2 rounded-md px-2 py-2 hover:bg-white/10', + `${selected(1000000) && 'bg-white/10'}` )} > - High Voltage - + High Voltage + 1000 sats @@ -191,8 +162,8 @@ export function NoteZap({ id }: { id: string }) {
)}
- -
+
+
);