Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

inline -> referrals

Kiran K68887ac56533
diff --git a/apps/web/app/app.dub.co/embed/inline/activity.tsx b/apps/web/app/app.dub.co/embed/referrals/activity.tsx
similarity index 100%
rename from apps/web/app/app.dub.co/embed/inline/activity.tsx
rename to apps/web/app/app.dub.co/embed/referrals/activity.tsx
diff --git a/apps/web/app/app.dub.co/embed/inline/earnings.tsx b/apps/web/app/app.dub.co/embed/referrals/earnings.tsx
similarity index 100%
rename from apps/web/app/app.dub.co/embed/inline/earnings.tsx
rename to apps/web/app/app.dub.co/embed/referrals/earnings.tsx
diff --git a/apps/web/app/app.dub.co/embed/inline/faq.tsx b/apps/web/app/app.dub.co/embed/referrals/faq.tsx
similarity index 100%
rename from apps/web/app/app.dub.co/embed/inline/faq.tsx
rename to apps/web/app/app.dub.co/embed/referrals/faq.tsx
diff --git a/apps/web/app/app.dub.co/embed/inline/leaderboard.tsx b/apps/web/app/app.dub.co/embed/referrals/leaderboard.tsx
similarity index 100%
rename from apps/web/app/app.dub.co/embed/inline/leaderboard.tsx
rename to apps/web/app/app.dub.co/embed/referrals/leaderboard.tsx
diff --git a/apps/web/app/app.dub.co/embed/inline/loading.tsx b/apps/web/app/app.dub.co/embed/referrals/loading.tsx
similarity index 100%
rename from apps/web/app/app.dub.co/embed/inline/loading.tsx
rename to apps/web/app/app.dub.co/embed/referrals/loading.tsx
diff --git a/apps/web/app/app.dub.co/embed/inline/page-client.tsx b/apps/web/app/app.dub.co/embed/referrals/page-client.tsx
similarity index 99%
rename from apps/web/app/app.dub.co/embed/inline/page-client.tsx
rename to apps/web/app/app.dub.co/embed/referrals/page-client.tsx
index c033a4d470..152f13ebd4 100644
--- a/apps/web/app/app.dub.co/embed/inline/page-client.tsx
+++ b/apps/web/app/app.dub.co/embed/referrals/page-client.tsx
@@ -16,7 +16,7 @@ import {
import { cn, getPrettyUrl } from "@dub/utils";
import { AnimatePresence } from "framer-motion";
import { CSSProperties, useState } from "react";
-import { LinkToken } from "../token";
+import { LinkToken } from "./token";
import { EmbedActivity } from "./activity";
import { EmbedEarnings } from "./earnings";
import { EmbedFAQ } from "./faq";
diff --git a/apps/web/app/app.dub.co/embed/inline/page.tsx b/apps/web/app/app.dub.co/embed/referrals/page.tsx
similarity index 88%
rename from apps/web/app/app.dub.co/embed/inline/page.tsx
rename to apps/web/app/app.dub.co/embed/referrals/page.tsx
index ef5586e3d2..18c60d261d 100644
--- a/apps/web/app/app.dub.co/embed/inline/page.tsx
+++ b/apps/web/app/app.dub.co/embed/referrals/page.tsx
@@ -1,4 +1,4 @@
-import { getEmbedData } from "../utils";
+import { getEmbedData } from "./utils";
import { EmbedInlinePageClient } from "./page-client";
export default async function EmbedInlinePage({
diff --git a/apps/web/app/app.dub.co/embed/inline/payouts.tsx b/apps/web/app/app.dub.co/embed/referrals/payouts.tsx
similarity index 100%
rename from apps/web/app/app.dub.co/embed/inline/payouts.tsx
rename to apps/web/app/app.dub.co/embed/referrals/payouts.tsx
diff --git a/apps/web/app/app.dub.co/embed/inline/quickstart.tsx b/apps/web/app/app.dub.co/embed/referrals/quickstart.tsx
similarity index 100%
rename from apps/web/app/app.dub.co/embed/inline/quickstart.tsx
rename to apps/web/app/app.dub.co/embed/referrals/quickstart.tsx
diff --git a/apps/web/app/app.dub.co/embed/token.tsx b/apps/web/app/app.dub.co/embed/referrals/token.tsx
similarity index 100%
rename from apps/web/app/app.dub.co/embed/token.tsx
rename to apps/web/app/app.dub.co/embed/referrals/token.tsx
diff --git a/apps/web/app/app.dub.co/embed/utils.ts b/apps/web/app/app.dub.co/embed/referrals/utils.ts
similarity index 100%
rename from apps/web/app/app.dub.co/embed/utils.ts
rename to apps/web/app/app.dub.co/embed/referrals/utils.ts
diff --git a/packages/embeds/core/src/constants.ts b/packages/embeds/core/src/constants.ts
index 4c948e1f76..587f60dfb8 100644
--- a/packages/embeds/core/src/constants.ts
+++ b/packages/embeds/core/src/constants.ts
@@ -1,2 +1,2 @@
-export const EMBED_URL = "https://app.dub.co/embed/inline";
+export const EMBED_URL = "https://app.dub.co/embed/referrals";
export const DUB_CONTAINER_ID = "dub-embed-container";