Skip to content

Commit f1f985e

Browse files
Merge branch 'main' into partner-catalog-fix
2 parents 951db33 + c142730 commit f1f985e

File tree

61 files changed

+895
-65
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+895
-65
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"optimize": "node ./scripts/optimize-assets.js",
2525
"optimize:all": "node ./scripts/optimize-all.js"
2626
},
27-
"packageManager": "pnpm@10.11.1",
27+
"packageManager": "pnpm@10.12.1",
2828
"dependencies": {
2929
"h3": "^1.14.0",
3030
"posthog-js": "^1.210.2",

pnpm-lock.yaml

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

src/app.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313
type="font/woff2"
1414
crossorigin
1515
/>
16-
1716
%sveltekit.head%
1817
</head>
19-
2018
<body class="dark group/body antialiased" data-sveltekit-preload-data="hover">
2119
<script>
2220
// Theme

src/hooks.server.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ const securityheaders: Handle = async ({ event, resolve }) => {
5454
'https://*.reo.dev',
5555
'https://plausible.io',
5656
'https://js.zi-scripts.com',
57-
'https://ws.zoominfo.com'
57+
'https://ws.zoominfo.com',
58+
'https://*.cookieyes.com',
59+
'https://cdn-cookieyes.com'
5860
]),
5961
'style-src': "'self' 'unsafe-inline'",
6062
'img-src': "'self' data: https:",
@@ -77,15 +79,18 @@ const securityheaders: Handle = async ({ event, resolve }) => {
7779
'https://js.zi-scripts.com',
7880
'https://aorta.clickagy.com',
7981
'https://hemsync.clickagy.com',
80-
'https://ws.zoominfo.com '
82+
'https://ws.zoominfo.com ',
83+
'https://*.cookieyes.com',
84+
'https://cdn-cookieyes.com'
8185
]),
8286
'frame-src': join([
8387
"'self'",
8488
'https://www.youtube.com',
8589
'https://status.appwrite.online',
8690
'https://www.youtube-nocookie.com',
8791
'https://player.vimeo.com',
88-
'https://hemsync.clickagy.com'
92+
'https://hemsync.clickagy.com',
93+
'https://cdn-cookieyes.com'
8994
])
9095
};
9196

src/lib/components/FooterNav.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@
9191
rel: 'noopener noreferrer'
9292
},
9393
{ label: 'Contact us', href: '/contact-us' },
94-
{ label: 'Assets', href: '/assets' }
94+
{ label: 'Assets', href: '/assets' },
95+
{ label: 'Security', href: '/docs/advanced/security' }
9596
]
9697
};
9798
</script>

src/lib/utils/console.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,33 @@ const BillingPlan = {
1717
SCALE: 'tier-2'
1818
} as const;
1919

20+
const ASCII_ART = `
21+
_ _ _
22+
/_\\ _ __ _ ____ ___ __(_) |_ ___
23+
//_\\\\| '_ \\| '_ \\ \\ /\\ / / '__| | __/ _ \\
24+
/ _ \\ |_) | |_) \\ V V /| | | | || __/
25+
\\_/ \\_/ .__/| .__/ \\_/\\_/ |_| |_|\\__\\___|
26+
|_| |_|
27+
`;
28+
29+
export function displayHiringMessage() {
30+
if (browser) {
31+
console.log('%c' + ASCII_ART, 'font-family: monospace; white-space: pre; color: #fd366e;');
32+
console.log(
33+
'%cWe are hiring!',
34+
'font-family: Aeonik Pro, -apple-system, BlinkMacSystemFont, sans-serif; font-size: 20px; font-weight: bold;'
35+
);
36+
console.log(
37+
'%cJoin us in building the open-source, all-in-one development platform',
38+
'font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; font-size: 14px;'
39+
);
40+
console.log(
41+
'%cCheck out our open positions at https://appwrite.io/careers',
42+
'font-family: monospace; color: #666;'
43+
);
44+
}
45+
}
46+
2047
export async function createSource(
2148
ref: string | null,
2249
referrer: string | null,

src/routes/+layout.svelte

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
import { saveReferrerAndUtmSource } from '$lib/utils/utm';
6060
import { Sprite } from '$lib/components/ui/icon/sprite';
6161
import { setTheme, ThemeProvider } from '$lib/providers/theme';
62+
import { displayHiringMessage } from '$lib/utils/console';
6263
6364
function applyTheme(theme: Theme) {
6465
const resolvedTheme = theme === 'system' ? getSystemTheme() : theme;
@@ -71,6 +72,7 @@
7172
const tracked = new Set();
7273
7374
onMount(() => {
75+
displayHiringMessage();
7476
saveReferrerAndUtmSource(page.url);
7577
7678
const initialTheme = page.route.id?.startsWith('/docs') ? getPreferredTheme() : 'dark';
@@ -146,6 +148,15 @@
146148
<svelte:window on:scroll={handleScroll} />
147149
<svelte:head>
148150
{#if !dev}
151+
<!-- Start cookieyes banner -->
152+
<script
153+
defer
154+
id="cookieyes"
155+
type="text/javascript"
156+
src="https://cdn-cookieyes.com/client_data/7d0de7a43cc518960906cf03/script.js"
157+
></script>
158+
<!-- End cookieyes banner -->
159+
149160
<!--suppress JSUnresolvedLibraryURL -->
150161
<script defer data-domain="appwrite.io" src="https://plausible.io/js/script.js"></script>
151162

src/routes/blog/post/appwrite-compared-to-supabase/+page.markdoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ Storage allows you to manage files in your project. It can store images, videos,
7676
- Appwrite offers an image manipulation API, including functionalities such as manipulating resolution, image reformatting, caching, and compression, in the free tier. Supabase offers image manipulation only in their paid tiers.
7777
- Supabase offers a CDN to serve assets via an edge network in their paid tiers.
7878

79+
{% call_to_action title="All-in-one development platform" description="Use built-in backend infrastructure and web hosting, all from a single place." point1="Start for free" point2="Open source" point3="Support for over 13 SDKs" point4="Managed cloud solution" cta="Start building for free" url="https://cloud.appwrite.io/" /%}
80+
7981
## Functions
8082

8183
Functions are "self-contained" modules of code that accomplish a specific task. BaaS platforms make it easier for you to extend the services by using functions with code snippets.

src/routes/blog/post/appwrite-vs-auth0-b2c/+page.markdoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ If you're migrating from another platform, Appwrite supports importing user acco
4545

4646
You can also move from [**Appwrite Cloud**](https://cloud.appwrite.io/) to a **self-hosted deployment** later, using the same SDKs and APIs. Your code doesn't change, just the endpoint. That kind of portability is usually locked behind enterprise agreements in other platforms.
4747

48+
{% call_to_action title="Get started with Appwrite Auth Pro" description="The most cost-effective authentication service for B2C applications." point1="Starting at $15 per month" point2="Resource-based pricing" point3="Up to 200,000 MAUs" point4="Dedicated email support" cta="Start building" url="https://cloud.appwrite.io/console/register?type=create&plan=tier-1" /%}
49+
4850
# What you get in practice
4951

5052
Here's how the two platforms compare on features that matter most for growing B2C apps:
@@ -83,4 +85,4 @@ With Appwrite, you get core auth features, generous limits, and the ability to s
8385

8486
- [Quickstart: Appwrite authentication](/docs/products/auth/quick-start)
8587
- [Video: Add Google auth in minutes](https://www.youtube.com/watch?v=tgO_ADSvY1I)
86-
- [Article: Password hashing algorithms in Appwrite](/blog/post/password-hashing-algorithms)
88+
- [Article: Password hashing algorithms in Appwrite](/blog/post/password-hashing-algorithms)

src/routes/blog/post/appwrite-vs-auth0/+page.markdoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ Choosing an open-source solution comes with several benefits:
5959
- **Extensible platform**: Auth0 offers customization through rules, hooks, and a wide range of SDKs and APIs. However, being a managed service, some aspects may not be as flexible as an open-source solution.
6060
- **Custom workflows**: Easily create custom authentication workflows and integrate with other services to meet your business needs.
6161

62+
{% call_to_action title="Secure login for your users" description="Appwrite Auth provides a complete open-source solution for you to authenticate your users." point1="You own your data" point2="Benefit from a complete backend" point3="30+ OAuth providers" point4="Built-in security and compliance" cta="Learn more" url="/products/auth" /%}
63+
6264
## Community and support
6365

6466
**Auth**:
@@ -93,6 +95,6 @@ Choosing an open-source solution comes with several benefits:
9395

9496
If you’d like to learn more about Appwrite, take a look at the resources below.
9597

96-
- [[Docs] Get started with authentication in Appwrite](https://appwrite.io/docs/products/auth/quick-start)
98+
- [[Docs] Get started with authentication in Appwrite](/docs/products/auth/quick-start)
9799
- [[Video] Set up Google auth in your app in 6 minutes](https://www.youtube.com/watch?v=tgO_ADSvY1I)
98-
- [[Article] Learn about password hashing algorithms](https://appwrite.io/blog/post/password-hashing-algorithms)
100+
- [[Article] Learn about password hashing algorithms](/blog/post/password-hashing-algorithms)

0 commit comments

Comments
 (0)