aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-02-08 13:20:22 -0800
committerAdam Soltys <[email protected]>2023-02-08 13:20:22 -0800
commit866b78f25c9c8ae9c6cd3d0892aff3933cabf556 (patch)
tree4e62b2fc800df4f0ef48ee5445d4b1639f9facd7 /src/components
parentf1de78757ebd132acee2f4ebe1c0927a262594f0 (diff)
downloadcoinos-ui-866b78f25c9c8ae9c6cd3d0892aff3933cabf556.tar.gz
coinos-ui-866b78f25c9c8ae9c6cd3d0892aff3933cabf556.zip
internal payment fixes
Diffstat (limited to 'src/components')
-rw-r--r--src/components/LandingHeader.svelte17
-rw-r--r--src/components/Pin.svelte2
2 files changed, 10 insertions, 9 deletions
diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte
index 2c3bcd6a..f9db5ea0 100644
--- a/src/components/LandingHeader.svelte
+++ b/src/components/LandingHeader.svelte
@@ -3,7 +3,7 @@
import { scroll } from '$lib/utils';
import { Icon } from '$comp';
import { t } from '$lib/translations';
- import { page } from '$app/stores';
+ import { page } from '$app/stores';
export let howItWorks;
export let faq;
@@ -32,13 +32,14 @@
<!-- desktop nav -->
<div class="hidden space-x-10 md:flex flex-wrap justify-center items-center font-bold">
- {#if $page.url.pathname === "/"}
- <button class="hover:opacity-80" on:click={() => scroll(howItWorks)}
- >{$t('howItWorks.header')}</button
- >
- <button class="hover:opacity-80" on:click={() => scroll(faq)}>{$t('faq.header')}</button>
- <button class="hover:opacity-80" on:click={() => scroll(about)}>{$t('about.header')}</button>
- {/if}
+ {#if $page.url.pathname === '/'}
+ <button class="hover:opacity-80" on:click={() => scroll(howItWorks)}
+ >{$t('howItWorks.header')}</button
+ >
+ <button class="hover:opacity-80" on:click={() => scroll(faq)}>{$t('faq.header')}</button>
+ <button class="hover:opacity-80" on:click={() => scroll(about)}>{$t('about.header')}</button
+ >
+ {/if}
{#if !user}
<button
class="border rounded-full px-6 py-2 font-bold hover:opacity-80"
diff --git a/src/components/Pin.svelte b/src/components/Pin.svelte
index a59f574e..1d7ed65b 100644
--- a/src/components/Pin.svelte
+++ b/src/components/Pin.svelte
@@ -10,7 +10,7 @@
let pin = '';
$: update(value);
- let update = (v) => (pin = v)
+ let update = (v) => (pin = v);
$: pin.toString().length > 5 && (value = pin.toString());
</script>