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.

Created @/ui/* relative path

Steven Teyfdb5867d0d7d
diff --git a/app/(marketing)/changelog/[slug]/page.tsx b/app/(marketing)/changelog/[slug]/page.tsx
index eafa413913..71007719ce 100644
--- a/app/(marketing)/changelog/[slug]/page.tsx
+++ b/app/(marketing)/changelog/[slug]/page.tsx
@@ -1,12 +1,12 @@
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { allChangelogPosts } from "contentlayer/generated";
-import { MDX } from "app/(marketing)/components/mdx";
+import { MDX } from "@/ui/blog/mdx";
import Link from "next/link";
import { formatDate } from "@/lib/utils";
import { getBlurDataURL } from "@/lib/images";
import BlurImage from "@/components/shared/blur-image";
-import Author from "app/(marketing)/components/author";
+import Author from "@/ui/blog/author";
import { Facebook, LinkedIn, Twitter } from "@/components/shared/icons";
export async function generateStaticParams() {
diff --git a/app/(marketing)/components/author.tsx b/app/ui/blog/author.tsx
similarity index 100%
rename from app/(marketing)/components/author.tsx
rename to app/ui/blog/author.tsx
diff --git a/app/(marketing)/components/mdx.tsx b/app/ui/blog/mdx.tsx
similarity index 100%
rename from app/(marketing)/components/mdx.tsx
rename to app/ui/blog/mdx.tsx
diff --git a/components/app/modals/add-edit-domain-modal.tsx b/components/app/modals/add-edit-domain-modal.tsx
index 433ef3f9bf..6b068ee62e 100644
--- a/components/app/modals/add-edit-domain-modal.tsx
+++ b/components/app/modals/add-edit-domain-modal.tsx
@@ -19,7 +19,7 @@ import { AnimatePresence, motion } from "framer-motion";
import { SWIPE_REVEAL_ANIMATION_SETTINGS } from "@/lib/constants";
import Switch from "@/components/shared/switch";
import useDomains from "@/lib/swr/use-domains";
-import Button from "app/ui/button";
+import Button from "@/ui/button";
function AddEditDomainModal({
showAddEditDomainModal,
diff --git a/components/app/modals/add-edit-link-modal/index.tsx b/components/app/modals/add-edit-link-modal/index.tsx
index d70fcfba39..c0c44e933e 100644
--- a/components/app/modals/add-edit-link-modal/index.tsx
+++ b/components/app/modals/add-edit-link-modal/index.tsx
@@ -42,7 +42,7 @@ import useDomains from "@/lib/swr/use-domains";
import { toast } from "react-hot-toast";
import va from "@vercel/analytics";
import punycode from "punycode/";
-import Button from "app/ui/button";
+import Button from "@/ui/button";
function AddEditLinkModal({
showAddEditLinkModal,
diff --git a/components/app/modals/add-project-modal.tsx b/components/app/modals/add-project-modal.tsx
index 6c845cb4bd..824ca3b339 100644
--- a/components/app/modals/add-project-modal.tsx
+++ b/components/app/modals/add-project-modal.tsx
@@ -15,7 +15,7 @@ import { AlertCircleFill } from "@/components/shared/icons";
import Modal from "@/components/shared/modal";
import { generateDomainFromName } from "@/lib/utils";
import va from "@vercel/analytics";
-import Button from "app/ui/button";
+import Button from "@/ui/button";
function AddProjectModalHelper({
showAddProjectModal,
diff --git a/tsconfig.json b/tsconfig.json
index 143c701255..d0398e529e 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -10,6 +10,7 @@
"@/pages/*": ["pages/*"],
"@/lib/*": ["lib/*"],
"@/styles/*": ["styles/*"],
+ "@/ui/*": ["app/ui/*"],
"contentlayer/generated": ["./.contentlayer/generated"]
},
"downlevelIteration": true,