-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: welcome redirect flow (#5941)
* simplify welcome redirect flow * type fix * workflow test fix * img reference fixes and svelte-check tweaks * left incorrect script * update whitelist error
- Loading branch information
1 parent
e19f8d1
commit 2f9f350
Showing
15 changed files
with
188 additions
and
152 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
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.
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
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
36 changes: 35 additions & 1 deletion
36
web-local/src/routes/(application)/(workspace)/+page.svelte
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,9 +1,43 @@ | ||
<script lang="ts"> | ||
import OnboardingWorkspace from "@rilldata/web-common/features/onboarding/OnboardingWorkspace.svelte"; | ||
import ProjectCards from "@rilldata/web-common/features/welcome/ProjectCards.svelte"; | ||
import TitleContent from "@rilldata/web-common/features/welcome/TitleContent.svelte"; | ||
import UserTestCta from "@rilldata/web-common/features/welcome/UserTestCTA.svelte"; | ||
import { fly } from "svelte/transition"; | ||
import type { LayoutData } from "../$types"; | ||
export let data: LayoutData; | ||
</script> | ||
|
||
<svelte:head> | ||
<title>Rill Developer</title> | ||
</svelte:head> | ||
|
||
<OnboardingWorkspace /> | ||
{#if data.initialized} | ||
<OnboardingWorkspace /> | ||
{:else} | ||
<div class="scroll" in:fly={{ duration: 1600, delay: 400, y: 8 }}> | ||
<div class="wrapper column p-10 2xl:py-16"> | ||
<TitleContent /> | ||
<div class="column" in:fly={{ duration: 1600, delay: 1200, y: 4 }}> | ||
<ProjectCards /> | ||
<UserTestCta /> | ||
</div> | ||
</div> | ||
</div> | ||
{/if} | ||
|
||
<style lang="postcss"> | ||
.scroll { | ||
@apply size-full overflow-x-hidden overflow-y-auto; | ||
} | ||
.wrapper { | ||
@apply w-full h-fit min-h-screen bg-no-repeat bg-cover; | ||
background-image: url("/img/welcome-bg-art.png"); | ||
} | ||
.column { | ||
@apply flex flex-col items-center gap-y-6; | ||
} | ||
</style> |
Oops, something went wrong.
2f9f350
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://ui.rilldata.io as production
🚀 Deployed on https://67159f3d55c555a14b27b4c4--rill-ui-stage.netlify.app
2f9f350
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://ui.rilldata.com as production
🚀 Deployed on https://6715e2d3e4d93eddd99d0b7f--rill-ui.netlify.app