Created
July 26, 2021 15:15
-
-
Save robertohuertasm/ae37b8d5360e52620c2e9a51ef01cce8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
// we'll edit this later | |
let user; | |
</script> | |
<svelte:head> | |
<title>SvelteKit - Cognito</title> | |
</svelte:head> | |
{#if !user} | |
<button>Log In with Cognito</button> | |
{:else} | |
<button>Log Out</button> | |
{/if} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment