Skip to content

Commit c70e115

Browse files
committed
fix: updated the badge to Generally Available and fixed wrapping errors
1 parent cba8d2c commit c70e115

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

src/lib/layout/footer.svelte

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Button,
1212
Badge
1313
} from '@appwrite.io/pink-svelte';
14-
import { isSmallViewport, isTabletViewport } from '$lib/stores/viewport';
14+
import { isSmallViewport } from '$lib/stores/viewport';
1515
1616
const currentYear = new Date().getFullYear();
1717
</script>
@@ -23,7 +23,6 @@
2323
direction="row"
2424
alignItems="center"
2525
gap={$isSmallViewport ? 'm' : 'l'}
26-
inline={$isTabletViewport}
2726
justifyContent="flex-start">
2827
<Typography.Caption variant="400">
2928
ⓒ {currentYear} Appwrite. All rights reserved.
@@ -58,10 +57,15 @@
5857
direction="row"
5958
justifyContent={$isSmallViewport ? 'flex-start' : 'flex-end'}
6059
alignItems="center"
61-
wrap="wrap">
60+
wrap={$isSmallViewport ? 'wrap' : 'normal'}>
6261
{#if !$isSmallViewport}
6362
{#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;" />
6569
<Icon size="s" icon={IconCloud} />
6670
{/if}
6771

@@ -72,7 +76,8 @@
7276
href="https://github.com/appwrite/appwrite/releases"
7377
aria-label="Appwrite releases on Github"
7478
target="_blank"
75-
rel="noreferrer">
79+
rel="noreferrer"
80+
style="white-space: nowrap;">
7681
Version {$version}
7782
</Link.Anchor>
7883
<span class="divider-wrapper">
@@ -135,12 +140,18 @@
135140
href="https://github.com/appwrite/appwrite/releases"
136141
aria-label="Appwrite releases on Github"
137142
target="_blank"
138-
rel="noreferrer">
143+
rel="noreferrer"
144+
style="white-space: nowrap;">
139145
Version {$version}
140146
</Link.Anchor>
141147
{#if isCloud}
142148
<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;" />
144155
{/if}
145156
{/if}
146157
{/if}
@@ -167,7 +178,4 @@
167178
margin-inline-end: 2rem;
168179
}
169180
}
170-
.extra-margin {
171-
margin-block-start: var(--space-2, 4px);
172-
}
173181
</style>

0 commit comments

Comments
 (0)