Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jul 13, 2024
2 parents 0a6d56d + d4c9f2c commit a3d2813
Show file tree
Hide file tree
Showing 6 changed files with 2,218 additions and 16 deletions.
10 changes: 2 additions & 8 deletions components/AOSAnimation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,8 @@ import { useEffect } from 'react'
export default function AOSAnimation() {
const initAOS = async () => {
Promise.all([
loadExternalResource(
'https://cdn.bootcdn.net/ajax/libs/aos/2.3.4/aos.js',
'js'
),
loadExternalResource(
'https://cdn.bootcdn.net/ajax/libs/aos/2.3.4/aos.css',
'css'
)
loadExternalResource('/js/aos.js', 'js'),
loadExternalResource('/css/aos.css', 'css')
]).then(() => {
if (window.AOS) {
window.AOS.init()
Expand Down
Loading

0 comments on commit a3d2813

Please sign in to comment.