diff --git a/app/opengraph-image-assets/HankenGrotesk-Bold.ttf b/app/opengraph-image-assets/HankenGrotesk-Bold.ttf deleted file mode 100644 index 59eb24c..0000000 Binary files a/app/opengraph-image-assets/HankenGrotesk-Bold.ttf and /dev/null differ diff --git a/app/opengraph-image-assets/HankenGrotesk-Regular.ttf b/app/opengraph-image-assets/HankenGrotesk-Regular.ttf deleted file mode 100644 index 8b01d15..0000000 Binary files a/app/opengraph-image-assets/HankenGrotesk-Regular.ttf and /dev/null differ diff --git a/app/opengraph-image.png b/app/opengraph-image.png new file mode 100644 index 0000000..59a4d80 Binary files /dev/null and b/app/opengraph-image.png differ diff --git a/app/opengraph-image.tsx b/app/opengraph-image.tsx deleted file mode 100644 index 7d5117a..0000000 --- a/app/opengraph-image.tsx +++ /dev/null @@ -1,77 +0,0 @@ -import { title, description, font } from '@/constants' -import { ImageResponse } from 'next/og' - -export const runtime = 'edge' - -export const alt = title -export const size = { width: 1200, height: 630 } -export const contentType = 'image/png' - -export default async function Image() { - const fontDataBold = await fetch( - new URL('./opengraph-image-assets/HankenGrotesk-Bold.ttf', import.meta.url) - ).then((res) => res.arrayBuffer()) - const fontDataRegular = await fetch( - new URL( - './opengraph-image-assets/HankenGrotesk-Regular.ttf', - import.meta.url - ) - ).then((res) => res.arrayBuffer()) - - return new ImageResponse( - ( -
{description}
-- - krema.eth -
-