aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(static)
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-11 23:02:30 -0800
committerAdam Soltys <[email protected]>2026-02-11 23:02:30 -0800
commit2e61e8abbc318c36969cb5add0c63df81135b4ab (patch)
tree706396b41da448f0172719313fb6ae30ecebb004 /src/routes/(static)
parent56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (diff)
downloadcoinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.tar.gz
coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.zip
formatting
Diffstat (limited to 'src/routes/(static)')
-rw-r--r--src/routes/(static)/bounties/+page.svelte25
-rw-r--r--src/routes/(static)/docs/+page.svelte36
-rw-r--r--src/routes/(static)/login/+page.svelte10
-rw-r--r--src/routes/(static)/privacy/+page.svelte8
-rw-r--r--src/routes/(static)/register/+page.svelte9
-rw-r--r--src/routes/(static)/removal/+page.svelte6
-rw-r--r--src/routes/(static)/support/+page.svelte10
7 files changed, 46 insertions, 58 deletions
diff --git a/src/routes/(static)/bounties/+page.svelte b/src/routes/(static)/bounties/+page.svelte
index fad8c041..c5bd99e7 100644
--- a/src/routes/(static)/bounties/+page.svelte
+++ b/src/routes/(static)/bounties/+page.svelte
@@ -42,7 +42,8 @@
<div>First {b}</div>
<iconify-icon noobserver icon="ph:lightning-fill" class="text-yellow-300 ml-auto"
- ></iconify-icon>{s(100000, "en-CA")}
+ ></iconify-icon>
+ {s(100000, "en-CA")}
</div>
{/each}
</div>
@@ -55,7 +56,8 @@
<div>{b.type}</div>
<iconify-icon noobserver icon="ph:lightning-fill" class="text-yellow-300 ml-auto"
- ></iconify-icon>{s(b.amount, "en-CA")}
+ ></iconify-icon>
+ {s(b.amount, "en-CA")}
</div>
{/each}
</div>
@@ -101,9 +103,7 @@
<div class="ml-auto flex shrink-0 items-center gap-1 whitespace">
<iconify-icon noobserver icon="ph:lightning-fill" class="text-yellow-300"
></iconify-icon>
- <span class="text-sm font-semibold tabular-nums">
- {s(amount, "en-CA")}
- </span>
+ <span class="text-sm font-semibold tabular-nums">{s(amount, "en-CA")}</span>
</div>
</div>
</article>
@@ -132,8 +132,7 @@
</ul>
<p>
- 25% of the bounty will be awarded once the business is ready to take payments and has been
- announced
+ 25% of the bounty will be awarded once the business is ready to take payments and has been announced
</p>
<p>The rest will be awarded once they've been accepting Bitcoin for 6 months</p>
@@ -145,19 +144,17 @@
<h2 class="text-2xl font-bold">Get Started!</h2>
<p>
- Reach out to <a href="mailto:[email protected]" class="text-blue-600 hover:underline"
- > and let us know who we should contact
+ Reach out to
+ <a href="mailto:[email protected]" class="text-blue-600 hover:underline">[email protected]</a>
+ and let us know who we should contact
</p>
<p>
- We'll update this page as the bounties are claimed so you'll be able to see which ones are still
- available.
+ We'll update this page as the bounties are claimed so you'll be able to see which ones are still available.
</p>
<p>
- Have a lead or idea for something that's not on the list? Reach out! We offer sats for all sorts
- of referrals!
+ Have a lead or idea for something that's not on the list? Reach out! We offer sats for all sorts of referrals!
</p>
<p>Thanks for participating and helping to orange pill Vancouver!</p>
diff --git a/src/routes/(static)/docs/+page.svelte b/src/routes/(static)/docs/+page.svelte
index fc803158..90d14ff1 100644
--- a/src/routes/(static)/docs/+page.svelte
+++ b/src/routes/(static)/docs/+page.svelte
@@ -26,18 +26,13 @@
<h1 class="text-4xl">Documentation</h1>
<p class="text-secondary">
- Coinos is free and open source software. The code is available at <a
- href="https://github.com/coinos"
- class="text-secondary underline">github.com/coinos</a
- >
+ Coinos is free and open source software. The code is available at
+ <a href="https://github.com/coinos" class="text-secondary underline">github.com/coinos</a>
</p>
<p class="text-secondary">
- Coinos has a REST API that can be used to register accounts and make payments. The following
- examples show how you can call the API with <a
- href="https://curl.se/"
- class="text-secondary underline">curl</a
- >
+ Coinos has a REST API that can be used to register accounts and make payments. The following examples show how you can call the API with
+ <a href="https://curl.se/" class="text-secondary underline">curl</a>
</p>
<h2 class="text-2xl">API Base URL</h2>
@@ -49,14 +44,16 @@
<h2 class="text-2xl">Auth Token</h2>
<p class="text-secondary">
{#if user && token}
- This token authorizes you to use the API as <b>{user.username}</b>.
+ This token authorizes you to use the API as
+ <b>{user.username}</b>
+ .
{:else}
- <a href="/login" class="font-bold">Sign in</a> to view your auth token here, or get one from the
- /login endpoint.
+ <a href="/login" class="font-bold">Sign in</a>
+ to view your auth token here, or get one from the /login endpoint.
{/if}
-
- Save it in a variable called <b>$token</b> to run the examples. It gives full access to your account
- so keep it safe.
+ Save it in a variable called
+ <b>$token</b>
+ to run the examples. It gives full access to your account so keep it safe.
</p>
<div class="bg-primary text-primary-content rounded-lg p-4 flex gap-4 items-center">
@@ -66,8 +63,7 @@
{#if ro}
<p class="text-secondary">
- This read-only token has permission to create invoices and fetch payments but can't be used to
- make withdrawals
+ This read-only token has permission to create invoices and fetch payments but can't be used to make withdrawals
</p>
<div class="bg-primary text-primary-content rounded-lg p-4 flex gap-4 items-center">
<div class="w-full break-all">{roSample}</div>
@@ -130,7 +126,11 @@
<p>Sample response</p>
<Code sample="invoiceResponse" />
- <p>You can check the <b>received</b> field to see how much has been paid</p>
+ <p>
+ You can check the
+ <b>received</b>
+ field to see how much has been paid
+ </p>
<p>Specify a webhook to be called when an invoice is paid</p>
<Code sample="webhook" />
diff --git a/src/routes/(static)/login/+page.svelte b/src/routes/(static)/login/+page.svelte
index 7c9c29fc..22e49e65 100644
--- a/src/routes/(static)/login/+page.svelte
+++ b/src/routes/(static)/login/+page.svelte
@@ -161,9 +161,7 @@
<div class="mx-auto md:shadow-xl rounded-3xl max-w-xl w-full md:w-[480px] md:p-8 mb-20 space-y-5">
<h1 class="text-2xl font-bold text-center">{$t("login.signIn")}</h1>
{#if form?.error && !form?.message.includes("2fa")}
- <div class="text-red-600 text-center" in:fly>
- {form.error}
- </div>
+ <div class="text-red-600 text-center" in:fly>{form.error}</div>
{/if}
<form use:enhance={enhanceLogin} class="space-y-5" method="POST" action="?/login">
@@ -184,9 +182,9 @@
<PasswordInput bind:value={$password} placeholder={$t("login.password")} />
<div class="flex justify-end items-center">
- <a href="/forgot" class="underline underline-offset-4 text-secondary"
- >{$t("login.forgotUserOrPassword")}</a
- >
+ <a href="/forgot" class="underline underline-offset-4 text-secondary">
+ {$t("login.forgotUserOrPassword")}
+ </a>
</div>
<button type="submit" class="btn btn-accent" bind:this={btn} data-testid="login-submit">
diff --git a/src/routes/(static)/privacy/+page.svelte b/src/routes/(static)/privacy/+page.svelte
index ccbe8a92..4caf0783 100644
--- a/src/routes/(static)/privacy/+page.svelte
+++ b/src/routes/(static)/privacy/+page.svelte
@@ -2,14 +2,10 @@
<div class="text-2xl font-bold">Privacy Policy</div>
<div>
- The only personal information we require to create an account is a username and password. Some
- users may provide an email address for notification or password reset purposes. We will not
- share your email with anyone or use it for anything other than the purposes stated.
+ The only personal information we require to create an account is a username and password. Some users may provide an email address for notification or password reset purposes. We will not share your email with anyone or use it for anything other than the purposes stated.
</div>
<div>
- We keep records of payment history associated to accounts and may be obligated to share our
- records with financial authorities. You may request that your account be deleted by visiting
- https://coinos.io/removal
+ We keep records of payment history associated to accounts and may be obligated to share our records with financial authorities. You may request that your account be deleted by visiting https://coinos.io/removal
</div>
</div>
diff --git a/src/routes/(static)/register/+page.svelte b/src/routes/(static)/register/+page.svelte
index f594244c..a8d05e42 100644
--- a/src/routes/(static)/register/+page.svelte
+++ b/src/routes/(static)/register/+page.svelte
@@ -298,10 +298,7 @@
</div>
{#if form?.error || form?.message}
- <div class="text-red-600 text-center" in:fly>
- {form?.message}
- {form?.error}
- </div>
+ <div class="text-red-600 text-center" in:fly>{form?.message}{form?.error}</div>
{/if}
<form class="space-y-5" onsubmit={handleSubmit} method="POST">
@@ -326,8 +323,8 @@
placeholder={$t("login.username")}
/>
<button type="button" tabindex="-1" onclick={refresh} aria-label="Randomize" class="contents">
- <iconify-icon noobserver icon="ph:dice-three-bold" width="32"></iconify-icon></button
- >
+ <iconify-icon noobserver icon="ph:dice-three-bold" width="32"></iconify-icon>
+ </button>
</label>
<PasswordInput
diff --git a/src/routes/(static)/removal/+page.svelte b/src/routes/(static)/removal/+page.svelte
index 6cfc6d82..cbe7dde8 100644
--- a/src/routes/(static)/removal/+page.svelte
+++ b/src/routes/(static)/removal/+page.svelte
@@ -2,8 +2,8 @@
<div class="text-2xl font-bold">Data Removal</div>
<div>
- If you wish to delete your account and have your data removed, please add a verified email
- address to your account and send an email from it to
- <b>[email protected]</b> requesting that we delete your account data.
+ If you wish to delete your account and have your data removed, please add a verified email address to your account and send an email from it to
+ requesting that we delete your account data.
</div>
</div>
diff --git a/src/routes/(static)/support/+page.svelte b/src/routes/(static)/support/+page.svelte
index 8a7f55bf..3a9b011f 100644
--- a/src/routes/(static)/support/+page.svelte
+++ b/src/routes/(static)/support/+page.svelte
@@ -80,14 +80,13 @@
<a href={user ? `/${user.username}` : "/"}>
<button
class="rounded-full border py-2 px-5 font-bold hover:opacity-80 w-full bg-black text-white"
- >Ok</button
>
+ Ok
+ </button>
</a>
</div>
{:else}
- <h1 class="text-center text-3xl md:text-4xl font-semibold mb-8">
- {$t("user.support.header")}
- </h1>
+ <h1 class="text-center text-3xl md:text-4xl font-semibold mb-8">{$t("user.support.header")}</h1>
<p class="text-secondary text-lg">
{$t("user.support.fillForm")}
@@ -115,8 +114,9 @@
type="submit"
disabled={!email || !message}
class="g-recaptcha bg-black text-white font-bold rounded-xl py-3 w-full mx-auto hover:opacity-80"
- >{$t("user.support.send")}</button
>
+ {$t("user.support.send")}
+ </button>
</form>
{/if}
</div>