perf: 299 JPG (235MB) → 150 WebP (26MB), serve from public/
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user