diff --git a/src/lib/layouts/DocsTutorial.svelte b/src/lib/layouts/DocsTutorial.svelte index 82fe274fc4..7e6c667614 100644 --- a/src/lib/layouts/DocsTutorial.svelte +++ b/src/lib/layouts/DocsTutorial.svelte @@ -7,6 +7,7 @@ import { onMount } from 'svelte'; export let toc: Array; + export let back: string; export let currentStep: number; export let date: string; @@ -44,6 +45,15 @@
+ {#if back} + + + {/if}
-

{firstStepItem?.title}

+ {#if back} + + + {/if} +

{firstStepItem?.title}

diff --git a/src/markdoc/layouts/Tutorial.svelte b/src/markdoc/layouts/Tutorial.svelte index 8b2b60ee31..f6ce9545ee 100644 --- a/src/markdoc/layouts/Tutorial.svelte +++ b/src/markdoc/layouts/Tutorial.svelte @@ -8,6 +8,7 @@ draft?: boolean; difficulty?: string; readtime?: string; + back: string; }; @@ -25,6 +26,7 @@ export let description: string; export let step: number; export let date: string; + export let back: string; setContext('headings', writable({})); @@ -76,7 +78,7 @@ - + diff --git a/src/routes/docs/tutorials/android/step-1/+page.markdoc b/src/routes/docs/tutorials/android/step-1/+page.markdoc index d038f3f840..676b60d283 100644 --- a/src/routes/docs/tutorials/android/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/android/step-1/+page.markdoc @@ -3,6 +3,7 @@ layout: tutorial title: Build an ideas tracker with Android description: Learn to build an Android app with no backend code using an Appwrite backend. framework: Android +back: /docs/tutorials category: Mobile and native step: 1 --- diff --git a/src/routes/docs/tutorials/apple/step-1/+page.markdoc b/src/routes/docs/tutorials/apple/step-1/+page.markdoc index fdc8e745d8..d21fe492a8 100644 --- a/src/routes/docs/tutorials/apple/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/apple/step-1/+page.markdoc @@ -3,6 +3,7 @@ layout: tutorial title: Coming soon description: Learn to build an Apple app with no backend code using an Appwrite backend. framework: Apple +back: /docs/tutorials category: Mobile and native step: 1 draft: true diff --git a/src/routes/docs/tutorials/astro-ssr-auth/step-1/+page.markdoc b/src/routes/docs/tutorials/astro-ssr-auth/step-1/+page.markdoc index 2d54c3470f..cec8482ace 100644 --- a/src/routes/docs/tutorials/astro-ssr-auth/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/astro-ssr-auth/step-1/+page.markdoc @@ -4,6 +4,7 @@ title: Server-side authentication with Astro description: Add SSR authentication to your Astro app with Appwrite step: 1 difficulty: beginner +back: /docs/tutorials readtime: 20 framework: Astro SSR category: Auth diff --git a/src/routes/docs/tutorials/flutter/step-1/+page.markdoc b/src/routes/docs/tutorials/flutter/step-1/+page.markdoc index bfe4450832..3a49cf1d88 100644 --- a/src/routes/docs/tutorials/flutter/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/flutter/step-1/+page.markdoc @@ -3,6 +3,7 @@ layout: tutorial title: Coming soon description: Learn to build an Flutter app with no backend code using an Appwrite backend. framework: Flutter +back: /docs/tutorials category: Mobile and native step: 1 draft: true diff --git a/src/routes/docs/tutorials/nextjs-ssr-auth/step-1/+page.markdoc b/src/routes/docs/tutorials/nextjs-ssr-auth/step-1/+page.markdoc index 0db329dd2e..14d88c6033 100644 --- a/src/routes/docs/tutorials/nextjs-ssr-auth/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/nextjs-ssr-auth/step-1/+page.markdoc @@ -4,6 +4,7 @@ title: Server-side authentication with Next.js description: Add SSR authentication to your Next.js app with Appwrite step: 1 difficulty: beginner +back: /docs/tutorials readtime: 20 framework: Next.js SSR category: Auth diff --git a/src/routes/docs/tutorials/nuxt-ssr-auth/step-1/+page.markdoc b/src/routes/docs/tutorials/nuxt-ssr-auth/step-1/+page.markdoc index 970d378bf5..74861d4007 100644 --- a/src/routes/docs/tutorials/nuxt-ssr-auth/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/nuxt-ssr-auth/step-1/+page.markdoc @@ -4,6 +4,7 @@ title: Server-side authentication with Nuxt description: Add SSR authentication to your Nuxt app with Appwrite step: 1 difficulty: beginner +back: /docs/tutorials draft: true readtime: 20 framework: Nuxt SSR diff --git a/src/routes/docs/tutorials/nuxt/step-1/+page.markdoc b/src/routes/docs/tutorials/nuxt/step-1/+page.markdoc index 8e0dd14b5e..22d2665184 100644 --- a/src/routes/docs/tutorials/nuxt/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/nuxt/step-1/+page.markdoc @@ -7,7 +7,7 @@ difficulty: beginner readtime: 25 framework: Nuxt category: Web -back: /docs +back: /docs/tutorials --- **Idea tracker**: an app to track all the side project ideas that you'll start, but probably never finish. diff --git a/src/routes/docs/tutorials/react-native/step-1/+page.markdoc b/src/routes/docs/tutorials/react-native/step-1/+page.markdoc index 520ec13684..d2c7faf2e2 100644 --- a/src/routes/docs/tutorials/react-native/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/react-native/step-1/+page.markdoc @@ -4,6 +4,7 @@ title: Build an ideas tracker with React Native description: Learn to build a React Native app with no backend code using an Appwrite backend. step: 1 difficulty: beginner +back: /docs/tutorials readtime: 10 category: Mobile and native framework: React Native diff --git a/src/routes/docs/tutorials/react/step-1/+page.markdoc b/src/routes/docs/tutorials/react/step-1/+page.markdoc index aaef8f91ca..77bcc9660a 100644 --- a/src/routes/docs/tutorials/react/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/react/step-1/+page.markdoc @@ -4,6 +4,7 @@ title: Build an ideas tracker with React description: Learn to build a React app with no backend code using an Appwrite backend. step: 1 difficulty: beginner +back: /docs/tutorials readtime: 10 category: Web framework: React diff --git a/src/routes/docs/tutorials/refine/step-1/+page.markdoc b/src/routes/docs/tutorials/refine/step-1/+page.markdoc index da84f4e23e..b5400e3737 100644 --- a/src/routes/docs/tutorials/refine/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/refine/step-1/+page.markdoc @@ -4,6 +4,7 @@ title: Build a blog admin panel with Refine description: Learn to build a Refine app with no backend code using an Appwrite backend. step: 1 difficulty: beginner +back: /docs/tutorials readtime: 10 framework: Refine category: Web diff --git a/src/routes/docs/tutorials/subscriptions-with-stripe/step-1/+page.markdoc b/src/routes/docs/tutorials/subscriptions-with-stripe/step-1/+page.markdoc index 50d5ecd5a3..cb6d67eb07 100644 --- a/src/routes/docs/tutorials/subscriptions-with-stripe/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/subscriptions-with-stripe/step-1/+page.markdoc @@ -4,6 +4,7 @@ title: Add app subscriptions with Stripe description: Add paid app subscription plans to your app with Stripe and Appwrite Functions. step: 1 difficulty: easy +back: /docs/tutorials readtime: 10 framework: Stripe category: Functions diff --git a/src/routes/docs/tutorials/sveltekit-csr-auth/step-1/+page.markdoc b/src/routes/docs/tutorials/sveltekit-csr-auth/step-1/+page.markdoc index f628e9086e..3100d12edc 100644 --- a/src/routes/docs/tutorials/sveltekit-csr-auth/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/sveltekit-csr-auth/step-1/+page.markdoc @@ -4,6 +4,7 @@ title: Authentication with SvelteKit description: Add Authentication to a SvelteKit project using Appwrite. step: 1 difficulty: beginner +back: /docs/tutorials readtime: 20 framework: SvelteKit category: Auth diff --git a/src/routes/docs/tutorials/sveltekit-ssr-auth/step-1/+page.markdoc b/src/routes/docs/tutorials/sveltekit-ssr-auth/step-1/+page.markdoc index 4669112a33..2c074f40ca 100644 --- a/src/routes/docs/tutorials/sveltekit-ssr-auth/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/sveltekit-ssr-auth/step-1/+page.markdoc @@ -4,6 +4,7 @@ title: Server-side authentication with SvelteKit description: Add SSR authentication to your SvelteKit app with Appwrite step: 1 difficulty: beginner +back: /docs/tutorials readtime: 20 framework: SvelteKit SSR category: Auth diff --git a/src/routes/docs/tutorials/sveltekit/step-1/+page.markdoc b/src/routes/docs/tutorials/sveltekit/step-1/+page.markdoc index 12260ba46d..6dffc72bfd 100644 --- a/src/routes/docs/tutorials/sveltekit/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/sveltekit/step-1/+page.markdoc @@ -4,6 +4,7 @@ title: Build an ideas tracker with SvelteKit description: Build a SvelteKit project using Appwrite. step: 1 difficulty: beginner +back: /docs/tutorials readtime: 10 framework: SvelteKit category: Web diff --git a/src/routes/docs/tutorials/vue/step-1/+page.markdoc b/src/routes/docs/tutorials/vue/step-1/+page.markdoc index 16be085d87..8ac2592e26 100644 --- a/src/routes/docs/tutorials/vue/step-1/+page.markdoc +++ b/src/routes/docs/tutorials/vue/step-1/+page.markdoc @@ -3,7 +3,7 @@ layout: tutorial title: Build an ideas tracker with Vue.js description: Learn to build an idea tracker app with Appwrite and Vue with authentication, databases and collections, queries, pagination, and file storage. step: 1 -back: /docs +back: /docs/tutorials framework: Vue category: Web ---