Skip to content

Commit 36236db

Browse files
authored
Merge pull request #3160 from appwrite/refactor/remove-cloud-card-route
Remove the Cloud public beta card route
2 parents 9e17b05 + 8c5d6ee commit 36236db

12 files changed

Lines changed: 8 additions & 1019 deletions

File tree

bun.lock

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
"nanotar": "^0.3.0",
5656
"pretty-bytes": "^6.1.1",
5757
"remarkable": "^2.0.1",
58-
"svelte-confetti": "^1.4.0",
5958
"three": "^0.181.2",
6059
"tippy.js": "^6.3.7"
6160
},

src/lib/helpers/campaign.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { getApiEndpoint } from '$lib/stores/sdk';
2+
3+
export function getCampaignImageUrl(image: string) {
4+
const endpoint = getApiEndpoint();
5+
const url = new URL(image, endpoint);
6+
return url.toString();
7+
}

src/lib/layout/unauthenticated.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import LoginLight from '$lib/images/login/login-light-mode.png';
88
import { app } from '$lib/stores/app';
99
import { Typography, Layout, Avatar } from '@appwrite.io/pink-svelte';
10-
import { getCampaignImageUrl } from '$routes/(public)/card/helpers';
10+
import { getCampaignImageUrl } from '$lib/helpers/campaign';
1111
import { isSmallViewport } from '$lib/stores/viewport';
1212
import type { Models } from '@appwrite.io/console';
1313

src/lib/stores/windowFocus.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/routes/(console)/+layout.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@
331331
<CommandCenter />
332332
<Shell
333333
showSideNavigation={page.url.pathname !== '/' &&
334-
!page.url.pathname.includes(base + '/card') &&
335334
!page.url.pathname.includes(base + '/onboarding')}
336335
showHeader={!page.url.pathname.includes(base + '/onboarding/create-project')}
337336
showFooter={!page.url.pathname.includes(base + '/onboarding/create-project')}

src/routes/(public)/card/+layout.svelte

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/routes/(public)/card/+page.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)