chore: update next.js and remove image optimize.
Some checks failed
🚀 Build and deploy by ftp / 🎉 Deploy (push) Failing after 17s

This commit is contained in:
2023-07-09 08:43:43 +00:00
parent 4f06f56754
commit 90a6a3d9d9
6 changed files with 402 additions and 226 deletions

View File

@@ -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">

View File

@@ -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"
/>