aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/LandingHero.svelte
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2022-08-02 13:13:27 -0500
committerAdrien Hopkins <[email protected]>2022-08-02 13:13:27 -0500
commitc21ee41b206db79b2157d8743b0473a094448dfb (patch)
treefac1a595e451c0b32ceedfe4fb70855270456377 /src/components/LandingHero.svelte
parent3b216dd6c170a7d71d21a391098c554008c8bdb4 (diff)
parent05f5001fc7d325e31d9c777be11343604c72fbfd (diff)
downloadcoinos-ui-c21ee41b206db79b2157d8743b0473a094448dfb.tar.gz
coinos-ui-c21ee41b206db79b2157d8743b0473a094448dfb.zip
Merge branch 'master' into i18n
Diffstat (limited to 'src/components/LandingHero.svelte')
-rw-r--r--src/components/LandingHero.svelte21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte
index 2c2e1ab5..93bea8c2 100644
--- a/src/components/LandingHero.svelte
+++ b/src/components/LandingHero.svelte
@@ -1,9 +1,10 @@
<script>
import { goto } from '$app/navigation';
import { Icon, Image } from '$comp';
+ import { user } from '$lib/store';
</script>
-<div>
+<div class="mt-[96.88px] md:mt-0">
<div class="space-y-10">
<h1
class="text-5xl md:text-6xl lg:text-7xl 2xl:text-8xl font-medium text-center w-full md:w-3/4 lg:w-1/2 max-w-7xl mx-auto leading-tight"
@@ -19,14 +20,16 @@
Grow your customer base and revenue by accepting Bitcoin with an easy-to-use and managed Point
of Sale. No software or hardware required.
</h2>
- <div class="flex justify-center">
- <button
- class="bg-black text-white border rounded-full px-6 py-2 font-bold"
- on:click={() => goto('/register')}
- >
- Start in Seconds
- </button>
- </div>
+ {#if !$user}
+ <div class="flex justify-center">
+ <button
+ class="bg-black text-white border rounded-full px-6 py-2 font-bold"
+ on:click={() => goto('/register')}
+ >
+ Start in Seconds
+ </button>
+ </div>
+ {/if}
</div>
<!-- hero image -->