Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: add linear gradient.

thorwebdev94a31081ca5b
diff --git a/examples/edge-functions/supabase/functions/og-image-with-storage-cdn/handler.tsx b/examples/edge-functions/supabase/functions/og-image-with-storage-cdn/handler.tsx
index b4eb3445348..a775f49bd52 100644
--- a/examples/edge-functions/supabase/functions/og-image-with-storage-cdn/handler.tsx
+++ b/examples/edge-functions/supabase/functions/og-image-with-storage-cdn/handler.tsx
@@ -91,14 +91,24 @@ export async function handler(req: Request) {
textOverflow: 'clip',
}}
>
- <p
+ <div
style={{
- fontSize: '60px',
- lineHeight: '66px',
+ display: 'flex',
+ color: 'transparent',
+ backgroundImage:
+ 'linear-gradient(90deg, #F8F9FA 1.73%, rgba(248, 249, 250, 0.5) 100%)',
+ backgroundClip: 'text',
}}
>
- {name}
- </p>
+ <p
+ style={{
+ fontSize: '60px',
+ lineHeight: '60px',
+ }}
+ >
+ {name}
+ </p>
+ </div>
{/* Username and supaverified checkmark */}
<div
style={{