The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Add image size
Tim Wilsona7f54bf38895
diff --git a/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/header.tsx b/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/header.tsxindex 88f2193b49..ff39d04167 100644--- a/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/header.tsx+++ b/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/header.tsx@@ -26,7 +26,7 @@ export function Header({return (<headerclassName={- "sticky top-0 mx-px flex items-center justify-between bg-white/90 px-6 py-4 backdrop-blur-sm"+ "sticky top-0 z-10 mx-px flex items-center justify-between bg-white/90 px-6 py-4 backdrop-blur-sm"}>{/* Bottom border when scrolled */}diff --git a/apps/web/lib/zod/schemas/programs.ts b/apps/web/lib/zod/schemas/programs.tsindex 50f41d9126..2fcb1f0255 100644--- a/apps/web/lib/zod/schemas/programs.ts+++ b/apps/web/lib/zod/schemas/programs.ts@@ -19,6 +19,8 @@ export const programLanderImageBlockSchema = z.object({data: z.object({url: z.string().url(),alt: z.string().optional(),+ width: z.number().optional(),+ height: z.number().optional(),}),});diff --git a/apps/web/ui/partners/lander-blocks/ImageBlock.tsx b/apps/web/ui/partners/lander-blocks/ImageBlock.tsxindex 980190596a..31da17c002 100644--- a/apps/web/ui/partners/lander-blocks/ImageBlock.tsx+++ b/apps/web/ui/partners/lander-blocks/ImageBlock.tsx@@ -11,6 +11,8 @@ export function ImageBlock({<imgsrc={block.data.url}alt={block.data.alt}+ width={block.data.width}+ height={block.data.height}className="block rounded-lg"/></div>