diff --git a/apps/web/pages/api/social/og/image.tsx b/apps/web/pages/api/social/og/image.tsx index 49c3e7c0b4..8445f4de40 100644 --- a/apps/web/pages/api/social/og/image.tsx +++ b/apps/web/pages/api/social/og/image.tsx @@ -51,6 +51,7 @@ export default async function handler(req: NextApiRequest) { { name: "inter", data: interFontData, weight: 400 }, { name: "inter", data: interFontMediumData, weight: 500 }, { name: "cal", data: calFontData, weight: 400 }, + { name: "cal", data: calFontData, weight: 600 }, ] as SatoriOptions["fonts"], }; diff --git a/apps/web/public/social-bg-dark-lines.jpg b/apps/web/public/social-bg-dark-lines.jpg new file mode 100644 index 0000000000..defbf32251 Binary files /dev/null and b/apps/web/public/social-bg-dark-lines.jpg differ diff --git a/apps/web/public/social-bg-dark.jpg b/apps/web/public/social-bg-dark.jpg deleted file mode 100644 index 83f2481b41..0000000000 Binary files a/apps/web/public/social-bg-dark.jpg and /dev/null differ diff --git a/apps/web/public/social-bg-light-lines.jpg b/apps/web/public/social-bg-light-lines.jpg new file mode 100644 index 0000000000..3855012cd9 Binary files /dev/null and b/apps/web/public/social-bg-light-lines.jpg differ diff --git a/apps/web/public/social-bg-light.jpg b/apps/web/public/social-bg-light.jpg deleted file mode 100644 index 52624bf51b..0000000000 Binary files a/apps/web/public/social-bg-light.jpg and /dev/null differ diff --git a/packages/app-store/riverside/config.json b/packages/app-store/riverside/config.json index b31a5537d5..f2541ff1b3 100644 --- a/packages/app-store/riverside/config.json +++ b/packages/app-store/riverside/config.json @@ -3,8 +3,8 @@ "name": "Riverside", "slug": "riverside", "type": "riverside_video", - "imageSrc": "/api/app-store/riverside/icon.svg", - "logo": "/api/app-store/riverside/icon.svg", + "imageSrc": "/api/app-store/riverside/icon-dark.svg", + "logo": "/api/app-store/riverside/icon-dark.svg", "url": "https://cal.com/apps/riverside", "variant": "conferencing", "categories": ["video"], diff --git a/packages/app-store/riverside/static/icon.svg b/packages/app-store/riverside/static/icon-dark.svg similarity index 100% rename from packages/app-store/riverside/static/icon.svg rename to packages/app-store/riverside/static/icon-dark.svg diff --git a/packages/app-store/wipemycalother/_metadata.ts b/packages/app-store/wipemycalother/_metadata.ts index 3758dc2023..4a677cc445 100644 --- a/packages/app-store/wipemycalother/_metadata.ts +++ b/packages/app-store/wipemycalother/_metadata.ts @@ -8,8 +8,8 @@ export const metadata = { installed: true, category: "other", // If using static next public folder, can then be referenced from the base URL (/). - imageSrc: "/api/app-store/wipemycalother/icon.svg", - logo: "/api/app-store/wipemycalother/icon.svg", + imageSrc: "/api/app-store/wipemycalother/icon-dark.svg", + logo: "/api/app-store/wipemycalother/icon-dark.svg", publisher: "Cal.com", rating: 0, reviews: 0, diff --git a/packages/app-store/wipemycalother/static/icon.svg b/packages/app-store/wipemycalother/static/icon-dark.svg similarity index 100% rename from packages/app-store/wipemycalother/static/icon.svg rename to packages/app-store/wipemycalother/static/icon-dark.svg diff --git a/packages/lib/OgImages.tsx b/packages/lib/OgImages.tsx index 168580d329..d2e0ae7cdc 100644 --- a/packages/lib/OgImages.tsx +++ b/packages/lib/OgImages.tsx @@ -70,10 +70,10 @@ const Wrapper = ({
background
{children}
@@ -102,15 +102,15 @@ export const Meeting = ({ title, users = [], profile }: MeetingImageProps) => { const names = attendees.length > 0 ? attendees.map((user) => user.name) : [profile.name]; return ( - +
-
+
Logo {avatars.length > 0 &&
/
}
{avatars.slice(0, 3).map((avatar) => ( Profile picture { /> ))} {avatars.length > 3 && ( -
- +{avatars.length - 3} +
+ +{avatars.length - 3}
)}
-
- Meet{" "} - - {joinMultipleNames(names)} - +
+ Meet {joinMultipleNames(names)}
-
+
{title}
- {/* Adds overlay gradient for long text */} -
); }; +const VisualBlur = ({ visualSlug }: { visualSlug: string }) => { + // Making a blur of a dark logo is very ugly. We use the filename to indicate, + // when we don't want to render these blurry blob backgrounds. + if (visualSlug.indexOf("dark") > -1) return null; + + return ( +
+ {/* Blob top left */} +
+ + {/* Blob bottom right */} +
+
+ ); +}; + export const App = ({ name, description, slug }: AppImageProps) => ( - + Logo -
-
- App icon + + + +
+
+ App icon
-
-
+
+
{name}
-
{description}
+
+ {description} +
);