mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-02 23:16:51 +00:00
use animatecss + wow
This commit is contained in:
@@ -37,6 +37,7 @@ const loadExternal = async () => {
|
||||
await loadExternalResource('https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.5/swiper-bundle.min.js', 'js');
|
||||
await loadExternalResource('https://cdnjs.cloudflare.com/ajax/libs/Swiper/11.0.5/swiper-bundle.css', 'css');
|
||||
await loadExternalResource('https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js', 'js');
|
||||
// 配合animatecss 实现延时滚动动画,和AOS动画相似
|
||||
const WOW = window.WOW;
|
||||
if (WOW) {
|
||||
new WOW().init();
|
||||
@@ -60,7 +61,8 @@ const LayoutBase = (props) => {
|
||||
|
||||
return <>
|
||||
<Style/>
|
||||
<div id='theme-landing-2' className="flex flex-col justify-between bg-white dark:bg-black">
|
||||
<div id='theme-landing-2'>
|
||||
|
||||
<NavBar/>
|
||||
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user