perf: 299 JPG (235MB) → 150 WebP (26MB), serve from public/

This commit is contained in:
2026-07-31 12:34:03 +03:00
parent 3dd7ddfc66
commit 3f2df5fe94
450 changed files with 2 additions and 3 deletions
+2 -3
View File
@@ -11,10 +11,9 @@ import {
} from 'framer-motion'
import UnitRevealOverlay from './UnitRevealOverlay'
const TOTAL_FRAMES = 299
const CDN = 'https://media.ayris.tech/t'
const TOTAL_FRAMES = 150
const FRAME_PATH = (n: number) =>
`${CDN}/w_1920,f_webp,q_55/vesta/frames/ezgif-frame-${String(n).padStart(3, '0')}.jpg`
`/frames/frame-${String(n).padStart(3, '0')}.webp`
// Scroll aralığına göre opacity döndüren helper
function usePhaseOpacity(