Fix Get Started button

This commit is contained in:
Andras Bacsai 2021-06-22 10:44:08 +02:00
parent 807d526ffa
commit bcb2ba0b1b

View File

@ -63,7 +63,7 @@
& <span class="text-green-400">Netlify</span> alternative & <span class="text-green-400">Netlify</span> alternative
</h2> </h2>
{#if loading} {#if loading}
<Loading fullscreen={false}/> <Loading fullscreen={false} />
{:else} {:else}
<div class="text-center py-10 max-w-7xl"> <div class="text-center py-10 max-w-7xl">
{#if !$session.isLoggedIn} {#if !$session.isLoggedIn}
@ -100,7 +100,9 @@
{:else} {:else}
<button <button
class="text-white bg-warmGray-800 hover:bg-warmGray-700 rounded p-2 px-10 font-bold" class="text-white bg-warmGray-800 hover:bg-warmGray-700 rounded p-2 px-10 font-bold"
on:click={() => goto('/dashboard/applications')}>Get Started</button on:click={() =>
$settings.clientId ? goto('/dashboard/applications') : goto('/dashboard/services')}
>Get Started</button
> >
{/if} {/if}
</div> </div>