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.

Coderabbit fix

Marcus Farrell7a3433ac2ddc
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/[programSlug]/page.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/[programSlug]/page.tsx
index 269558ceec..98e65f21ed 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/[programSlug]/page.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/[programSlug]/page.tsx
@@ -129,7 +129,12 @@ export default async function MarketplaceProgramPage(props: {
<div className="mt-6 flex gap-8">
{Boolean(program.rewards?.length || program.discount) && (
<div>
- <span className="block text-xs font-medium text-neutral-400">
+ <span
+ className={cn(
+ "block text-xs font-medium",
+ isDarkImage ? "text-content-inverted" : "text-neutral-400",
+ )}
+ >
Rewards
</span>
<ProgramRewardsDisplay
@@ -143,7 +148,12 @@ export default async function MarketplaceProgramPage(props: {
)}
{Boolean(program.categories?.length) && (
<div className="min-w-0">
- <span className="block text-xs font-medium text-neutral-400">
+ <span
+ className={cn(
+ "block text-xs font-medium",
+ isDarkImage ? "text-content-inverted" : "text-neutral-400",
+ )}
+ >
Category
</span>
<div className="mt-1 flex items-center gap-1.5">