Revert "feat(loading): hide footer text when teaser appears and apply pulse animation to teaser text when typing completes"

This reverts commit 5e1a4656ed.
This commit is contained in:
DESKTOP-I1T6TF3\Q
2026-06-04 15:13:03 +08:00
parent a311c24f70
commit d19baa2127
+8 -2
View File
@@ -209,7 +209,7 @@ export function PlayCanvas({
waitForAudio: Boolean(audioBase64),
});
const { shown: typedTeaser, done: teaserDone } = useTypewriter(teaserText ?? "", "teaser_reset", {
const { shown: typedTeaser } = useTypewriter(teaserText ?? "", "teaser_reset", {
waitForAudio: false,
});
@@ -505,9 +505,15 @@ export function PlayCanvas({
<span className="text-[9px] smallcaps text-clay-400 tracking-[0.2em] font-sans">
· · ·
</span>
<p className={`font-serif leading-[2] text-clay-700 text-[13px] md:text-[15px] italic whitespace-pre-wrap text-left w-full ${teaserDone ? "animate-slow-pulse" : ""}`}>
<p className="font-serif leading-[2] text-clay-700 text-[13px] md:text-[15px] italic whitespace-pre-wrap text-left w-full">
{typedTeaser}
</p>
<div className="mt-2 md:mt-4 flex items-center gap-2.5">
<span className="w-1.5 h-1.5 bg-ember-500 rounded-full animate-slow-pulse" />
<span className="text-[9px] smallcaps text-clay-400">
· · · · · ·
</span>
</div>
</div>
) : (
<div className="flex flex-col items-center justify-center gap-4">