The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fixed accidental dark mode + incorrect slug on redirect
Steven Tey7b969c4d6231
diff --git a/components/app/links/link-card.tsx b/components/app/links/link-card.tsxindex 9f85d80c82..4970f50cb9 100644--- a/components/app/links/link-card.tsx+++ b/components/app/links/link-card.tsx@@ -112,7 +112,7 @@ export default function LinkCard({ props }: { props: LinkProps }) {<span className="sr-only">Download QR</span><QR className="text-gray-700 group-hover:text-blue-800 transition-all" /></button>- <Link href={`${router.asPath}/${encodeURI(key)}`}>+ <Link href={`/${slug}/${encodeURI(key)}`}><a className="flex items-center space-x-1 rounded-md bg-gray-100 px-2 py-0.5 hover:scale-105 active:scale-95 transition-all duration-75"><Chart className="w-4 h-4" /><p className="text-sm text-gray-500 whitespace-nowrap">diff --git a/components/app/modals/add-edit-link-modal/advanced-settings.tsx b/components/app/modals/add-edit-link-modal/advanced-settings.tsxindex ac530e65c3..6c8c328d0d 100644--- a/components/app/modals/add-edit-link-modal/advanced-settings.tsx+++ b/components/app/modals/add-edit-link-modal/advanced-settings.tsx@@ -63,8 +63,8 @@ export default function AdvancedSettings({<AccordionPrimitive.Header><AccordionPrimitive.Trigger className="group focus:outline-black flex w-full items-center justify-between space-x-2 p-5 text-left rounded-t-lg hover:bg-gray-50 active:bg-gray-100 transition-all duration-75"><div className="flex items-center justify-start space-x-2 h-6">- <ChevronRight className="h-5 w-5 shrink-0 text-gray-700 ease-in-out dark:text-gray-400 group-radix-state-open:rotate-90 transition-all" />- <span className="text-sm font-medium text-gray-900 dark:text-gray-100">+ <ChevronRight className="h-5 w-5 shrink-0 text-gray-700 ease-in-out group-radix-state-open:rotate-90 transition-all" />+ <span className="text-sm font-medium text-gray-900">UTM Builder</span></div>@@ -86,8 +86,8 @@ export default function AdvancedSettings({<AccordionPrimitive.Header><AccordionPrimitive.Trigger className="group focus:outline-black flex w-full items-center justify-between space-x-2 p-5 text-left hover:bg-gray-50 active:bg-gray-100 transition-all duration-75"><div className="flex items-center justify-start space-x-2 h-6">- <ChevronRight className="h-5 w-5 shrink-0 text-gray-700 ease-in-out dark:text-gray-400 group-radix-state-open:rotate-90 transition-all" />- <span className="text-sm font-medium text-gray-900 dark:text-gray-100">+ <ChevronRight className="h-5 w-5 shrink-0 text-gray-700 ease-in-out group-radix-state-open:rotate-90 transition-all" />+ <span className="text-sm font-medium text-gray-900">Custom OG Tags</span></div>@@ -109,8 +109,8 @@ export default function AdvancedSettings({<AccordionPrimitive.Header><AccordionPrimitive.Trigger className="group focus:outline-black flex w-full items-center justify-between space-x-2 p-5 text-left hover:bg-gray-50 active:bg-gray-100 transition-all duration-75"><div className="flex items-center justify-start space-x-2 h-6">- <ChevronRight className="h-5 w-5 shrink-0 text-gray-700 ease-in-out dark:text-gray-400 group-radix-state-open:rotate-90 transition-all" />- <span className="text-sm font-medium text-gray-900 dark:text-gray-100">+ <ChevronRight className="h-5 w-5 shrink-0 text-gray-700 ease-in-out group-radix-state-open:rotate-90 transition-all" />+ <span className="text-sm font-medium text-gray-900">Password Protection</span></div>@@ -132,8 +132,8 @@ export default function AdvancedSettings({<AccordionPrimitive.Header><AccordionPrimitive.Trigger className="group focus:outline-black flex w-full items-center justify-between space-x-2 p-5 text-left hover:bg-gray-50 active:bg-gray-100 transition-all duration-75"><div className="flex items-center justify-start space-x-2 h-6">- <ChevronRight className="h-5 w-5 shrink-0 text-gray-700 ease-in-out dark:text-gray-400 group-radix-state-open:rotate-90 transition-all" />- <span className="text-sm font-medium text-gray-900 dark:text-gray-100">+ <ChevronRight className="h-5 w-5 shrink-0 text-gray-700 ease-in-out group-radix-state-open:rotate-90 transition-all" />+ <span className="text-sm font-medium text-gray-900">Expiration Date</span>{expiresAt &&