feat: serve frames & video from CDN (media.ayris.tech)

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