update video order
This commit is contained in:
@@ -16,15 +16,15 @@ function FloorOneToTwo(props) {
|
||||
className="video-wrapper"
|
||||
style={{
|
||||
position: 'fixed',
|
||||
top: 0,
|
||||
left: 0,
|
||||
top: '7px',
|
||||
left: '50px',
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
zIndex: -998,
|
||||
}}
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
exit={{ opacity: [1, 1, 0], transition: { duration: 0.5 } }}
|
||||
exit={{ opacity: 0, transition: { duration: 0, delay: 0.1 } }}
|
||||
>
|
||||
<video ref={vd} muted width={'100%'}>
|
||||
<source src="/video/1to2.webm" type="video/mp4" />
|
||||
|
||||
@@ -16,15 +16,15 @@ function FloorTwoToOne(props) {
|
||||
className="video-wrapper"
|
||||
style={{
|
||||
position: 'fixed',
|
||||
top: 0,
|
||||
left: 0,
|
||||
top: '7px',
|
||||
left: '50px',
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
zIndex: -998,
|
||||
}}
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
exit={{ opacity: [1, 1, 0], transition: { duration: 0.5 } }}
|
||||
exit={{ opacity: 0, transition: { duration: 0.2, delay: 0.2 } }}
|
||||
>
|
||||
<video ref={vd} muted width={'100%'}>
|
||||
<source src="/video/2to1.webm" type="video/mp4" />
|
||||
|
||||
Reference in New Issue
Block a user