Skip to content

Commit 76782d0

Browse files
Merge branch 'main' into feat-add-cookie-banner
2 parents 9ef957a + 8724a98 commit 76782d0

File tree

9 files changed

+59
-48
lines changed

9 files changed

+59
-48
lines changed

src/lib/components/FooterNav.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
Products: [
3636
{ label: 'Auth', href: '/products/auth' },
3737
{ label: 'Databases', href: '/docs/products/databases' },
38+
{ label: 'Storage', href: '/products/storage' },
3839
{ label: 'Functions', href: '/products/functions' },
3940
{ label: 'Messaging', href: '/products/messaging' },
40-
{ label: 'Storage', href: '/products/storage' },
4141
{ label: 'Realtime', href: '/docs/apis/realtime' },
42-
{ label: 'Network', href: '/docs/products/network' },
43-
{ label: 'Hosting', href: '/docs/products/sites' }
42+
{ label: 'Hosting', href: '/docs/products/sites' },
43+
{ label: 'Network', href: '/docs/products/network' }
4444
],
4545
Learn: [
4646
{ label: 'Blog', href: '/blog' },

src/lib/components/ProductsSubmenu.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@
4343
description: 'Set up a full-functioning messaging service.',
4444
icon: '/images/icons/illustrated/dark/messaging.png'
4545
},
46-
{
47-
name: 'Sites',
48-
href: '/products/sites',
49-
description: 'The open-source Vercel alternative.',
50-
icon: '/images/icons/illustrated/dark/sites.png'
51-
},
5246
{
5347
name: 'Realtime',
5448
href: '/docs/apis/realtime',
5549
description: 'Subscribe and react to any event.',
5650
icon: '/images/icons/illustrated/dark/realtime.png'
51+
},
52+
{
53+
name: 'Sites',
54+
href: '/products/sites',
55+
description: 'The open-source Vercel alternative.',
56+
icon: '/images/icons/illustrated/dark/sites.png'
5757
}
5858
];
5959

src/lib/components/layout/navigation/menus/product-menu.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
name: 'Realtime',
3434
href: '/docs/apis/realtime',
3535
description: 'Subscribe and react to any event.'
36+
},
37+
{
38+
name: 'Sites',
39+
href: '/products/sites',
40+
description: 'The open-source Vercel alternative.'
3641
}
3742
];
3843
</script>

src/lib/components/layout/navigation/mobile-nav.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
name: 'Realtime',
3434
href: '/docs/apis/realtime',
3535
description: 'Subscribe and react to any event.'
36+
},
37+
{
38+
name: 'Sites',
39+
href: '/products',
40+
description: 'The open-source Vercel alternative.'
3641
}
3742
];
3843

src/lib/components/layout/site-footer.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@
3434
Products: [
3535
{ label: 'Auth', href: '/products/auth' },
3636
{ label: 'Databases', href: '/docs/products/databases' },
37+
{ label: 'Storage', href: '/products/storage' },
3738
{ label: 'Functions', href: '/products/functions' },
3839
{ label: 'Messaging', href: '/products/messaging' },
39-
{ label: 'Storage', href: '/products/storage' },
40-
{ label: 'Realtime', href: '/docs/apis/realtime' }
40+
{ label: 'Realtime', href: '/docs/apis/realtime' },
41+
{ label: 'Sites', href: '/products/sites' }
4142
],
4243
Learn: [
4344
{ label: 'Docs', href: '/docs' },

src/lib/components/product-pages/product-cards.svelte

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
11
<script lang="ts">
22
import { page } from '$app/state';
3-
43
const allProducts = {
5-
messaging: {
6-
title: 'Messaging',
7-
description: 'Use Appwrite messaging to send email, SMS, and push notifications.',
8-
icon: '/images/icons/illustrated/dark/messaging.png',
9-
url: '/products/messaging'
10-
},
114
auth: {
125
title: 'Auth',
136
description: 'Build secure authentication and manage your users.',
147
icon: '/images/icons/illustrated/dark/auth.png',
158
url: '/products/auth'
169
},
17-
functions: {
18-
title: 'Functions',
19-
description: ' Scale big and unlock limitless potential with Appwrite functions.',
20-
icon: '/images/icons/illustrated/dark/functions.png',
21-
url: '/products/functions'
22-
},
2310
databases: {
2411
title: 'Databases',
2512
description: 'Store and query structured data, ensuring scalable storage.',
@@ -32,17 +19,30 @@
3219
icon: '/images/icons/illustrated/dark/storage.png',
3320
url: '/products/storage'
3421
},
35-
sites: {
36-
title: 'Sites',
37-
description: 'The open-source Vercel alternative.',
38-
icon: '/images/icons/illustrated/dark/sites.png',
39-
url: '/products/sites'
22+
functions: {
23+
title: 'Functions',
24+
description: ' Scale big and unlock limitless potential with Appwrite functions.',
25+
icon: '/images/icons/illustrated/dark/functions.png',
26+
url: '/products/functions'
27+
},
28+
29+
messaging: {
30+
title: 'Messaging',
31+
description: 'Use Appwrite messaging to send email, SMS, and push notifications.',
32+
icon: '/images/icons/illustrated/dark/messaging.png',
33+
url: '/products/messaging'
4034
},
4135
realtime: {
4236
title: 'Realtime',
4337
description: 'Subscribe and react to any event using the Realtime API.',
4438
icon: '/images/icons/illustrated/dark/realtime.png',
4539
url: '/docs/realtime'
40+
},
41+
sites: {
42+
title: 'Sites',
43+
description: 'The open-source Vercel alternative.',
44+
icon: '/images/icons/illustrated/dark/sites.png',
45+
url: '/products/sites'
4646
}
4747
} as const;
4848

src/routes/(marketing)/(components)/bento/bento.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script>
1+
<script lang="ts">
22
import { classNames } from '$lib/utils/classnames';
33
import Auth from './(animations)/auth.svelte';
44
import Databases from './(animations)/databases.svelte';

src/routes/docs/Sidebar.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@
4848
icon: 'icon-database',
4949
isParent: true
5050
},
51+
{
52+
label: 'Storage',
53+
href: '/docs/products/storage',
54+
icon: 'icon-folder',
55+
isParent: true
56+
},
5157
{
5258
label: 'Functions',
5359
href: '/docs/products/functions',
@@ -67,12 +73,6 @@
6773
isParent: true,
6874
new: isNewUntil('19 Jul 2025')
6975
},
70-
{
71-
label: 'Storage',
72-
href: '/docs/products/storage',
73-
icon: 'icon-folder',
74-
isParent: true
75-
},
7676
{
7777
label: 'Network',
7878
href: '/docs/products/network',

src/routes/products/sites/(components)/integrate.svelte

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,44 +43,44 @@
4343
image: DatabasesSlide
4444
},
4545
{
46-
label: 'Functions',
47-
icon: Functions,
46+
label: 'Storage',
47+
icon: Storage,
4848
line: (
4949
isActive: boolean
5050
) => `<svg width="98" height="75" viewBox="0 0 98 75" fill="none" xmlns="http://www.w3.org/2000/svg">
5151
<path d="M0 74H35.3623C41.9897 74 47.3623 68.6274 47.3623 62V13C47.3623 6.37258 52.7349 0.999998 59.3623 0.999998H98" class="group-hover:stroke-white ${isActive && 'stroke-white'} group-focus-within:stroke-white transition-all stroke-smooth" stroke-dasharray="4 4"/>
5252
</svg>`,
53-
image: FunctionsSlide
53+
image: StorageSlide
5454
},
5555
{
56-
label: 'Storage',
57-
icon: Storage,
56+
label: 'Functions',
57+
icon: Functions,
5858
line: (
5959
isActive: boolean
6060
) => `<svg width="98" height="75" viewBox="0 0 98 75" fill="none" xmlns="http://www.w3.org/2000/svg">
6161
<path d="M98 1H62.6377C56.0103 1 50.6377 6.37258 50.6377 13V62C50.6377 68.6274 45.2651 74 38.6377 74H-9.53674e-07" class="group-hover:stroke-white ${isActive && 'stroke-white'} group-focus-within:stroke-white transition-all stroke-smooth" stroke-dasharray="4 4"/>
6262
</svg>`,
63-
image: StorageSlide
63+
image: FunctionsSlide
6464
},
6565
{
66-
label: 'Realtime',
67-
icon: Realtime,
66+
label: 'Messaging',
67+
icon: Messaging,
6868
line: (
6969
isActive: boolean
7070
) => `<svg width="98" height="2" viewBox="0 0 98 2" fill="none" xmlns="http://www.w3.org/2000/svg">
7171
<path d="M0 1L98 1.00001" class="group-hover:stroke-white group-focus-within:stroke-white ${isActive && 'stroke-white'} transition-all stroke-smooth" stroke-dasharray="4 4"/>
7272
</svg>`,
73-
image: RealtimeSlide
73+
image: MessagingSlide
7474
},
7575
{
76-
label: 'Messaging',
77-
icon: Messaging,
76+
label: 'Realtime',
77+
icon: Realtime,
7878
line: (
7979
isActive: boolean
8080
) => `<svg width="98" height="75" viewBox="0 0 98 75" fill="none" xmlns="http://www.w3.org/2000/svg">
8181
<path d="M98 74H62.6377C56.0103 74 50.6377 68.6274 50.6377 62V13C50.6377 6.37258 45.2651 0.999998 38.6377 0.999998H-9.53674e-07" class="group-hover:stroke-white ${isActive && 'stroke-white'} group-focus-within:stroke-white transition-all stroke-smooth" stroke-dasharray="4 4"/>
8282
</svg>`,
83-
image: MessagingSlide
83+
image: RealtimeSlide
8484
}
8585
];
8686

0 commit comments

Comments
 (0)