diff --git a/src/app/apple-icon.tsx b/src/app/apple-icon.tsx new file mode 100644 index 0000000..4359bd5 --- /dev/null +++ b/src/app/apple-icon.tsx @@ -0,0 +1,41 @@ +import { ImageResponse } from "next/og"; + +export const size = { width: 180, height: 180 }; +export const contentType = "image/png"; + +/** + * Apple-Touch-Icon fuer "Zum Home-Bildschirm hinzufuegen" auf iOS/iPadOS — + * Apple akzeptiert dafuer ausschliesslich PNG/JPG, kein SVG (anders als + * app/icon.svg, das moderne Chrome/Android direkt lesen, siehe + * app/manifest.ts). Ohne diese Datei nimmt iOS ersatzweise einen + * Screenshot der Seite als Icon — unbrandet und meist unbrauchbar. Gleiche + * Grafik wie app/icon.svg, per ImageResponse als Raster gerendert. + */ +export default function AppleIcon() { + return new ImageResponse( + ( + + + + + + + + + + + + + + + + + + + + + + ), + { ...size } + ); +}