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
|
||||
className={`${styles.page} page`}
|
||||
style={{
|
||||
backgroundImage: `url(/satisfied-${satisfied}.png)`,
|
||||
backgroundImage: `url(/satisfied-${satisfied}.webp)`,
|
||||
}}
|
||||
>
|
||||
<Header
|
||||
@ -50,12 +50,13 @@ function Satisfied() {
|
||||
isBackButtonVisible={false}
|
||||
/>
|
||||
{satisfied === "yes" && (
|
||||
<div
|
||||
style={{
|
||||
width: "100%",
|
||||
aspectRatio: "337 / 406",
|
||||
}}
|
||||
>
|
||||
// <div
|
||||
// style={{
|
||||
// width: "100%",
|
||||
// aspectRatio: "337 / 406",
|
||||
// }}
|
||||
// >
|
||||
<>
|
||||
{animationSun && (
|
||||
<DotLottieReact
|
||||
className={`${styles["lottie-animation"]} ym-hide-content`}
|
||||
@ -64,7 +65,8 @@ function Satisfied() {
|
||||
loop={false}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
// </div>
|
||||
)}
|
||||
{satisfied === "no" && (
|
||||
<div
|
||||
|
||||
@ -75,3 +75,8 @@
|
||||
background-color: #fff;
|
||||
color: #0f1323;
|
||||
}
|
||||
|
||||
.lottie-animation {
|
||||
width: 100%;
|
||||
aspect-ratio: 337 / 406;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user