fix: accelerated the appearance of the text by 2 times
This commit is contained in:
parent
be8cc03f7f
commit
ed7f9e978a
@ -49,7 +49,7 @@ function CompatResultPage(): JSX.Element {
|
||||
setText(aICompat?.compat?.body || "Loading...");
|
||||
|
||||
return aICompat.compat;
|
||||
}, [api, rightUser, categoryId]);
|
||||
}, [api, rightUser, categoryId, birthdate]);
|
||||
|
||||
useApiCall<AICompats.ICompat | AIRequests.IAiRequest>(loadData);
|
||||
|
||||
|
||||
@ -16,12 +16,12 @@ function StartBreathModalChild({
|
||||
<div className={styles.text}>
|
||||
<Title variant="h4" className={styles["breathe-title"]}>
|
||||
{t("breathe-title").split("").map((symbol, index) => (
|
||||
<span className={styles["symbol"]} style={{ animationDelay: `${index * 0.1}s` }} key={index}>{symbol}</span>
|
||||
<span className={styles["symbol"]} style={{ animationDelay: `${index * 0.05}s` }} key={index}>{symbol}</span>
|
||||
))}
|
||||
</Title>
|
||||
<Title variant="h4" className={styles["breathe-subtitle"]}>
|
||||
{t("breathe-subtitle").split("").map((symbol, index) => (
|
||||
<span className={styles["symbol"]} style={{ animationDelay: `${(t("breathe-title").split("").length + index) * 0.1}s` }} key={index}>{symbol}</span>
|
||||
<span className={styles["symbol"]} style={{ animationDelay: `${(t("breathe-title").split("").length + index) * 0.05}s` }} key={index}>{symbol}</span>
|
||||
))}
|
||||
</Title>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user