diff --git a/themes/matery/LayoutBase.js b/themes/matery/LayoutBase.js
index 63c5ebc9..c529c788 100644
--- a/themes/matery/LayoutBase.js
+++ b/themes/matery/LayoutBase.js
@@ -9,10 +9,7 @@ import Live2D from '@/components/Live2D'
import LoadingCover from './components/LoadingCover'
import { useGlobal } from '@/lib/global'
import BLOG from '@/blog.config'
-import AOS from 'aos'
-import 'aos/dist/aos.css' // You can also use for styles
import FloatDarkModeButton from './components/FloatDarkModeButton'
-import { isBrowser } from '@/lib/utils'
/**
* 基础布局 采用左右两侧布局,移动端使用顶部导航栏
@@ -45,10 +42,6 @@ const LayoutBase = props => {
return () => document.removeEventListener('scroll', scrollListener)
}, [show])
- if (isBrowser()) {
- AOS.init()
- }
-
return (
diff --git a/themes/next/LayoutBase.js b/themes/next/LayoutBase.js
index db2edcc6..81cb5037 100644
--- a/themes/next/LayoutBase.js
+++ b/themes/next/LayoutBase.js
@@ -14,9 +14,6 @@ import smoothscroll from 'smoothscroll-polyfill'
import CONFIG_NEXT from './config_next'
import Live2D from '@/components/Live2D'
import BLOG from '@/blog.config'
-import AOS from 'aos'
-import 'aos/dist/aos.css' // You can also use for styles
-import { isBrowser } from '@/lib/utils'
/**
* 基础布局 采用左右两侧布局,移动端使用顶部导航栏
@@ -62,10 +59,6 @@ const LayoutBase = (props) => {
return () => document.removeEventListener('scroll', scrollListener)
}, [show])
- if (isBrowser()) {
- AOS.init()
- }
-
return (<>