forked from avi/signalelsewhere
Save point: Scene 3 text updated - TECH startups, 2s wait, LIKE MINDED text at 1.2rem
This commit is contained in:
12
index.html
12
index.html
@@ -106,7 +106,7 @@
|
|||||||
#scene2Text {
|
#scene2Text {
|
||||||
color: #00ff00;
|
color: #00ff00;
|
||||||
font-family: 'Courier New', monospace;
|
font-family: 'Courier New', monospace;
|
||||||
font-size: 6rem;
|
font-size: 1.2rem;
|
||||||
line-height: 2;
|
line-height: 2;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
@@ -680,10 +680,10 @@
|
|||||||
}, 300);
|
}, 300);
|
||||||
|
|
||||||
typewriterLines(
|
typewriterLines(
|
||||||
["LAB 484 IS AN INCUBATOR THAT HAS 11 DECENTRALIZED STARTUPS UNDERNEATH IT"],
|
["LAB 484 IS AN INCUBATOR THAT HAS 11 DECENTRALIZED TECH STARTUPS UNDERNEATH IT"],
|
||||||
textContainer,
|
textContainer,
|
||||||
() => {
|
() => {
|
||||||
// After typewriter text finishes, wait 3 seconds then type recruitment text
|
// After typewriter text finishes, wait 2 seconds then type recruitment text
|
||||||
iAmText.textContent = '';
|
iAmText.textContent = '';
|
||||||
iAmText.style.visibility = 'visible';
|
iAmText.style.visibility = 'visible';
|
||||||
|
|
||||||
@@ -700,7 +700,7 @@
|
|||||||
clearInterval(blinkInterval);
|
clearInterval(blinkInterval);
|
||||||
cursor.style.display = 'none';
|
cursor.style.display = 'none';
|
||||||
|
|
||||||
typeCalmly(iAmText, "WE ARE LOOKING FOR PEOPLE WHO WANT THE WORLD TO CHANGE AND ARE DOING SOMETHING ABOUT IT...", () => {
|
typeCalmly(iAmText, "WE ARE LOOKING TO PARTNER WITH PEOPLE WHO ARE LIKE MINDED", () => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
choiceBtns.forEach(btn => {
|
choiceBtns.forEach(btn => {
|
||||||
btn.style.display = 'block';
|
btn.style.display = 'block';
|
||||||
@@ -720,7 +720,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, 500);
|
}, 500);
|
||||||
}, 3000);
|
}, 2000);
|
||||||
},
|
},
|
||||||
200
|
200
|
||||||
);
|
);
|
||||||
@@ -784,7 +784,7 @@
|
|||||||
const creatorBtn = document.getElementById('creatorBtn');
|
const creatorBtn = document.getElementById('creatorBtn');
|
||||||
const builderBtn = document.getElementById('builderBtn');
|
const builderBtn = document.getElementById('builderBtn');
|
||||||
const developerBtn = document.getElementById('developerBtn');
|
const developerBtn = document.getElementById('developerBtn');
|
||||||
const fullText = "WE ARE LOOKING FOR PEOPLE WHO WANT THE WORLD TO CHANGE AND ARE DOING SOMETHING ABOUT IT...";
|
const fullText = "WE ARE LOOKING TO PARTNER WITH PEOPLE WHO ARE LIKE MINDED";
|
||||||
if (scene3.style.display === 'flex' && (cursor.style.display === 'block' || (iAmText.textContent.length > 0 && iAmText.textContent.length < fullText.length))) {
|
if (scene3.style.display === 'flex' && (cursor.style.display === 'block' || (iAmText.textContent.length > 0 && iAmText.textContent.length < fullText.length))) {
|
||||||
cursor.style.display = 'none';
|
cursor.style.display = 'none';
|
||||||
iAmText.textContent = fullText;
|
iAmText.textContent = fullText;
|
||||||
|
|||||||
Reference in New Issue
Block a user