diff --git a/src/assets/OGP_.png b/src/assets/OGP_.png deleted file mode 100644 index 87bc9c46..00000000 Binary files a/src/assets/OGP_.png and /dev/null differ diff --git a/src/assets/back.jpg b/src/assets/back.jpg new file mode 100644 index 00000000..e4f50b07 Binary files /dev/null and b/src/assets/back.jpg differ diff --git a/src/components/card/og.tsx b/src/components/card/og.tsx index 00a9a497..8c339389 100644 --- a/src/components/card/og.tsx +++ b/src/components/card/og.tsx @@ -1,11 +1,9 @@ -import type { FC } from "react"; - export type OgCardProps = { name: string; backGroundPng: string; }; -export const OgCard: FC = ({ name, backGroundPng }) => ( +export const OgCard = ({ name, backGroundPng }: OgCardProps) => (
{ const { searchParams } = new URL(req.url); const name = searchParams.get("name")?.slice(0, 100) ?? "Alibum"; const backGroundPng = new URL( - "../../assets/OGP_.png", + "../../assets/back.jpg", import.meta.url, ).toString(); const font = fetch(