Skip to content

Commit 5c38066

Browse files
committed
fix(website): 公安备案徽标补尺寸并抑制 no-img-element 误报
1 parent e30f1b4 commit 5c38066

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎website/components/Footer.tsx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ export function Footer() {
9696
rel="noreferrer"
9797
className="flex items-center gap-1 text-kb-text3 hover:text-kb-text2 transition-colors duration-300"
9898
>
99-
{/* 公安备案官方徽标按原尺寸(36×40)展示,不缩放避免模糊 */}
100-
<img src="/beian.png" alt="" />
99+
{/* 公安备案官方徽标按原尺寸(36×40)展示,不缩放避免模糊。
100+
next/image 对静态徽标无增益且需额外 loader 配置,此处保留原生 img */}
101+
{/* eslint-disable-next-line @next/next/no-img-element */}
102+
<img src="/beian.png" alt="" width={36} height={40} />
101103
闽公网安备35052102000672号
102104
</a>
103105
</div>

0 commit comments

Comments
 (0)