starter主题-Logo相关

This commit is contained in:
tangly1024
2024-11-09 21:14:07 +08:00
parent c2d932402c
commit 47b8d97420
2 changed files with 8 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ export default function LazyImage({
height,
title,
onLoad,
onClick,
style
}) {
const maxWidth = siteConfig('IMAGE_COMPRESS_WIDTH')
@@ -122,7 +123,9 @@ export default function LazyImage({
if (style) {
imgProps.style = style
}
if (onClick) {
imgProps.onClick = onClick
}
return (
<>
{/* eslint-disable-next-line @next/next/no-img-element */}