Skip to content

Commit

Permalink
test og images
Browse files Browse the repository at this point in the history
  • Loading branch information
aabassiouni committed Nov 12, 2024
1 parent b7156df commit 7c69269
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions apps/web/src/app/opengraph-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export default async function GET() {
res.arrayBuffer(),
);

const homepageImg = await fetch(new URL("../../public/homepage.png", import.meta.url)).then((res) =>
res.arrayBuffer(),
);
// const homepageImg = await fetch(new URL("../../public/homepage.png", import.meta.url)).then((res) =>
// res.arrayBuffer(),
// );

return new ImageResponse(
<div
Expand Down Expand Up @@ -66,7 +66,7 @@ export default async function GET() {
>
Open source waitlist management and analytics platform
</h1>
<img
{/* <img
alt="OG"
width="90%"
//@ts-ignore
Expand All @@ -80,7 +80,7 @@ export default async function GET() {
borderTopLeftRadius: "1.5rem",
borderTopRightRadius: "1.5rem",
}}
/>
/> */}
</div>
</div>,
{
Expand Down
10 changes: 5 additions & 5 deletions apps/web/src/app/twitter-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export default async function GET() {
res.arrayBuffer(),
);

const homepageImg = await fetch(new URL("../../public/homepage.png", import.meta.url)).then((res) =>
res.arrayBuffer(),
);
// const homepageImg = await fetch(new URL("../../public/homepage.png", import.meta.url)).then((res) =>
// res.arrayBuffer(),
// );

return new ImageResponse(
<div
Expand Down Expand Up @@ -66,7 +66,7 @@ export default async function GET() {
>
Open source waitlist management and analytics platform
</h1>
<img
{/* <img
alt="OG"
width="90%"
//@ts-ignore
Expand All @@ -80,7 +80,7 @@ export default async function GET() {
borderTopLeftRadius: "1.5rem",
borderTopRightRadius: "1.5rem",
}}
/>
/> */}
</div>
</div>,
{
Expand Down

0 comments on commit 7c69269

Please sign in to comment.