Skip to content

Commit 6ceada0

Browse files
committed
Add card for aside
1 parent bbc9475 commit 6ceada0

File tree

1 file changed

+26
-24
lines changed

1 file changed

+26
-24
lines changed

src/routes/(console)/supportWizard.svelte

+26-24
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Wizard } from '$lib/layout';
3-
import { Icon, Layout, Tag, Typography, Button } from '@appwrite.io/pink-svelte';
3+
import { Icon, Layout, Tag, Typography, Button, Card } from '@appwrite.io/pink-svelte';
44
import { supportData, isSupportOnline } from './wizard/support/store';
55
import { onMount } from 'svelte';
66
import { sdk } from '$lib/stores/sdk';
@@ -163,29 +163,31 @@
163163
</Form>
164164

165165
<svelte:fragment slot="aside">
166-
<Layout.Stack gap="xl">
167-
<Typography.Title size="s">Contact the Appwrite Team</Typography.Title>
168-
<Typography.Text
169-
>If you found a bug or have questions, please reach out to the Appwrite team. We try
170-
to respond to all messages within our office hours.</Typography.Text>
171-
<Layout.Stack direction="row" gap="s">
172-
<Typography.Text>Available:</Typography.Text>
173-
<Typography.Text variant="m-500"
174-
>{supportWeekDays}, {supportTimings}</Typography.Text>
175-
</Layout.Stack>
176-
<Layout.Stack direction="row" gap="s">
177-
<Typography.Text>Currently:</Typography.Text>
178-
{#if isSupportOnline()}
179-
<Layout.Stack direction="row" gap="xxxs" alignItems="center">
180-
<Icon icon={IconCheckCircle} color="--fgcolor-success" />
181-
<Typography.Text color="--fgcolor-success">Online</Typography.Text>
182-
</Layout.Stack>{:else}
183-
<Layout.Stack direction="row" gap="xxxs" alignItems="center">
184-
<Icon icon={IconXCircle} />
185-
<Typography.Text>Offline</Typography.Text>
186-
</Layout.Stack>
187-
{/if}
166+
<Card.Base padding="m">
167+
<Layout.Stack gap="xl">
168+
<Typography.Title size="s">Contact the Appwrite Team</Typography.Title>
169+
<Typography.Text
170+
>If you found a bug or have questions, please reach out to the Appwrite team. We
171+
try to respond to all messages within our office hours.</Typography.Text>
172+
<Layout.Stack direction="row" gap="s">
173+
<Typography.Text>Available:</Typography.Text>
174+
<Typography.Text variant="m-500"
175+
>{supportWeekDays}, {supportTimings}</Typography.Text>
176+
</Layout.Stack>
177+
<Layout.Stack direction="row" gap="s">
178+
<Typography.Text>Currently:</Typography.Text>
179+
{#if isSupportOnline()}
180+
<Layout.Stack direction="row" gap="xxxs" alignItems="center">
181+
<Icon icon={IconCheckCircle} color="--fgcolor-success" />
182+
<Typography.Text color="--fgcolor-success">Online</Typography.Text>
183+
</Layout.Stack>{:else}
184+
<Layout.Stack direction="row" gap="xxxs" alignItems="center">
185+
<Icon icon={IconXCircle} />
186+
<Typography.Text>Offline</Typography.Text>
187+
</Layout.Stack>
188+
{/if}
189+
</Layout.Stack>
188190
</Layout.Stack>
189-
</Layout.Stack>
191+
</Card.Base>
190192
</svelte:fragment>
191193
</Wizard>

0 commit comments

Comments
 (0)