mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-07 07:26:46 +00:00
一点动效
This commit is contained in:
@@ -2,7 +2,13 @@ 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">
|
||||
<div
|
||||
data-aos="fade-down"
|
||||
data-aos-duration="500"
|
||||
data-aos-easing="ease-in-out"
|
||||
data-aos-once="false"
|
||||
data-aos-anchor-placement="top-center"
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user