-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sveltekit now can create cookies (Fixed problem with cookies).
- Loading branch information
1 parent
0080ab6
commit ddc191f
Showing
4 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
<script> | ||
export let data; | ||
</script> | ||
|
||
<h1>Welcome to Local Bargains</h1> | ||
<a href="/auth/register"> Sign up </a> | ||
<a href="/auth/login"> Sign in </a> | ||
{#if data.accessToken} | ||
{data.accessToken} | ||
{:else} | ||
<a href="/auth/register"> Sign up </a> | ||
<a href="/auth/login"> Sign in </a> | ||
{/if} | ||
|
||
<slot /> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
<script> | ||
</script> | ||
|
||
<svelte:head> | ||
<title>Local Bargains!</title> | ||
</svelte:head> | ||
|
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