mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
style: optimize animation durations and details
This commit is contained in:
parent
eb82a7d2f2
commit
1db68e8716
11 changed files with 13 additions and 31 deletions
|
@ -3,7 +3,7 @@ import { gsap } from 'gsap'
|
|||
|
||||
function setupPostPageAnimation() {
|
||||
const allElements = Array.from(document.querySelectorAll('#gsap-post-page-content > *, #gsap-post-page-tags, #waline'))
|
||||
const tocListChildren = Array.from(document.querySelectorAll('#toc-list > *')).slice(0, 20)
|
||||
const tocListChildren = Array.from(document.querySelectorAll('#toc-list > *'))
|
||||
const dateElement = document.getElementById('gsap-post-page-date')
|
||||
const backButton = document.getElementById('back-button')
|
||||
const tocIcon = document.getElementById('toc-icon')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue