aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-10 18:21:05 -0800
committerAdam Soltys <[email protected]>2022-11-10 18:21:05 -0800
commitc3ff025911409b569534337b81fe5298f5edd6ee (patch)
tree1f7592251caa173d13c500b1a27f52cbe8adf474 /src
parent2c1a1b4a1e4448269d9b6a46e277da93b96d05d0 (diff)
downloadcoinos-ui-c3ff025911409b569534337b81fe5298f5edd6ee.tar.gz
coinos-ui-c3ff025911409b569534337b81fe5298f5edd6ee.zip
start button after locations
Diffstat (limited to 'src')
-rw-r--r--src/components/LandingHero.svelte2
-rw-r--r--src/routes/+page.svelte10
2 files changed, 10 insertions, 2 deletions
diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte
index 74c192fb..48e868ed 100644
--- a/src/components/LandingHero.svelte
+++ b/src/components/LandingHero.svelte
@@ -23,7 +23,6 @@
>
{$t('landing.subheader')}
</h2>
- {#if !user}
<div class="flex justify-center">
<a href="/register">
<button
@@ -33,7 +32,6 @@
</button>
</a>
</div>
- {/if}
</div>
<Image image="hero-image" style="w-full md:w-2/3 max-w-5xl mx-auto mt-20" />
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index e318ad3a..ba811e8a 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -95,6 +95,16 @@
{#if locations?.length}
<About {locations} />
{/if}
+
+ <div class="flex justify-center">
+ <a href="/register">
+ <button
+ class="bg-black text-white border rounded-full px-6 py-2 font-bold hover:opacity-80"
+ >
+ {$t('nav.startInSeconds')}
+ </button>
+ </a>
+ </div>
</main>
<Footer />