chore: update next.js and remove image optimize.
Some checks failed
🚀 Build and deploy by ftp / 🎉 Deploy (push) Failing after 17s
Some checks failed
🚀 Build and deploy by ftp / 🎉 Deploy (push) Failing after 17s
This commit is contained in:
@@ -35,8 +35,8 @@ export default function AuthorLayout({ children, frontMatter }: Props) {
|
||||
<Image
|
||||
src={avatar}
|
||||
alt="avatar"
|
||||
width="192px"
|
||||
height="192px"
|
||||
width={192}
|
||||
height={192}
|
||||
className="h-48 w-48 rounded-full"
|
||||
/>
|
||||
<h3 className="pt-4 pb-2 text-2xl font-bold leading-8 tracking-tight">
|
||||
|
@@ -25,8 +25,8 @@ const Copyright = () => (
|
||||
<Image
|
||||
className="border-0"
|
||||
alt="知识共享许可协议"
|
||||
width="88"
|
||||
height="15"
|
||||
width={88}
|
||||
height={15}
|
||||
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
|
||||
/>
|
||||
</a>
|
||||
@@ -120,8 +120,8 @@ export default function PostLayout({
|
||||
{author.avatar && (
|
||||
<Image
|
||||
src={author.avatar}
|
||||
width="38px"
|
||||
height="38px"
|
||||
width={38}
|
||||
height={38}
|
||||
alt="avatar"
|
||||
className="h-10 w-10 rounded-full"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user