feat: Add image generation for React documentation pages
This commit is contained in:
parent
7d806f5dd8
commit
37c0177d07
7
app/pages/docs/react/+image.ts
Normal file
7
app/pages/docs/react/+image.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import type { PageContext } from "vike/types";
|
||||||
|
|
||||||
|
import { buildPublicUrl } from "@/buildPublicUrl";
|
||||||
|
|
||||||
|
export const image = (pageContext: PageContext) => {
|
||||||
|
return buildPublicUrl(pageContext, "/opengraph/react.png");
|
||||||
|
};
|
||||||
BIN
app/public/opengraph/react.png
Normal file
BIN
app/public/opengraph/react.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 93 KiB |
BIN
og_maker.afphoto
BIN
og_maker.afphoto
Binary file not shown.
Loading…
Reference in New Issue
Block a user