| |
|
|
| document.addEventListener('DOMContentLoaded', () => { |
| |
| initLiveStreams(); |
| }); |
|
|
| function initLiveStreams() { |
| |
| const eventStream = document.querySelector('.event-stream'); |
| if (!eventStream) return; |
|
|
| |
| console.log("Phantom Motion Systems initialized."); |
| } |
|
|
| |
| const PhantomMotion = { |
| compile: (componentId) => { |
| return { |
| id: componentId, |
| status: 'compiled', |
| adapters: ['css', 'framer', 'gsap', 'waapi'] |
| }; |
| }, |
| reduceMotion: () => { |
| const mediaQuery = window.matchMedia('(prefers-reduced-motion: reduce)'); |
| return mediaQuery.matches; |
| } |
| }; |