fix-lottie
This commit is contained in:
parent
7652b17e80
commit
bc8bed6b44
BIN
public/satisfied-no.webp
Normal file
BIN
public/satisfied-no.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 201 KiB |
@ -42,7 +42,7 @@ function Satisfied() {
|
|||||||
<section
|
<section
|
||||||
className={`${styles.page} page`}
|
className={`${styles.page} page`}
|
||||||
style={{
|
style={{
|
||||||
backgroundImage: `url(/satisfied-${satisfied}.png)`,
|
backgroundImage: `url(/satisfied-${satisfied}.webp)`,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Header
|
<Header
|
||||||
@ -50,12 +50,13 @@ function Satisfied() {
|
|||||||
isBackButtonVisible={false}
|
isBackButtonVisible={false}
|
||||||
/>
|
/>
|
||||||
{satisfied === "yes" && (
|
{satisfied === "yes" && (
|
||||||
<div
|
// <div
|
||||||
style={{
|
// style={{
|
||||||
width: "100%",
|
// width: "100%",
|
||||||
aspectRatio: "337 / 406",
|
// aspectRatio: "337 / 406",
|
||||||
}}
|
// }}
|
||||||
>
|
// >
|
||||||
|
<>
|
||||||
{animationSun && (
|
{animationSun && (
|
||||||
<DotLottieReact
|
<DotLottieReact
|
||||||
className={`${styles["lottie-animation"]} ym-hide-content`}
|
className={`${styles["lottie-animation"]} ym-hide-content`}
|
||||||
@ -64,7 +65,8 @@ function Satisfied() {
|
|||||||
loop={false}
|
loop={false}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</>
|
||||||
|
// </div>
|
||||||
)}
|
)}
|
||||||
{satisfied === "no" && (
|
{satisfied === "no" && (
|
||||||
<div
|
<div
|
||||||
|
|||||||
@ -75,3 +75,8 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #0f1323;
|
color: #0f1323;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lottie-animation {
|
||||||
|
width: 100%;
|
||||||
|
aspect-ratio: 337 / 406;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user