modal duration change, AI face mirror banner video no longer full screens on mobile

This commit is contained in:
Victor committed 2024-07-29 16:59:35 -07:00
1 parent 57014b92f3
commit ecb6cbd431
2 files changed
+4 -2

No files matched your search

@@ -21,7 +21,7 @@ export default function ModalLayer({
const tintTransition = useTransition(modalOpen, {
config: {
easing: modalOpen ? easings.easeOutQuad : easings.easeInQuad,
duration: 175,
duration: 250,
},
from: { opacity: 0 },
enter: { opacity: 1 },
@@ -84,7 +84,9 @@ export default function AIFaceMirror({ sessionSubscriptionsWrapper }: Props) {
<Container className="mt-3">
<Panel {...{ className: "fy-ai-face-mirror-panel" }}>
<header {...{ className: "fy-ai-face-mirror-header" }}>
<video autoPlay muted loop id="myVideo">
<video
{...{ autoPlay: true, muted: true, loop: true, playsInline: true }}
>
<source src="/videos/motion_mirror_bg_04.mp4" type="video/mp4" />
</video>
<div {...{ className: "fy-ai-face-mirror-header-content" }}>