|
1 | 1 | <script lang="ts">
|
2 | 2 | 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'; |
4 | 4 | import { supportData, isSupportOnline } from './wizard/support/store';
|
5 | 5 | import { onMount } from 'svelte';
|
6 | 6 | import { sdk } from '$lib/stores/sdk';
|
|
163 | 163 | </Form>
|
164 | 164 |
|
165 | 165 | <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> |
188 | 190 | </Layout.Stack>
|
189 |
| - </Layout.Stack> |
| 191 | + </Card.Base> |
190 | 192 | </svelte:fragment>
|
191 | 193 | </Wizard>
|
0 commit comments