微调交互、样式

This commit is contained in:
tangly1024
2022-12-27 10:44:35 +08:00
parent 7224b102fc
commit 35e2a282d3
3 changed files with 16 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ export default function HeaderArticle({ post, siteInfo }) {
const headerImage = post?.page_cover ? post?.page_cover : siteInfo?.pageCover
const title = post?.title
return (
<div id='header' className="flex h-96 justify-center align-middle items-center w-full relative duration-200 bg-black rounded-t-md">
<div id='header' className="flex h-96 justify-center align-middle items-center w-full relative duration-200 bg-black">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={headerImage}