Skip to content

Commit

Permalink
/ (page): improve og image
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluzzi committed Apr 8, 2023
1 parent ef4efde commit 8e59bda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/opengraph-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ export const contentType = "image/png";
export default function og(): ImageResponse {
return new ImageResponse(
<div style={{
backgroundColor: "black", height: "100%", width: "100%", padding: "0 250px",
display: "flex", justifyContent: "center", flexDirection: "column", gap: "10px"
backgroundColor: "black", height: "100%", width: "100%", padding: "0 100px",
display: "flex", justifyContent: "center", flexDirection: "column", gap: "40px"
}}>
<p style={{ fontSize: "40px", color: "white", margin: 0 }}>Camille Dugas</p>
<p style={{ fontSize: "60px", color: "white", margin: 0 }}>Camille Dugas</p>

<p style={{ fontSize: "25px", color: "white", margin: 0 }}>{metadata.description}</p>
<p style={{ fontSize: "35px", color: "white", margin: 0 }}>{metadata.description}</p>
</div>
);
}

0 comments on commit 8e59bda

Please sign in to comment.