Skip to content

Commit

Permalink
fix og image
Browse files Browse the repository at this point in the history
  • Loading branch information
kawamataryo committed Jan 16, 2025
1 parent 13fed47 commit 7063d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lp/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ app.get('/og', async (c) => {
const html = `
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; width: 100vw; font-family: 'Noto Sans JP'; background: #160f29">
<img src="${backgroundImage}" width="100" height="100" style="position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; object-fit: cover;">
<div style="display: flex; flex-direction: column; aligin-items: start; color: #ffffff; padding-top: 220px; padding-left: 65px; padding-bottom: 80px; height: 100vh; width: 100vw; gap: 20px; text-shadow: 5px 5px 6px rgba(0, 0, 0, 0.8);">
<p style="font-size: 240px; disply: flex; aligin-items: baseline; gap: 20px;">${Number(userCount).toLocaleString()}</p>
<div style="display: flex; flex-direction: column; aligin-items: start; color: #ffffff; padding-top: 200px; padding-left: 65px; padding-bottom: 80px; height: 100vh; width: 100vw; gap: 20px; text-shadow: 5px 5px 6px rgba(0, 0, 0, 0.8);">
<p style="font-size: 260px; disply: flex; aligin-items: baseline; gap: 20px;">${Number(userCount).toLocaleString()}</p>
<p style="font-size: 60px;">Bluesky<span style="margin-left:20px;" />users<span style="margin-left:20px;" />found<span style="margin-left:20px;" />in<span style="margin-left:20px;" />my<span style="margin-left:20px;" />network.</p>
</div>
</div>
Expand Down

0 comments on commit 7063d62

Please sign in to comment.