-
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.
Merge pull request #117 from Kerosene-Labs/tweaking-nav
tweaking nav, moving around private features to a /app route
- Loading branch information
Showing
18 changed files
with
84 additions
and
62 deletions.
There are no files selected for viewing
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
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
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,3 +1,3 @@ | ||
<button class="text-neutral-200 text-left font-semibold text-4xl pl-4 active:bg-neutral-900 hover:bg-neutral-800 transition-colors p-4"> | ||
<button on:click class="text-neutral-200 text-left font-semibold text-xl pl-4 active:bg-neutral-800/50 hover:bg-neutral-800/25 transition-colors p-4"> | ||
<slot></slot> | ||
</button> |
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
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
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 |
---|---|---|
|
@@ -23,5 +23,6 @@ | |
@apply bg-neutral-900/35; | ||
@apply w-full; | ||
@apply break-words; | ||
@apply drop-shadow-xl; | ||
} | ||
</style> |
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
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,25 +1,8 @@ | ||
<script lang="ts"> | ||
import Button from "$lib/tk/Button.svelte"; | ||
import Card from "$lib/tk/Card.svelte"; | ||
import {onMount} from "svelte"; | ||
import {goto} from "$app/navigation"; | ||
const googleOauthUri = import.meta.env.VITE_GOOGLE_OAUTH_URI; | ||
// do oauth signin with google | ||
function doSignInWithGoogle() { | ||
window.location.href = googleOauthUri; | ||
} | ||
</script> | ||
|
||
<div class="flex flex-col justify-center items-center min-h-full"> | ||
<div class="flex flex-col max-w-96"> | ||
<Card title="Welcome" subtitle="We're so excited to have you. Please log in with one of the following providers."> | ||
<div class="flex flex-col gap-2"> | ||
<Button on:click={doSignInWithGoogle}>Sign in with Google</Button> | ||
<Button disabled={true}>Sign in with Apple</Button> | ||
<Button disabled={true}>Sign in with Microsoft</Button> | ||
<Button disabled={true}>Sign in with E-Mail</Button> | ||
</div> | ||
</Card> | ||
</div> | ||
</div> | ||
onMount(() => { | ||
goto("/login"); | ||
}) | ||
</script> |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<script> | ||
import BaseNavLayout from "$lib/components/BaseNavLayout.svelte"; | ||
</script> | ||
|
||
<BaseNavLayout> | ||
<slot></slot> | ||
</BaseNavLayout> |
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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<script lang="ts"> | ||
import Card from "$lib/tk/Card.svelte"; | ||
document.title = "Home | BillTracker" | ||
</script> | ||
|
||
<Card title="Projections" subtitle="There's nothing here yet. Check back soon."></Card> |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<script> | ||
</script> | ||
|
||
<slot></slot> |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<script> | ||
import BaseLayout from "$lib/components/BaseLayout.svelte"; | ||
</script> | ||
|
||
<BaseLayout justifyCenter={true}> | ||
<slot></slot> | ||
</BaseLayout> |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<script lang="ts"> | ||
import Button from "$lib/tk/Button.svelte"; | ||
import Card from "$lib/tk/Card.svelte"; | ||
const googleOauthUri = import.meta.env.VITE_GOOGLE_OAUTH_URI; | ||
// do oauth signin with google | ||
function doSignInWithGoogle() { | ||
window.location.href = googleOauthUri; | ||
} | ||
</script> | ||
|
||
<div class="flex flex-col justify-center items-center min-h-full"> | ||
<div class="flex flex-col max-w-96"> | ||
<Card title="Welcome" subtitle="We're so excited to have you. Please log in with one of the following providers."> | ||
<div class="flex flex-col gap-2"> | ||
<Button on:click={doSignInWithGoogle}>Sign in with Google</Button> | ||
<Button disabled={true}>Sign in with Apple</Button> | ||
<Button disabled={true}>Sign in with Microsoft</Button> | ||
<Button disabled={true}>Sign in with E-Mail</Button> | ||
</div> | ||
</Card> | ||
</div> | ||
</div> |
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
This file was deleted.
Oops, something went wrong.