Add R2 image uploads to admin
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
yarnom 2026-06-04 14:31:45 +08:00
parent 9186801c7f
commit 49a0d078da
16 changed files with 809 additions and 14 deletions

View file

@ -0,0 +1,18 @@
<svg width="400" height="400" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="faviconGradient" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#e5485f"/>
<stop offset="100%" stop-color="#25aba4"/>
</linearGradient>
</defs>
<text
x="200"
y="250"
text-anchor="middle"
dominant-baseline="middle"
font-family="Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
font-size="270"
font-weight="800"
letter-spacing="-4"
fill="url(#faviconGradient)">´༥`</text>
</svg>

After

Width:  |  Height:  |  Size: 612 B

View file

@ -36,6 +36,7 @@ const rssUrl = absoluteUrl('/rss.xml');
<title>{pageTitle}</title>
<meta name="description" content={description} />
<meta name="robots" content="index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="canonical" href={canonicalUrl} />
<link rel="alternate" type="application/rss+xml" title={`${site.title} RSS`} href={rssUrl} />
<meta property="og:site_name" content={site.title} />