diff --git a/docker/production.yml b/docker/production.yml index 5a61b21109..98a1387934 100644 --- a/docker/production.yml +++ b/docker/production.yml @@ -49,7 +49,7 @@ services: networks: - cloud deploy: - mode: global + replicas: 1 <<: *x-update-config placement: constraints: @@ -63,7 +63,7 @@ services: deploy: <<: *x-update-config mode: replicated - replicas: 6 + replicas: 5 placement: max_replicas_per_node: 2 constraints: diff --git a/docker/stage.yml b/docker/stage.yml index 886c5d4fb8..5d2be7ef0d 100644 --- a/docker/stage.yml +++ b/docker/stage.yml @@ -50,7 +50,7 @@ services: networks: - cloud deploy: - mode: global + replicas: 1 <<: *x-update-config placement: constraints: @@ -64,7 +64,7 @@ services: deploy: <<: *x-update-config mode: replicated - replicas: 6 + replicas: 5 placement: max_replicas_per_node: 2 constraints: diff --git a/src/lib/utils/metadata.ts b/src/lib/utils/metadata.ts index 3964dd5605..7530225a86 100644 --- a/src/lib/utils/metadata.ts +++ b/src/lib/utils/metadata.ts @@ -2,6 +2,7 @@ import type { AuthorData } from '$markdoc/layouts/Author.svelte'; import type { PostsData } from '$markdoc/layouts/Post.svelte'; export const DEFAULT_HOST = 'https://website-appwrite.vercel.app'; +export const DEFAULT_DESCRIPTION = 'Appwrite is an open-source platform for building applications at any scale, using your preferred programming languages and tools.'; export function buildOpenGraphImage(title: string, description: string): string { return `https://og.appwrite.global/image.png?title=${encodeURIComponent( title diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 3937cb0dec..1c19da999c 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -9,7 +9,7 @@ import Products from '$lib/animations/Products/Products.svelte'; import ProductsMobile from '$lib/animations/Products/ProductsMobile.svelte'; import Tooltip from '$lib/components/Tooltip.svelte'; - import { DEFAULT_HOST } from '$lib/utils/metadata'; + import { DEFAULT_DESCRIPTION, DEFAULT_HOST } from '$lib/utils/metadata'; import { isMobileNavOpen } from '$lib/layouts/Main.svelte'; const platforms: Array<{ @@ -65,7 +65,7 @@ ]; const title = 'Appwrite - Build like a team of hundreds'; - const description = ''; + const description = DEFAULT_DESCRIPTION; const ogImage = `${DEFAULT_HOST}/images/open-graph/website.png`; diff --git a/src/routes/assets/+page.svelte b/src/routes/assets/+page.svelte index 5cc8628be5..c71db131e5 100644 --- a/src/routes/assets/+page.svelte +++ b/src/routes/assets/+page.svelte @@ -1,12 +1,12 @@ diff --git a/src/routes/blog/+page.svelte b/src/routes/blog/+page.svelte index 34797f64d5..c5cb16e06d 100644 --- a/src/routes/blog/+page.svelte +++ b/src/routes/blog/+page.svelte @@ -2,14 +2,14 @@ import { Main } from '$lib/layouts'; import { MainFooter, FooterNav, Article } from '$lib/components'; import { TITLE_SUFFIX } from '$routes/titles.js'; - import { DEFAULT_HOST } from '$lib/utils/metadata'; + import { DEFAULT_DESCRIPTION, DEFAULT_HOST } from '$lib/utils/metadata'; export let data; const featured = data.posts.find((post) => post.featured); const title = 'Blog' + TITLE_SUFFIX; - const description = ''; + const description = DEFAULT_DESCRIPTION; const ogImage = DEFAULT_HOST + '/images/open-graph/blog.png'; diff --git a/src/routes/blog/author/sara-kaandorp/+page.markdoc b/src/routes/blog/author/sara-kaandorp/+page.markdoc index dc5c43e417..9dc4b6bac4 100644 --- a/src/routes/blog/author/sara-kaandorp/+page.markdoc +++ b/src/routes/blog/author/sara-kaandorp/+page.markdoc @@ -6,6 +6,6 @@ role: Design lead bio: Leading Appwrite's product and visual design teams. avatar: /images/avatars/sara.png twitter: https://twitter.com/sara_k_48 -github: https://github.com/sarakaandorp +github: https://github.com/sara-k-48 linkedin: https://www.linkedin.com/in/sara-k-78468a116/ --- \ No newline at end of file diff --git a/src/routes/community/+page.svelte b/src/routes/community/+page.svelte index d6af1ddd32..eeaf2f7bb5 100644 --- a/src/routes/community/+page.svelte +++ b/src/routes/community/+page.svelte @@ -5,11 +5,11 @@ import PreFooter from '$lib/components/PreFooter.svelte'; import { Carousel } from '$lib/components'; import { TITLE_SUFFIX } from '$routes/titles'; - import { DEFAULT_HOST } from '$lib/utils/metadata'; + import { DEFAULT_DESCRIPTION, DEFAULT_HOST } from '$lib/utils/metadata'; import FloatingHeads from '$lib/components/FloatingHeads.svelte'; const title = 'Community' + TITLE_SUFFIX; - const description = ''; + const description = DEFAULT_DESCRIPTION; const ogImage = DEFAULT_HOST + '/images/open-graph/website.png'; diff --git a/src/routes/company/+page.svelte b/src/routes/company/+page.svelte index 271dd79d18..783126987d 100644 --- a/src/routes/company/+page.svelte +++ b/src/routes/company/+page.svelte @@ -3,10 +3,10 @@ import MainFooter from '$lib/components/MainFooter.svelte'; import FooterNav from '$lib/components/FooterNav.svelte'; import { TITLE_SUFFIX } from '$routes/titles'; - import { DEFAULT_HOST } from '$lib/utils/metadata'; + import { DEFAULT_DESCRIPTION, DEFAULT_HOST } from '$lib/utils/metadata'; const title = 'Company' + TITLE_SUFFIX; - const description = ''; + const description = DEFAULT_DESCRIPTION; const ogImage = DEFAULT_HOST + '/images/open-graph/website.png'; diff --git a/src/routes/contact-us/+page.svelte b/src/routes/contact-us/+page.svelte index 709d4576a0..27b1d768dd 100644 --- a/src/routes/contact-us/+page.svelte +++ b/src/routes/contact-us/+page.svelte @@ -1,5 +1,5 @@ diff --git a/src/routes/cookies/+page.svelte b/src/routes/cookies/+page.svelte index 024e22ccdf..26d88575aa 100644 --- a/src/routes/cookies/+page.svelte +++ b/src/routes/cookies/+page.svelte @@ -1,12 +1,12 @@ @@ -196,7 +196,7 @@

We use in our site - https://appwrite.io/ ("SiteAppwrite (https://appwrite.io/) ("Site") cookies and similar files or technologies to automatically collect and store information about your computer, device, and Site usage, in order to improve their performance and enhance your user experience. We use the general term "cookies" @@ -215,7 +215,7 @@ In this Cookies Policy, we use the term Appwrite (and "we", "us" and "our") to refer to Appwrite Code Ltd. Our Privacy Policy is available at https://appwrite.io/policy/privacyAppwrite Privacy Policy (https://appwrite.io/policy/privacy).

diff --git a/src/routes/docs/+page.svelte b/src/routes/docs/+page.svelte index 970a3f002b..8c1b04eaeb 100644 --- a/src/routes/docs/+page.svelte +++ b/src/routes/docs/+page.svelte @@ -5,11 +5,11 @@ import Docs from '$lib/layouts/Docs.svelte'; import MainFooter from '../../lib/components/MainFooter.svelte'; import Sidebar from './Sidebar.svelte'; - import { DEFAULT_HOST } from '$lib/utils/metadata'; + import { DEFAULT_DESCRIPTION, DEFAULT_HOST } from '$lib/utils/metadata'; import { TITLE_SUFFIX } from '$routes/titles'; const title = 'Docs' + TITLE_SUFFIX; - const description = ''; + const description = DEFAULT_DESCRIPTION; const ogImage = DEFAULT_HOST + '/images/open-graph/docs.png'; diff --git a/src/routes/docs/products/databases/permissions/+page.markdoc b/src/routes/docs/products/databases/permissions/+page.markdoc index de20e0acb5..9f0c41092a 100644 --- a/src/routes/docs/products/databases/permissions/+page.markdoc +++ b/src/routes/docs/products/databases/permissions/+page.markdoc @@ -1,6 +1,6 @@ --- layout: article -title: Permissions +title: Database Permissions description: Enhance data security and access control with Appwrite Database Permissions. Learn how to set permissions and access rules for your database collections --- diff --git a/src/routes/docs/products/storage/permissions/+page.markdoc b/src/routes/docs/products/storage/permissions/+page.markdoc index 2e6ebd44cb..e77b4ebf2c 100644 --- a/src/routes/docs/products/storage/permissions/+page.markdoc +++ b/src/routes/docs/products/storage/permissions/+page.markdoc @@ -1,6 +1,6 @@ --- layout: article -title: Permissions +title: Storage Permissions description: Enhance data security and control with Appwrite Storage Permissions. Learn how to set access rules, permissions, and restrictions for your stored files. --- diff --git a/src/routes/docs/quick-starts/angular/+page.markdoc b/src/routes/docs/quick-starts/angular/+page.markdoc index b012753545..adb9d348e0 100644 --- a/src/routes/docs/quick-starts/angular/+page.markdoc +++ b/src/routes/docs/quick-starts/angular/+page.markdoc @@ -163,5 +163,5 @@ export class AppComponent { {% /section %} {% section #step-6 step=6 title="All set" %} -Run your project with `ng serve --port 3000` and open [http://localhost:3000](http://localhost:3000) in your browser. +Run your project with `ng serve --port 3000` and open [Localhost on Port 3000](http://localhost:3000) in your browser. {% /section %} \ No newline at end of file diff --git a/src/routes/docs/quick-starts/nextjs/+page.markdoc b/src/routes/docs/quick-starts/nextjs/+page.markdoc index 831d966178..9ab35e07b9 100644 --- a/src/routes/docs/quick-starts/nextjs/+page.markdoc +++ b/src/routes/docs/quick-starts/nextjs/+page.markdoc @@ -149,7 +149,7 @@ export default LoginPage; {% /section %} {% section #step-6 step=6 title="All set" %} -Run your project with `npm run dev` and open [http://localhost:3000](http://localhost:3000) in your browser. +Run your project with `npm run dev` and open [Localhost on Port 3000](http://localhost:3000) in your browser. Don't forget to add some CSS to suit your style. {% /section %} \ No newline at end of file diff --git a/src/routes/docs/quick-starts/nuxt/+page.markdoc b/src/routes/docs/quick-starts/nuxt/+page.markdoc index e0a9c0bb51..102e8db5eb 100644 --- a/src/routes/docs/quick-starts/nuxt/+page.markdoc +++ b/src/routes/docs/quick-starts/nuxt/+page.markdoc @@ -127,5 +127,5 @@ const logout = async () => { {% /section %} {% section #step-6 step=6 title="Checkout what you've built" %} -Run your project with `npm run dev -- --open --port 3000` and open [http://localhost:3000](http://localhost:3000) in your browser. +Run your project with `npm run dev -- --open --port 3000` and open [Localhost on Port 3000](http://localhost:3000) in your browser. {% /section %} diff --git a/src/routes/docs/quick-starts/react/+page.markdoc b/src/routes/docs/quick-starts/react/+page.markdoc index b1a9551a10..cc63d125a3 100644 --- a/src/routes/docs/quick-starts/react/+page.markdoc +++ b/src/routes/docs/quick-starts/react/+page.markdoc @@ -133,5 +133,5 @@ export default App; {% /section %} {% section #step-6 step=6 title="All set" %} -Run your project with `npm run dev -- --open --port 3000` and open [http://localhost:3000](http://localhost:3000) in your browser. +Run your project with `npm run dev -- --open --port 3000` and open [Localhost on Port 3000](http://localhost:3000) in your browser. {% /section %} \ No newline at end of file diff --git a/src/routes/docs/quick-starts/sveltekit/+page.markdoc b/src/routes/docs/quick-starts/sveltekit/+page.markdoc index 8570d48e7d..5f7a23fedb 100644 --- a/src/routes/docs/quick-starts/sveltekit/+page.markdoc +++ b/src/routes/docs/quick-starts/sveltekit/+page.markdoc @@ -117,7 +117,7 @@ Create a new file `src/routes/index.svelte` and add the following code to it. {% /section %} {% section #step-6 step=6 title="All set" %} -Run your project with `npm run dev -- --open --port 3000` and open [http://localhost:3000](http://localhost:3000) in your browser. +Run your project with `npm run dev -- --open --port 3000` and open [Localhost on Port 3000](http://localhost:3000) in your browser. {% /section %} diff --git a/src/routes/docs/quick-starts/vue/+page.markdoc b/src/routes/docs/quick-starts/vue/+page.markdoc index e986e536fb..66b2e01804 100644 --- a/src/routes/docs/quick-starts/vue/+page.markdoc +++ b/src/routes/docs/quick-starts/vue/+page.markdoc @@ -125,5 +125,5 @@ const logout = async () => { {% /section %} {% section #step-6 step=6 title="All set" %} -Run your project with `npm run dev -- --open --port 3000` and open [http://localhost:3000](http://localhost:3000) in your browser. +Run your project with `npm run dev -- --open --port 3000` and open [Localhost on Port 3000](http://localhost:3000) in your browser. {% /section %} diff --git a/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte b/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte index 7dd5fe5831..0b8d941000 100644 --- a/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte +++ b/src/routes/docs/references/[version]/[platform]/[service]/+page.svelte @@ -16,7 +16,7 @@ } from '$lib/utils/references'; import type { LayoutContext } from '$markdoc/layouts/Article.svelte'; import { Fence, Heading } from '$markdoc/nodes/_Module.svelte'; - import { DOCS_TITLE_SUFFIX } from '$routes/titles.js'; + import { API_REFERENCE_TITLE_SUFFIX } from '$routes/titles.js'; import { getContext, onMount, setContext } from 'svelte'; import { writable } from 'svelte/store'; @@ -66,7 +66,7 @@ $: platform = $page.params.platform as Platform; $: platformType = platform.startsWith('client-') ? 'CLIENT' : 'SERVER'; $: serviceName = serviceMap[data.service?.name]; - $: title = serviceName + DOCS_TITLE_SUFFIX; + $: title = serviceName + API_REFERENCE_TITLE_SUFFIX; $: description = data.service?.description; $: ogImage = DEFAULT_HOST + '/images/open-graph/docs.png'; diff --git a/src/routes/docs/tutorials/+page.svelte b/src/routes/docs/tutorials/+page.svelte index 98da425054..8306de8aff 100644 --- a/src/routes/docs/tutorials/+page.svelte +++ b/src/routes/docs/tutorials/+page.svelte @@ -1,10 +1,10 @@ diff --git a/src/routes/heroes/+page.svelte b/src/routes/heroes/+page.svelte index 6322bf7d20..6fc130c4a0 100644 --- a/src/routes/heroes/+page.svelte +++ b/src/routes/heroes/+page.svelte @@ -1,11 +1,11 @@ diff --git a/src/routes/pricing/+page.svelte b/src/routes/pricing/+page.svelte index 127eb7fcc6..f3393080a4 100644 --- a/src/routes/pricing/+page.svelte +++ b/src/routes/pricing/+page.svelte @@ -1,6 +1,6 @@ diff --git a/src/routes/privacy/+page.svelte b/src/routes/privacy/+page.svelte index 54408ac1bf..c312cb1407 100644 --- a/src/routes/privacy/+page.svelte +++ b/src/routes/privacy/+page.svelte @@ -1,5 +1,5 @@ @@ -311,8 +311,10 @@ For more information, please read our cookies policy https://appwrite.io/policy/cookies + Appwrite Cookies Policy (https://appwrite.io/policy/cookies) + @@ -1231,18 +1233,21 @@ href="https://marketingplatform.google.com/about/analytics/terms/us/" target="_blank" > - https://marketingplatform.google.com/about/analytics/terms/us/, and the Google Privacy Policy, available at - https://www.google.com/policies/privacy/. You may learn more about how Google collects and processes data specifically in connection with Google Analytics at - https://www.google.com/policies/privacy/partners/. You may prevent your data from being used by Google Analytics by downloading and installing the Google Analytics Opt-out Browser Add-on, available at - https://tools.google.com/dlpage/gaoptout/.
  • @@ -1251,7 +1256,7 @@ activity. For more information on the privacy practices of Orbit, please visit the Orbit Privacy & Terms web page: https://orbit.love/privacy-policy/Orbit Privacy Policy (https://orbit.love/privacy-policy/).
  • @@ -1260,9 +1265,9 @@ diagnose, fix, and optimize the performance of the Website. Sentry's ability to use and share information collected by Sentry is regulated by their terms of service, available at - https://sentry.io/terms/, and + Sentry Terms of Service (https://sentry.io/terms/), and their Privacy Policy available at - https://sentry.io/privacy/. + Sentry Privacy Policy (https://sentry.io/privacy/).
  • Mixpanel @@ -1272,11 +1277,11 @@ the Website and our products. Mixpanel’s ability to use and share information about your visits is restricted by the Terms of Service, available at https://mixpanel.com/legal/terms-of-useMixpanel Terms of Use (https://mixpanel.com/legal/terms-of-use) and the Mixpanel Privacy Policy, available at https://mixpanel.com/legal/privacy-policyMixpanel Privacy Policy (https://mixpanel.com/legal/privacy-policy).
  • diff --git a/src/routes/support/+page.svelte b/src/routes/support/+page.svelte index 881bed59f7..50f1eb1a06 100644 --- a/src/routes/support/+page.svelte +++ b/src/routes/support/+page.svelte @@ -1,14 +1,41 @@ + + + {title} + + + + + + + + + + + + + +
    +
    +

    Support

    +
    +
    diff --git a/src/routes/terms/+page.svelte b/src/routes/terms/+page.svelte index 881bed59f7..7b0e70a1b1 100644 --- a/src/routes/terms/+page.svelte +++ b/src/routes/terms/+page.svelte @@ -1,14 +1,41 @@ + + + {title} + + + + + + + + + + + + + +
    +
    +

    Terms and Conditions

    +
    +
    diff --git a/src/routes/titles.ts b/src/routes/titles.ts index 39769a177e..66920f6ba9 100644 --- a/src/routes/titles.ts +++ b/src/routes/titles.ts @@ -1,3 +1,4 @@ export const TITLE_SUFFIX = ' - Appwrite'; export const DOCS_TITLE_SUFFIX = ' - Docs' + TITLE_SUFFIX; +export const API_REFERENCE_TITLE_SUFFIX = ' API Reference' + DOCS_TITLE_SUFFIX; export const BLOG_TITLE_SUFFIX = ' - Blog' + TITLE_SUFFIX; diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000000..ef9d9f6edd --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,3 @@ +# robotstxt.org/ + +User-agent: * \ No newline at end of file