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.

small fixes

Steven Teya1342b494871
diff --git a/apps/web/app/app.dub.co/embed/inline/hero-background.tsx b/apps/web/app/app.dub.co/embed/inline/hero-background.tsx
index 5f5f1d02be..5c6939e35d 100644
--- a/apps/web/app/app.dub.co/embed/inline/hero-background.tsx
+++ b/apps/web/app/app.dub.co/embed/inline/hero-background.tsx
@@ -5,15 +5,13 @@ import { useId } from "react";
export function HeroBackground({
logo,
- color,
+ color = "#737373",
}: {
logo?: string | null;
color?: string | null;
}) {
const id = useId();
- color = "#8b5cf6"; // wispr
-
return (
<div
className="absolute inset-0 -z-[1] bg-neutral-50"
diff --git a/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/page-client.tsx b/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/page-client.tsx
index 78218d5cfc..e5992c72f8 100644
--- a/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/page-client.tsx
+++ b/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/page-client.tsx
@@ -61,7 +61,7 @@ export default function ProgramPageClient() {
<MaxWidthWrapper className="pb-10">
<div className="relative flex flex-col rounded-lg border border-neutral-300 bg-gradient-to-r from-neutral-50 p-4 md:p-6">
{program && (
- <HeroBackground logo={program?.logo} color={program?.brandColor} />
+ <HeroBackground logo={program.logo} color={program.brandColor} />
)}
<span className="flex items-center gap-2 text-sm text-neutral-500">
<MoneyBill2 className="size-4" />