Save visit flag in localStorage when tabCount reaches 8; update message to include additional reflection text

This commit is contained in:
암냥 2025-09-09 05:46:24 +09:00
commit be3cfc08c9

View file

@ -58,6 +58,7 @@ export default function SUPERCOMMAND() {
if ((event.code === "Space" || event.key === " ") && showPressSpace) {
// 원하는 이동 경로로 변경하세요:
if (tabCount === 8) {
localStorage.setItem('visited8', 'true'); // 방문 플래그 저장
const redirectList = [
"https://www.youtube.com/watch?v=DjGxGMxvg4M",
"https://www.youtube.com/watch?v=oQcaPVGUtuA",
@ -98,7 +99,7 @@ export default function SUPERCOMMAND() {
return (
<div id="supercommand" className="fixed bottom-5 left-5">
<h1 className="text-2xl"><span className="text-3xl font-bold">{tabCount}</span> Combo</h1>
{showPressSpace ? <p> </p> : null}
{showPressSpace ? <p> .{tabCount === 8 && localStorage.getItem('visited8') ? <p><br/> <br/> ? 믿 ?<br/> 1100 .</p> : null}</p> : null}
</div>
);
}