import { ImageResponse } from "next/og" import { readFile } from "node:fs/promises" import { join } from "node:path" export const alt = "DeckyVault - Steam Deck Benchmarks & Settings" export const size = { width: 1200, height: 630, } export const contentType = "image/png" export default async function Image() { const logoData = await readFile( join(process.cwd(), "app/icon.png"), "base64" ) const logoSrc = `data:image/png;base64,${logoData}` return new ImageResponse( (
DeckyVault
DeckyVault
Steam Deck Benchmarks & Settings
), { ...size, } ) }