The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
add <Frame/> to docs images
Steven Tey4ae394f6dd42
diff --git a/apps/docs/introduction.mdx b/apps/docs/introduction.mdxindex 31acad01df..4e63d80959 100644--- a/apps/docs/introduction.mdx+++ b/apps/docs/introduction.mdx@@ -4,11 +4,13 @@ title: Introductiondescription: "Dub.co is the open-source link management infrastructure for modern marketing teams."----<img- className="rounded-lg border border-gray-100"- src="https://assets.dub.co/thumbnail.png"- alt="Dub.co Thumbnail"-/>+<Frame>+ <img+ className="rounded-lg border border-gray-100"+ src="https://assets.dub.co/thumbnail.png"+ alt="Dub.co Thumbnail"+ />+</Frame>## Featuresdiff --git a/apps/docs/local-development.mdx b/apps/docs/local-development.mdxindex e357b2a498..090142fc1f 100644--- a/apps/docs/local-development.mdx+++ b/apps/docs/local-development.mdx@@ -4,7 +4,9 @@ title: "Local Development"description: "A guide on how to run Dub.co's codebase locally."----+<Frame>+ <img src="/images/thumbnail.png" alt="Dub.co Thumbnail" />+</Frame>## Introduction@@ -186,7 +188,7 @@ In your [Upstash account](https://console.upstash.com/), create a new database.For better performance & read times, we recommend setting up a global database with several read regions.-+<Frame></Frame></Step>@@ -194,11 +196,11 @@ For better performance & read times, we recommend setting up a global database wOnce your database is created, copy the `UPSTASH_REDIS_REST_URL` and `UPSTASH_REDIS_REST_TOKEN` from the **REST API** section into your `.env` file.-+<Frame></Frame>Navigate to the [QStash tab](https://console.upstash.com/qstash) and copy the `QSTASH_TOKEN`, `QSTASH_CURRENT_SIGNING_KEY`, and `QSTASH_NEXT_SIGNING_KEY` from the **Request Builder** section into your `.env` file.-+<Frame></Frame></Step>@@ -297,7 +299,9 @@ Prerequisites:Once your database is created, you'll be prompted to select your language or Framework. Select **Prisma**.+ <Frame>+ </Frame></Step>@@ -305,7 +309,9 @@ Prerequisites:Then, you'll have to create a new password for your database. Once the password is created, scroll down to the **Add credentials to .env** section and copy the `DATABASE_URL` into your `.env` file.+ <Frame>+ </Frame></Step>diff --git a/apps/docs/self-hosting.mdx b/apps/docs/self-hosting.mdxindex 563988d102..2178530f9b 100644--- a/apps/docs/self-hosting.mdx+++ b/apps/docs/self-hosting.mdx@@ -4,7 +4,9 @@ title: "Self-hosting Dub.co"description: "An end-to-end guide on how to self-host Dub.co – the open-source link management platform."----+<Frame>+ <img src="/images/thumbnail.png" alt="Dub.co Thumbnail" />+</Frame>You can self-host Dub.co on your own servers and cloud infrastructure for greater control over your data and design. This guide will walk you through the entire process of setting up Dub.co on your own servers.@@ -165,7 +167,7 @@ In your [Upstash account](https://console.upstash.com/), create a new database.For better performance & read times, we recommend setting up a global database with several read regions.-+<Frame></Frame></Step>@@ -173,12 +175,13 @@ For better performance & read times, we recommend setting up a global database wOnce your database is created, copy the `UPSTASH_REDIS_REST_URL` and `UPSTASH_REDIS_REST_TOKEN` from the **REST API** section into your `.env` file.-+<Frame></Frame>Navigate to the [QStash tab](https://console.upstash.com/qstash) and copy the `QSTASH_TOKEN`, `QSTASH_CURRENT_SIGNING_KEY`, and `QSTASH_NEXT_SIGNING_KEY` from the **Request Builder** section into your `.env` file.+<Frame>-+</Frame></Step></Steps>@@ -206,7 +209,9 @@ Next, you'll need to set up a [PlanetScale](https://planetscale.com/)-compatibleOnce your database is created, you'll be prompted to select your language or Framework. Select **Prisma**.- + <Frame>+ + </Frame></Step>@@ -214,7 +219,9 @@ Next, you'll need to set up a [PlanetScale](https://planetscale.com/)-compatibleThen, you'll have to create a new password for your database. Once the password is created, scroll down to the **Add credentials to .env** section and copy the `DATABASE_URL` into your `.env` file.+ <Frame>+ </Frame></Step>@@ -305,7 +312,9 @@ Once you've set up all of the above services, you can now deploy your app to VerMake sure that your **Framework Preset** is set to **Next.js** and the **Root Directory** is set to `apps/web`.+ <Frame>+ </Frame>In the **Environment Variables** section, add all of the environment variables from your `.env` file by copying all of them and pasting it into the first input field. A few notes:@@ -319,7 +328,9 @@ Once you've set up all of the above services, you can now deploy your app to Vercompleted` error, make sure that your [Vercel deploymentsettings](https://vercel.com/docs/deployments/configure-a-build) to make sure that they match the following:+ <Frame>+ </Frame></Tip>@@ -338,7 +349,7 @@ Add both the `NEXT_PUBLIC_APP_DOMAIN` and `NEXT_PUBLIC_APP_SHORT_DOMAIN` as domaOnce the deployment is complete, you should be able to visit your app domain (e.g. `https://app.acme.com`) and see the following login page:-+<Frame></Frame></Step>