Skip to content

Commit 8028dab

Browse files
authored
Merge branch 'tangly1024:main' into martini
2 parents bb6a972 + d4c9f2c commit 8028dab

File tree

6 files changed

+2218
-16
lines changed

6 files changed

+2218
-16
lines changed

components/AOSAnimation.js

+2-8
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,8 @@ import { useEffect } from 'react'
1010
export default function AOSAnimation() {
1111
const initAOS = async () => {
1212
Promise.all([
13-
loadExternalResource(
14-
'https://cdn.bootcdn.net/ajax/libs/aos/2.3.4/aos.js',
15-
'js'
16-
),
17-
loadExternalResource(
18-
'https://cdn.bootcdn.net/ajax/libs/aos/2.3.4/aos.css',
19-
'css'
20-
)
13+
loadExternalResource('/js/aos.js', 'js'),
14+
loadExternalResource('/css/aos.css', 'css')
2115
]).then(() => {
2216
if (window.AOS) {
2317
window.AOS.init()

0 commit comments

Comments
 (0)