From 5bb53687f73c0b82191efd45bc76cb20a3fbf79a Mon Sep 17 00:00:00 2001 From: Arman Date: Tue, 28 Jan 2025 18:49:01 +0100 Subject: [PATCH] feat: add step --- .../sites/create-site/finish/+page.svelte | 158 ++++++++++-------- 1 file changed, 84 insertions(+), 74 deletions(-) diff --git a/src/routes/(console)/project-[project]/sites/create-site/finish/+page.svelte b/src/routes/(console)/project-[project]/sites/create-site/finish/+page.svelte index 2412fd600..35872f579 100644 --- a/src/routes/(console)/project-[project]/sites/create-site/finish/+page.svelte +++ b/src/routes/(console)/project-[project]/sites/create-site/finish/+page.svelte @@ -3,7 +3,7 @@ import { page } from '$app/stores'; import Card from '$lib/components/card.svelte'; import { Wizard } from '$lib/layout'; - import { Layout, Typography, Icon, Lights } from '@appwrite.io/pink-svelte'; + import { Layout, Typography, Icon, Lights, Step } from '@appwrite.io/pink-svelte'; import { IconArrowSmRight } from '@appwrite.io/pink-icons-svelte'; import Check from './(components)/check.svelte'; import type { PageData } from './$types'; @@ -36,7 +36,7 @@ href={`${base}/project-${$page.params.project}/sites/site-${data.site.$id}`}>
- + @@ -50,80 +50,90 @@ - {#if !data.deployment.providerCommitHash} - - {#if !data.site.installationId && !data.site.providerRepositoryId} - (showConnectRepositry = true)}> - - - Connect to repository - + + + {#if !data.deployment.providerCommitHash} + + {#if !data.site.installationId && !data.site.providerRepositoryId} + (showConnectRepositry = true)}> + + + Connect to repository + + + + Connect to a new repository or an existing one. + + + + {/if} + + + + Add domain + + + + Connect to an existing domain or purchase a new one. + - - Connect to a new repository or an existing one. - - - + + (showInviteCollaborator = true)}> + + + Add collaborators + + + + Share your progress and start collaborating with your team. + + + + (showOpenOnMobile = true)}> + + + Open on mobile + + + + Open the preview of your site on any mobile or tablet + device. + + + + {/if} - - - - Add domain - - - - Connect to an existing domain or purchase a new one. - - - - (showInviteCollaborator = true)}> - - - Add collaborators - - - - Share your progress and start collaborating with your team. - - - - (showOpenOnMobile = true)}> - - - Open on mobile - - - - Open the preview of your site on any mobile or tablet device. - - - - - {/if} + +