fix(hero): keep the word spacing in the welcome heading

The word-split helper joined spans with an empty string, so the sentences ran
together ('...ที่อยากดูขอบคุณครับ'). Join with a space; each word still animates
on its own.
This commit is contained in:
Bkk1234 committed 2026-11-20 14:33:58 +07:00
1 parent 64d4a9e703
commit e87e00896c
1 file changed
+1 -1
+1 -1
View File
@@ -129,5 +129,5 @@ export function splitWordsHtml(text, escape, startDelay = 140, step = 85) {
word,
)}</span></span>`,
)
.join("");
.join(" ");
}