Initial commit — BMP Website 2026
Vollständiges Redesign mit Gold-Formularen, BMP-Logo, multi-step Forms (Bewerbung, Kontakt, Sponsoring), Netlify-Deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
20
node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs
generated
vendored
Normal file
20
node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import { hasReducedMotionListener, prefersReducedMotion } from './state.mjs';
|
||||
|
||||
const isBrowser = typeof window !== "undefined";
|
||||
function initPrefersReducedMotion() {
|
||||
hasReducedMotionListener.current = true;
|
||||
if (!isBrowser)
|
||||
return;
|
||||
if (window.matchMedia) {
|
||||
const motionMediaQuery = window.matchMedia("(prefers-reduced-motion)");
|
||||
const setReducedMotionPreferences = () => (prefersReducedMotion.current = motionMediaQuery.matches);
|
||||
motionMediaQuery.addEventListener("change", setReducedMotionPreferences);
|
||||
setReducedMotionPreferences();
|
||||
}
|
||||
else {
|
||||
prefersReducedMotion.current = false;
|
||||
}
|
||||
}
|
||||
|
||||
export { hasReducedMotionListener, initPrefersReducedMotion, prefersReducedMotion };
|
||||
//# sourceMappingURL=index.mjs.map
|
||||
Reference in New Issue
Block a user