feat: add og image, fixed #242

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-08-29 15:37:56 +08:00
parent 094a6684b6
commit 5d4e958656
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
5 changed files with 33 additions and 0 deletions

View File

@ -12,6 +12,23 @@
<!-- favicon -->
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<title>Follow</title>
<!-- Manifest -->
<link rel="manifest" href="/manifest.json" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Follow" />
<meta property="og:url" content="https://app.follow.is" />
<meta
property="og:image"
content="https://app.follow.is/opengraph-image.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Follow" />
<meta
name="twitter:image"
content="https://app.follow.is/opengraph-image.png"
/>
</head>
<body>
<div id="root">

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -0,0 +1,16 @@
{
"theme_color": "#ff5c00",
"name": "Follow",
"icons": [
{
"src": "/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB