mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-03 15:10:19 +00:00
performance
This commit is contained in:
@@ -29,7 +29,6 @@ export default function ArticleDetail(props) {
|
||||
<div id="container"
|
||||
data-aos="fade-down"
|
||||
data-aos-duration="300"
|
||||
data-aos-easing="ease-in-out"
|
||||
data-aos-once="true"
|
||||
data-aos-anchor-placement="top-bottom"
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ const Card = ({ children, headerSlot, className }) => {
|
||||
return <div
|
||||
data-aos="fade-down"
|
||||
data-aos-duration="300"
|
||||
data-aos-easing="ease-in-out"
|
||||
data-aos-once="true"
|
||||
data-aos-anchor-placement="top-bottom"
|
||||
className={className}>
|
||||
|
||||
@@ -19,7 +19,6 @@ const PaginationNumber = ({ page, totalPage }) => {
|
||||
<div
|
||||
data-aos="fade-down"
|
||||
data-aos-duration="300"
|
||||
data-aos-easing="ease-in-out"
|
||||
data-aos-once="false"
|
||||
data-aos-anchor-placement="top-bottom"
|
||||
className="my-5 flex justify-center items-end font-medium text-black hover:shadow-xl duration-500 bg-white dark:bg-hexo-black-gray dark:text-gray-300 py-3 shadow space-x-2">
|
||||
@@ -62,7 +61,7 @@ const PaginationNumber = ({ page, totalPage }) => {
|
||||
</div>
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
function getPageElement(pagePrefix, page, currentPage) {
|
||||
@@ -81,7 +80,7 @@ function getPageElement(pagePrefix, page, currentPage) {
|
||||
{page}
|
||||
|
||||
</Link>)
|
||||
);
|
||||
)
|
||||
}
|
||||
function generatePages(pagePrefix, page, currentPage, totalPage) {
|
||||
const pages = []
|
||||
|
||||
@@ -18,7 +18,6 @@ const PaginationSimple = ({ page, showNext }) => {
|
||||
<div
|
||||
data-aos="fade-down"
|
||||
data-aos-duration="300"
|
||||
data-aos-easing="ease-in-out"
|
||||
data-aos-once="false"
|
||||
data-aos-anchor-placement="top-bottom"
|
||||
className="my-10 flex justify-between font-medium text-black dark:text-gray-100 space-x-2">
|
||||
@@ -58,7 +57,7 @@ const PaginationSimple = ({ page, showNext }) => {
|
||||
</button>
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
export default PaginationSimple
|
||||
|
||||
@@ -28,7 +28,6 @@ const SideAreaLeft = props => {
|
||||
<section
|
||||
data-aos="fade-down"
|
||||
data-aos-duration="300"
|
||||
data-aos-easing="ease-in-out"
|
||||
data-aos-once="false"
|
||||
data-aos-anchor-placement="top-bottom"
|
||||
className='w-60'>
|
||||
|
||||
Reference in New Issue
Block a user