redirecter for ao3 that adds opengraph metadata

add favicon; setup opengraph card for homepage

src/app/android-chrome-192x192.png

This is a binary file and will not be displayed.

src/app/android-chrome-512x512.png

This is a binary file and will not be displayed.

src/app/apple-touch-icon.png

This is a binary file and will not be displayed.

src/app/favicon 2.ico

This is a binary file and will not be displayed.

src/app/favicon-16x16.png

This is a binary file and will not be displayed.

src/app/favicon-32x32.png

This is a binary file and will not be displayed.

+26
src/app/page.js
··· 1 + import { ImageResponse } from "next/og" 1 2 import styles from "./page.module.css"; 3 + 4 + export const metadata = { 5 + title: process.env.SITENAME, 6 + description: process.env.DESCRIPTION, 7 + openGraph: { 8 + description: process.env.DESCRIPTION, 9 + images: [new ImageResponse( 10 + ( 11 + <div 12 + style={{ 13 + backgroundColor: '#990000', 14 + color: '#FFFFFF', 15 + display: 'flex', 16 + alignItems: 'center', 17 + justifyContent: 'center', 18 + width: '100%', 19 + height: '100%' 20 + }} 21 + > 22 + {process.env.SITENAME} 23 + </div> 24 + ) 25 + )] 26 + } 27 + } 2 28 3 29 export default function Index() { 4 30 return (