|
11 | 11 | Button,
|
12 | 12 | Badge
|
13 | 13 | } from '@appwrite.io/pink-svelte';
|
14 |
| - import { isSmallViewport, isTabletViewport } from '$lib/stores/viewport'; |
| 14 | + import { isSmallViewport } from '$lib/stores/viewport'; |
15 | 15 |
|
16 | 16 | const currentYear = new Date().getFullYear();
|
17 | 17 | </script>
|
|
23 | 23 | direction="row"
|
24 | 24 | alignItems="center"
|
25 | 25 | gap={$isSmallViewport ? 'm' : 'l'}
|
26 |
| - inline={$isTabletViewport} |
27 | 26 | justifyContent="flex-start">
|
28 | 27 | <Typography.Caption variant="400">
|
29 | 28 | ⓒ {currentYear} Appwrite. All rights reserved.
|
|
58 | 57 | direction="row"
|
59 | 58 | justifyContent={$isSmallViewport ? 'flex-start' : 'flex-end'}
|
60 | 59 | alignItems="center"
|
61 |
| - wrap="wrap"> |
| 60 | + wrap={$isSmallViewport ? 'wrap' : 'normal'}> |
62 | 61 | {#if !$isSmallViewport}
|
63 | 62 | {#if isCloud}
|
64 |
| - <Badge size="xs" variant="secondary" content="BETA" /> |
| 63 | + <Badge |
| 64 | + size="xs" |
| 65 | + type="success" |
| 66 | + variant="secondary" |
| 67 | + content="Generally Available" |
| 68 | + style="white-space: nowrap;" /> |
65 | 69 | <Icon size="s" icon={IconCloud} />
|
66 | 70 | {/if}
|
67 | 71 |
|
|
72 | 76 | href="https://github.com/appwrite/appwrite/releases"
|
73 | 77 | aria-label="Appwrite releases on Github"
|
74 | 78 | target="_blank"
|
75 |
| - rel="noreferrer"> |
| 79 | + rel="noreferrer" |
| 80 | + style="white-space: nowrap;"> |
76 | 81 | Version {$version}
|
77 | 82 | </Link.Anchor>
|
78 | 83 | <span class="divider-wrapper">
|
|
135 | 140 | href="https://github.com/appwrite/appwrite/releases"
|
136 | 141 | aria-label="Appwrite releases on Github"
|
137 | 142 | target="_blank"
|
138 |
| - rel="noreferrer"> |
| 143 | + rel="noreferrer" |
| 144 | + style="white-space: nowrap;"> |
139 | 145 | Version {$version}
|
140 | 146 | </Link.Anchor>
|
141 | 147 | {#if isCloud}
|
142 | 148 | <Icon size="s" icon={IconCloud} />
|
143 |
| - <Badge size="xs" variant="secondary" content="BETA" /> |
| 149 | + <Badge |
| 150 | + size="xs" |
| 151 | + type="success" |
| 152 | + variant="secondary" |
| 153 | + content="Generally Available" |
| 154 | + style="white-space: nowrap;" /> |
144 | 155 | {/if}
|
145 | 156 | {/if}
|
146 | 157 | {/if}
|
|
167 | 178 | margin-inline-end: 2rem;
|
168 | 179 | }
|
169 | 180 | }
|
170 |
| - .extra-margin { |
171 |
| - margin-block-start: var(--space-2, 4px); |
172 |
| - } |
173 | 181 | </style>
|
0 commit comments