Save visit flag in localStorage when tabCount reaches 8; update message to include additional reflection text
This commit is contained in:
parent
e7b464b9fe
commit
be3cfc08c9
1 changed files with 2 additions and 1 deletions
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue