aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-03 09:30:47 -0800
committerAdam Soltys <[email protected]>2026-03-03 09:30:47 -0800
commit52c2f2916256f5af496fc13cdb23b3c2ec93b74c (patch)
treecc08524bde27a7da925fd91e666c870b27a04030 /src/routes
parent2b7a43dcb4456acaa4043e4ffc77f51ea7e6b238 (diff)
downloadcoinos-ui-52c2f2916256f5af496fc13cdb23b3c2ec93b74c.tar.gz
coinos-ui-52c2f2916256f5af496fc13cdb23b3c2ec93b74c.zip
fix icons
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/(app)/[username]/(profile)/+layout.svelte4
-rw-r--r--src/routes/(app)/[username]/(profile)/+page.svelte2
-rw-r--r--src/routes/(app)/account/[id]/+page.svelte2
-rw-r--r--src/routes/(app)/invoice/[id]/tip/+page.svelte2
-rw-r--r--src/routes/(app)/ln/withdrawal/sent/+page.svelte2
-rw-r--r--src/routes/(app)/payment/[id]/+page.svelte8
-rw-r--r--src/routes/(app)/send/[...text]/+page.svelte2
-rw-r--r--src/routes/(app)/settings/nostr/+page.svelte2
-rw-r--r--src/routes/(app)/verify/[code]/+page.svelte2
-rw-r--r--src/routes/(static)/bounties/+page.svelte6
-rw-r--r--src/routes/+layout.ts2
11 files changed, 18 insertions, 16 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte
index 30e1cdaa..6997b915 100644
--- a/src/routes/(app)/[username]/(profile)/+layout.svelte
+++ b/src/routes/(app)/[username]/(profile)/+layout.svelte
@@ -142,12 +142,12 @@
{#if satsPerCurrency >= 1}
<div>{f(1, currency, locale)} &#61;</div>
<div class="flex items-center">
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
{s(satsPerCurrency)}
</div>
{:else}
<div class="flex items-center">
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
1
</div>
<div>&#61; {f(1 / satsPerCurrency, currency, locale)}</div>
diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte
index db569442..2eb424e1 100644
--- a/src/routes/(app)/[username]/(profile)/+page.svelte
+++ b/src/routes/(app)/[username]/(profile)/+page.svelte
@@ -162,7 +162,7 @@
class="contents"
>
<button class="btn btn-accent !text-2xl items-center !w-full sm:!max-w-[400px] mx-auto">
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
<div>{$t("user.pay")} {subject.username}</div>
</button>
</a>
diff --git a/src/routes/(app)/account/[id]/+page.svelte b/src/routes/(app)/account/[id]/+page.svelte
index a5aacca5..bb0251db 100644
--- a/src/routes/(app)/account/[id]/+page.svelte
+++ b/src/routes/(app)/account/[id]/+page.svelte
@@ -204,7 +204,7 @@
<label for="threshold" class="font-bold mb-1 block">{$t("user.settings.threshold")}</label>
<button type="button" class="flex w-full" onclick={editThreshold}>
<div class="p-4 border rounded-2xl rounded-r-none border-r-0 bg-base-200">
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
</div>
<div class="border-l-0 rounded-l-none pl-2 w-full p-4 border rounded-2xl text-left">
{threshold}
diff --git a/src/routes/(app)/invoice/[id]/tip/+page.svelte b/src/routes/(app)/invoice/[id]/tip/+page.svelte
index 8ce3029f..033b34c4 100644
--- a/src/routes/(app)/invoice/[id]/tip/+page.svelte
+++ b/src/routes/(app)/invoice/[id]/tip/+page.svelte
@@ -112,7 +112,7 @@
</div>
<div class="ml-auto text-lg flex gap-2" class:hidden={$fiat}>
<div class="flex items-center">
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
<div>{s(amount, locale)}</div>
</div>
<div class="flex items-center">
diff --git a/src/routes/(app)/ln/withdrawal/sent/+page.svelte b/src/routes/(app)/ln/withdrawal/sent/+page.svelte
index 879f6e16..34e330e6 100644
--- a/src/routes/(app)/ln/withdrawal/sent/+page.svelte
+++ b/src/routes/(app)/ln/withdrawal/sent/+page.svelte
@@ -11,7 +11,7 @@
<div class="text-center mt-20 md:mt-0">
<div class="flex w-full max-w-[200px] mx-auto py-20" in:scale={{ start: 0.5 }}>
- <PhCheckBold class="mx-auto w-full text-[#7ACC8F]" />
+ <PhCheckBold width="96" class="mx-auto text-[#7ACC8F]" />
</div>
<h1 class="text-3xl md:text-4xl font-bold mb-6">Request Sent!</h1>
</div>
diff --git a/src/routes/(app)/payment/[id]/+page.svelte b/src/routes/(app)/payment/[id]/+page.svelte
index 3e8c4788..78ae22c3 100644
--- a/src/routes/(app)/payment/[id]/+page.svelte
+++ b/src/routes/(app)/payment/[id]/+page.svelte
@@ -125,7 +125,7 @@
>
<div class:hidden={!$fiat}>{f(toFiat(amount, rate), currency, userLocale)}</div>
<div class="flex items-center" class:hidden={$fiat}>
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
{s(amount, userLocale)}
</div>
</button>
@@ -184,7 +184,7 @@
>
<span class:hidden={!$fiat}>{f(toFiat(a, rate), currency, userLocale)}</span>
<span class="flex items-center" class:hidden={$fiat}>
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
{s(a, userLocale)}
</span>
</button>
@@ -237,7 +237,7 @@
{:else if type === types.fund}
<div class="pt-4">
<a href={`/fund/${memo}`} class="btn btn-accent w-full">
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
{$t("payments.viewFund")}
</a>
</div>
@@ -246,7 +246,7 @@
<div class="pt-4">
<a href={`/e/${eid}`} class="btn btn-accent w-full">
<img src="/images/nostr.png" class="w-6" alt="Nostr" />
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
{$t("payments.zappedEvent")}
</a>
</div>
diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte
index c1d0a918..658864ba 100644
--- a/src/routes/(app)/send/[...text]/+page.svelte
+++ b/src/routes/(app)/send/[...text]/+page.svelte
@@ -122,7 +122,7 @@
<a href="/send/fund" class="block">
<button type="button" class="btn">
- <PhLightningFill class="text-yellow-300 text-2xl" />
+ <PhLightningFill width="24" class="text-yellow-300" />
<div class="my-auto">{$t("payments.createFund")}</div>
</button>
</a>
diff --git a/src/routes/(app)/settings/nostr/+page.svelte b/src/routes/(app)/settings/nostr/+page.svelte
index 61c33c4b..3a27bc88 100644
--- a/src/routes/(app)/settings/nostr/+page.svelte
+++ b/src/routes/(app)/settings/nostr/+page.svelte
@@ -77,7 +77,7 @@
{#if app.max_amount > 0}
<div class="flex gap-1 text-base">
<div class="flex items-center">
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
<span class:hidden={!($fiat && $rate)}>{f((app.spent * ($rate as number)) / sats, user.currency, locale)} / {f((app.max_amount * ($rate as number)) / sats, user.currency, locale)}</span>
<span class:hidden={$fiat && $rate}>{s(app.spent, locale)} / {s(app.max_amount, locale)}</span>
</div>
diff --git a/src/routes/(app)/verify/[code]/+page.svelte b/src/routes/(app)/verify/[code]/+page.svelte
index 8cfcaaef..de9a20b6 100644
--- a/src/routes/(app)/verify/[code]/+page.svelte
+++ b/src/routes/(app)/verify/[code]/+page.svelte
@@ -13,7 +13,7 @@
<h1 class="text-3xl md:text-4xl font-bold mb-6">Email verification failed</h1>
{:else if user.verified}
<div class="flex w-full py-5 max-w-[200px] mx-auto" in:scale={{ start: 0.5 }}>
- <PhCheckBold class="mx-auto w-full text-[#7ACC8F]" />
+ <PhCheckBold width="96" class="mx-auto text-[#7ACC8F]" />
</div>
<h1 class="text-3xl md:text-4xl font-bold mb-6">Email verified successfully!</h1>
diff --git a/src/routes/(static)/bounties/+page.svelte b/src/routes/(static)/bounties/+page.svelte
index cc2ac77c..6f8967c2 100644
--- a/src/routes/(static)/bounties/+page.svelte
+++ b/src/routes/(static)/bounties/+page.svelte
@@ -42,7 +42,7 @@
<div class="flex max-w-xs sm:max-w-xl">
<div>First {b}</div>
- <PhLightningFill class="text-yellow-300 ml-auto" />
+ <PhLightningFill width="20" class="text-yellow-300 ml-auto" />
{s(100000, "en-CA")}
</div>
{/each}
@@ -55,7 +55,7 @@
<div class="flex max-w-xs sm:max-w-xl">
<div>{b.type}</div>
- <PhLightningFill class="text-yellow-300 ml-auto" />
+ <PhLightningFill width="20" class="text-yellow-300 ml-auto" />
{s(b.amount, "en-CA")}
</div>
{/each}
@@ -100,7 +100,7 @@
</div>
<div class="ml-auto flex shrink-0 items-center gap-1 whitespace">
- <PhLightningFill class="text-yellow-300" />
+ <PhLightningFill width="20" class="text-yellow-300" />
<span class="text-sm font-semibold tabular-nums">{s(amount, "en-CA")}</span>
</div>
</div>
diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts
index 0fcf5ec8..56a0cc14 100644
--- a/src/routes/+layout.ts
+++ b/src/routes/+layout.ts
@@ -24,4 +24,6 @@ export const load = async ({ data }) => {
if (theme === "dark") setTimeout(() => themeStore.set(theme), 100);
}
}
+
+ return data;
};