mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-17 23:16:50 +00:00
header 动画
This commit is contained in:
@@ -21,7 +21,11 @@ export default function HeaderArticle({ post, siteInfo }) {
|
||||
return (
|
||||
<div
|
||||
id="header"
|
||||
className="w-full h-96 relative md:flex-shrink-0 overflow-hidden bg-cover bg-center bg-no-repeat animate__animated animate__fadeIn z-10"
|
||||
data-aos="fade-down"
|
||||
data-aos-duration="300"
|
||||
data-aos-once="true"
|
||||
data-aos-anchor-placement="top-bottom"
|
||||
className="w-full h-96 relative md:flex-shrink-0 overflow-hidden bg-cover bg-center bg-no-repeat z-10"
|
||||
style={{ backgroundImage: headerImage }}
|
||||
>
|
||||
<header id='article-header-cover'
|
||||
|
||||
@@ -7,9 +7,9 @@ export default function HeaderArticle({ post, siteInfo }) {
|
||||
<div
|
||||
data-aos="fade-down"
|
||||
data-aos-duration="300"
|
||||
data-aos-once="false"
|
||||
data-aos-once="true"
|
||||
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">
|
||||
id='header' className="flex h-96 justify-center align-middle items-center w-full relative bg-black">
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
{/* <img
|
||||
src={headerImage}
|
||||
|
||||
Reference in New Issue
Block a user