diff --git a/.env.example b/.env.example
index 6fcc1b010f..291e856ae2 100644
--- a/.env.example
+++ b/.env.example
@@ -5,6 +5,7 @@ PUBLIC_APPWRITE_FN_TLDR_ID=
PUBLIC_APPWRITE_ENDPOINT=
PUBLIC_APPWRITE_PROJECT_ID=
PUBLIC_APPWRITE_PROJECT_INIT_ID=
+PUBLIC_GROWTH_ENDPOINT=
APPWRITE_DB_INIT_ID=
APPWRITE_COL_INIT_ID=
APPWRITE_API_KEY_INIT=
diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml
index 0764aaeb1c..963350ddfa 100644
--- a/.github/workflows/production.yml
+++ b/.github/workflows/production.yml
@@ -37,6 +37,7 @@ jobs:
"PUBLIC_APPWRITE_COL_MESSAGES_ID=${{ vars.PUBLIC_APPWRITE_COL_MESSAGES_ID }}"
"PUBLIC_APPWRITE_FN_TLDR_ID=${{ vars.PUBLIC_APPWRITE_FN_TLDR_ID }}"
"PUBLIC_APPWRITE_PROJECT_INIT_ID=${{ vars.PUBLIC_APPWRITE_PROJECT_INIT_ID }}"
+ "PUBLIC_GROWTH_ENDPOINT=${{ vars.PUBLIC_GROWTH_ENDPOINT }}"
"APPWRITE_DB_INIT_ID=${{ secrets.APPWRITE_DB_INIT_ID }}"
"APPWRITE_COL_INIT_ID=${{ secrets.APPWRITE_COL_INIT_ID }}"
"APPWRITE_API_KEY_INIT=${{ secrets.APPWRITE_API_KEY_INIT }}"
diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml
index 6752a1cf8b..13f7fe202f 100644
--- a/.github/workflows/staging.yml
+++ b/.github/workflows/staging.yml
@@ -38,6 +38,7 @@ jobs:
"PUBLIC_APPWRITE_COL_MESSAGES_ID=${{ vars.PUBLIC_APPWRITE_COL_MESSAGES_ID }}"
"PUBLIC_APPWRITE_FN_TLDR_ID=${{ vars.PUBLIC_APPWRITE_FN_TLDR_ID }}"
"PUBLIC_APPWRITE_PROJECT_INIT_ID=${{ vars.PUBLIC_APPWRITE_PROJECT_INIT_ID }}"
+ "PUBLIC_GROWTH_ENDPOINT=${{ vars.PUBLIC_GROWTH_ENDPOINT }}"
"APPWRITE_DB_INIT_ID=${{ secrets.APPWRITE_DB_INIT_ID }}"
"APPWRITE_COL_INIT_ID=${{ secrets.APPWRITE_COL_INIT_ID }}"
"APPWRITE_API_KEY_INIT=${{ secrets.APPWRITE_API_KEY_INIT }}"
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 17a0788bc5..45071d1425 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -43,6 +43,7 @@ jobs:
PUBLIC_APPWRITE_COL_MESSAGES_ID: ${{ secrets.PUBLIC_APPWRITE_COL_MESSAGES_ID }}
PUBLIC_APPWRITE_FN_TLDR_ID: ${{ secrets.PUBLIC_APPWRITE_FN_TLDR_ID }}
PUBLIC_APPWRITE_PROJECT_INIT_ID: ${{ secrets.PUBLIC_APPWRITE_PROJECT_INIT_ID }}
+ PUBLIC_GROWTH_ENDPOINT: ${{ secrets.PUBLIC_GROWTH_ENDPOINT }}
APPWRITE_DB_INIT_ID: ${{ secrets.APPWRITE_DB_INIT_ID }}
APPWRITE_COL_INIT_ID: ${{ secrets.APPWRITE_COL_INIT_ID }}
APPWRITE_API_KEY_INIT: ${{ secrets.APPWRITE_API_KEY_INIT }}
diff --git a/Dockerfile b/Dockerfile
index 28a78ede53..ae1c6e7aaa 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,6 +19,9 @@ ENV PUBLIC_APPWRITE_PROJECT_ID ${PUBLIC_APPWRITE_PROJECT_ID}
ARG PUBLIC_APPWRITE_PROJECT_INIT_ID
ENV PUBLIC_APPWRITE_PROJECT_INIT_ID ${PUBLIC_APPWRITE_PROJECT_INIT_ID}
+ARG PUBLIC_GROWTH_ENDPOINT
+ENV PUBLIC_GROWTH_ENDPOINT ${PUBLIC_GROWTH_ENDPOINT}
+
ARG APPWRITE_DB_INIT_ID
ENV APPWRITE_DB_INIT_ID ${APPWRITE_DB_INIT_ID}
diff --git a/src/lib/components/FooterNav.svelte b/src/lib/components/FooterNav.svelte
index 3ef332f22e..fdcce9e567 100644
--- a/src/lib/components/FooterNav.svelte
+++ b/src/lib/components/FooterNav.svelte
@@ -36,7 +36,7 @@
{ label: 'Functions', href: '/docs/products/functions' },
{ label: 'Messaging', href: '/docs/products/messaging' },
{ label: 'Storage', href: '/docs/products/storage' },
- { label: 'Realtime', href: '/docs/apis/realtime' },
+ { label: 'Realtime', href: '/docs/apis/realtime' }
],
Learn: [
{ label: 'Docs', href: '/docs' },
@@ -57,6 +57,10 @@
rel: 'noopener noreferrer'
}
],
+ Program: [
+ { label: 'Heroes', href: '/heroes' },
+ { label: 'Startups', href: '/startups' }
+ ],
About: [
{ label: 'Company', href: '/company' },
{ label: 'Pricing', href: '/pricing' },
@@ -66,7 +70,6 @@
target: '_blank',
rel: 'noopener noreferrer'
},
- { label: 'Heroes', href: '/heroes' },
{
label: 'Store',
href: 'https://appwrite.store',
@@ -74,12 +77,7 @@
rel: 'noopener noreferrer'
},
{ label: 'Contact us', href: '/contact-us' },
- { label: 'Assets', href: '/assets' },
- ],
- Policies: [
- { label: 'Terms', href: '/terms' },
- { label: 'Privacy', href: '/privacy' },
- { label: 'Cookies', href: '/cookies' }
+ { label: 'Assets', href: '/assets' }
]
};
diff --git a/src/lib/components/MainFooter.svelte b/src/lib/components/MainFooter.svelte
index 5760f0d92d..7f31bdbb2a 100644
--- a/src/lib/components/MainFooter.svelte
+++ b/src/lib/components/MainFooter.svelte
@@ -24,7 +24,14 @@
{/each}
-
Copyright © {year} Appwrite
+
+
+
Copyright © {year} Appwrite
+
{:else if variant === 'docs'}