The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
move to integration-guides
Kiran Kb32300740248
diff --git a/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/page.tsx b/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/page.tsxindex 3148612ffb..6274656743 100644--- a/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/page.tsx+++ b/apps/web/app/(ee)/app.dub.co/(new-program)/[slug]/program/new/connect/page.tsx@@ -1,22 +1,12 @@import { readFileSync } from "fs";import { notFound } from "next/navigation";import { join } from "path";+import { Suspense } from "react";import { StepPage } from "../step-page";import { guides } from "./integration-guides";import { PageClient } from "./page-client";import { IntegrationGuide } from "./types";-function getMarkdown(guideKey: string): string | null {- const markdownPath = join(process.cwd(), "markdown", `${guideKey}.md`);-- try {- return readFileSync(markdownPath, "utf-8");- } catch (error) {- console.warn(`Guide content not found for: ${guideKey}`);- return null;- }-}-export default async function Page({searchParams,}: {@@ -44,7 +34,20 @@ export default async function Page({return (<StepPage title="Connecting Dub">- <PageClient markdown={markdown} />+ <Suspense fallback={<div>Loading...</div>}>+ <PageClient markdown={markdown} />+ </Suspense></StepPage>);}++function getMarkdown(guideKey: string): string | null {+ const markdownPath = join(process.cwd(), "integration-guides", `${guideKey}.md`);++ try {+ return readFileSync(markdownPath, "utf-8");+ } catch (error) {+ console.warn(`Guide content not found for: ${guideKey}`);+ return null;+ }+}diff --git a/apps/web/markdown/framer.md b/apps/web/integration-guides/framer.mdsimilarity index 100%rename from apps/web/markdown/framer.mdrename to apps/web/integration-guides/framer.mddiff --git a/apps/web/markdown/react.md b/apps/web/integration-guides/react.mdsimilarity index 100%rename from apps/web/markdown/react.mdrename to apps/web/integration-guides/react.mddiff --git a/apps/web/markdown/webflow.md b/apps/web/integration-guides/webflow.mdsimilarity index 100%rename from apps/web/markdown/webflow.mdrename to apps/web/integration-guides/webflow.md