From 1b09ec1e1347646fd22875f7dad1da4d633e88cf Mon Sep 17 00:00:00 2001 From: Dries Augustyns Date: Mon, 4 May 2026 18:14:55 +0200 Subject: [PATCH] ui: enhance Open Graph image dimensions and styling for improved social sharing --- README.md | 15 ++++++++++--- apps/landing/src/pages/api/og.tsx | 37 ++++++++++++++++--------------- 2 files changed, 31 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 229b625..64dca7a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![card.png](/assets/card.png) +![card.png](https://www.useplunk.com/api/og?title=Open-Source%0AEmail%20Platform&description=%240.001+per+email.+No+contact+limits.+Free+to+self-host.)

Plunk

@@ -15,6 +15,8 @@ Forks Docker Sponsor + Documentation + Discord

## Introduction @@ -27,9 +29,11 @@ like [SendGrid](https://sendgrid.com/), [Resend](https://resend.com) or [Mailgun ## Features - **Transactional Emails**: Send emails straight from your API with template support and variable substitution -- **Campaigns**: Send newsletters and product updates to large audiences with segmentation +- **SMTP**: Use Plunk as an SMTP relay to send emails from any existing tool or framework +- **Campaigns**: Send newsletters and product updates to large audiences - **Workflows**: Create advanced automations with triggers, delays, and conditional logic -- **Contact Management**: Organize contacts with custom fields and dynamic segmentation +- **Segments**: Organize contacts with dynamic filtering and target the right audience +- **Contact Management**: Manage contacts with custom fields and full activity history - **Analytics**: Track opens, clicks, bounces, and engagement metrics in real-time - **Custom Domains**: Verify and send from your own domains with DKIM/SPF support @@ -46,6 +50,11 @@ You can pull the latest image from [Github](https://github.com/useplunk/plunk/pk A complete guide on how to deploy Plunk can be found in the [documentation](https://docs.useplunk.com/self-hosting/introduction). +## Community + +- **Documentation**: [docs.useplunk.com](https://docs.useplunk.com) +- **Discord**: [useplunk.com/discord](https://useplunk.com/discord) + ## Contributing You are welcome to contribute to Plunk. You can find a guide on how to contribute in [CONTRIBUTING.md](CONTRIBUTING.md). diff --git a/apps/landing/src/pages/api/og.tsx b/apps/landing/src/pages/api/og.tsx index fd3b63f..b23fdac 100644 --- a/apps/landing/src/pages/api/og.tsx +++ b/apps/landing/src/pages/api/og.tsx @@ -17,18 +17,18 @@ export default function handler(req: NextRequest) { const fontData = getBricolageFont(); const titleLength = title.length; - const fontSize = titleLength < 35 ? 72 : titleLength < 55 ? 60 : titleLength < 75 ? 50 : 42; + const fontSize = titleLength < 35 ? 144 : titleLength < 55 ? 120 : titleLength < 75 ? 100 : 84; return new ImageResponse( (
- +
{/* Top row: logo + URL */}
-
- +
+
- + useplunk.com
{/* Main content */} -
+
{tag ? (
{title} @@ -106,7 +107,7 @@ export default function handler(req: NextRequest) { {description ? (
), { - width: 1200, - height: 630, + width: 2400, + height: 1260, fonts: [ { name: 'Bricolage Grotesque',