添加页尾二维码

This commit is contained in:
2025-12-11 11:04:30 +08:00
parent 56adde8aa0
commit 8fb6ba2f22
3 changed files with 3 additions and 4 deletions

View File

@@ -19,9 +19,8 @@ export default createMDX({
], ],
images: { images: {
localPatterns: [ localPatterns: [
{ {pathname: '/captcha'},
pathname: '/captcha', {pathname: '/img/*'},
},
], ],
remotePatterns: [ remotePatterns: [
{ {

BIN
public/img/qrcode.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -9,7 +9,7 @@ export default function Footer(props: FooterProps) {
<Wrap className="flex flex-col px-4 py-8 lg:p-12"> <Wrap className="flex flex-col px-4 py-8 lg:p-12">
<div className="flex-auto overflow-hidden flex flex-wrap justify-between"> <div className="flex-auto overflow-hidden flex flex-wrap justify-between">
<div className="flex flex-col lg:items-center gap-2 max-lg:w-1/2"> <div className="flex flex-col lg:items-center gap-2 max-lg:w-1/2">
<Image src="/qrcode.svg" alt="logo" width={80} height={80} className="flex-none size-20 sm:size-44 bg-gray-100"/> <Image src="/img/qrcode.jpg" alt="logo" width={80} height={80} unoptimized className="flex-none size-20 sm:size-44 bg-gray-100"/>
<span className="text-sm text-gray-400"></span> <span className="text-sm text-gray-400"></span>
</div> </div>