diff --git a/src/routes/docs/quick-starts/deno/+page.markdoc b/src/routes/docs/quick-starts/deno/+page.markdoc index 2cf9bda175..b1421bbcc9 100644 --- a/src/routes/docs/quick-starts/deno/+page.markdoc +++ b/src/routes/docs/quick-starts/deno/+page.markdoc @@ -24,27 +24,47 @@ If this is your first time using Appwrite, create an account and create your fir Next, click **Functions** > **Create Function**, and select **Deno** as the runtime. {% only_dark %} -![Create Function screen](/images/docs/quick-starts/dark/integrate-server.png) +![Create Function screen](/images/docs/quick-starts/dark/create-function.png) {% /only_dark %} {% only_light %} -![Create Function screen](/images/docs/quick-starts/integrate-server.png) +![Create Function screen](/images/docs/quick-starts/create-function.png) {% /only_light %} In the page that opens, give your function a name and an ID. You can leave the ID blank, and Appwrite will generate a unique one for you. -[!image here] +{% only_dark %} +![Create Function screen](/images/docs/quick-starts/dark/configure-deno-function.png) +{% /only_dark %} +{% only_light %} +![Create Function screen](/images/docs/quick-starts/configure-deno-function.png) +{% /only_light %} Click **Next** to set up your function permissions. Configure the Execute permissions and Function scopes as needed, then click **Next** to set up Deployment. -[!image here] +{% only_dark %} +![Create Function screen](/images/docs/quick-starts/dark/execute-permissions.png) +{% /only_dark %} +{% only_light %} +![Create Function screen](/images/docs/quick-starts/execute-permissions.png) +{% /only_light %} Here, you can choose to create a new repository, add to an existing one, or connect later. -[!image here] +{% only_dark %} +![Create Function screen](/images/docs/quick-starts/dark/configure-deployment.png) +{% /only_dark %} +{% only_light %} +![Create Function screen](/images/docs/quick-starts/configure-deployment.png) +{% /only_light %} When you're done, click **Create**. This will create and deploy a new Deno function in your project. In the Function Deployments page, you'll see the URL to access your function. -[!image here] +{% only_dark %} +![Create Function screen](/images/docs/quick-starts/dark/deployments-page.png) +{% /only_dark %} +{% only_light %} +![Create Function screen](/images/docs/quick-starts/deployments-page.png) +{% /only_light %} Click the link to test your Deno function. diff --git a/static/images/docs/quick-starts/configure-deno-function.png b/static/images/docs/quick-starts/configure-deno-function.png new file mode 100644 index 0000000000..1e0efb0a9a Binary files /dev/null and b/static/images/docs/quick-starts/configure-deno-function.png differ diff --git a/static/images/docs/quick-starts/configure-deployment.png b/static/images/docs/quick-starts/configure-deployment.png new file mode 100644 index 0000000000..b6fa1a0961 Binary files /dev/null and b/static/images/docs/quick-starts/configure-deployment.png differ diff --git a/static/images/docs/quick-starts/create-function.png b/static/images/docs/quick-starts/create-function.png new file mode 100644 index 0000000000..7062abd4c7 Binary files /dev/null and b/static/images/docs/quick-starts/create-function.png differ diff --git a/static/images/docs/quick-starts/dark/configure-deno-function.png b/static/images/docs/quick-starts/dark/configure-deno-function.png new file mode 100644 index 0000000000..9d618f65c9 Binary files /dev/null and b/static/images/docs/quick-starts/dark/configure-deno-function.png differ diff --git a/static/images/docs/quick-starts/dark/configure-deployment.png b/static/images/docs/quick-starts/dark/configure-deployment.png new file mode 100644 index 0000000000..28ec6904e4 Binary files /dev/null and b/static/images/docs/quick-starts/dark/configure-deployment.png differ diff --git a/static/images/docs/quick-starts/dark/create-function.png b/static/images/docs/quick-starts/dark/create-function.png new file mode 100644 index 0000000000..0d20519534 Binary files /dev/null and b/static/images/docs/quick-starts/dark/create-function.png differ diff --git a/static/images/docs/quick-starts/dark/deployments-page.png b/static/images/docs/quick-starts/dark/deployments-page.png new file mode 100644 index 0000000000..4af9274b1c Binary files /dev/null and b/static/images/docs/quick-starts/dark/deployments-page.png differ diff --git a/static/images/docs/quick-starts/dark/execute-permissions.png b/static/images/docs/quick-starts/dark/execute-permissions.png new file mode 100644 index 0000000000..3f5620053b Binary files /dev/null and b/static/images/docs/quick-starts/dark/execute-permissions.png differ diff --git a/static/images/docs/quick-starts/deployments-page.png b/static/images/docs/quick-starts/deployments-page.png new file mode 100644 index 0000000000..b982805d30 Binary files /dev/null and b/static/images/docs/quick-starts/deployments-page.png differ diff --git a/static/images/docs/quick-starts/execute-permissions.png b/static/images/docs/quick-starts/execute-permissions.png new file mode 100644 index 0000000000..b00d1ef543 Binary files /dev/null and b/static/images/docs/quick-starts/execute-permissions.png differ