aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/shared.ts32
1 files changed, 22 insertions, 10 deletions
diff --git a/src/routes/shared.ts b/src/routes/shared.ts
index 5d20dd6..caefe05 100644
--- a/src/routes/shared.ts
+++ b/src/routes/shared.ts
@@ -305,22 +305,34 @@ export const ttyLines: TTYText[] = (() => {
wait(1000);
clear();
text(
- [`Hi! I'm a`],
- [''],
+ [`Hi! `],
+ ['I\'m'],
[
- ` software developer.\nI do shit like the hellhole you're seeing right now, amongst other things.\n\n`,
+ ` a software developer.\n`,
],
+ ['I do'],
+ [
+ ` shit like the hellhole the reader is seeing right now, amongst other things.\n\n`
+ ]
);
wait(300);
- for (const c of ' transfem'.split('')) {
+ for (const c of 'This one is'.split('').map((_, i, a) => a.slice(0, i + 1).join(''))) {
+ replaceLast((l) => {
+ l[1][0] = l[1][0].substring(c.length) + c;
+ return l;
+ });
+ wait(70);
+ }
+ wait(300);
+ for (const c of 'It does'.split('').map((_, i, a) => a.slice(0, i + 1).join(''))) {
replaceLast((l) => {
- l[1][0] += c;
+ l[3][0] = l[3][0].substring(c.length) + c;
return l;
});
wait(70);
}
text([
- 'Places you can find me:',
+ 'Places the reader can find it:',
{
colour: '#7a7a7a',
},
@@ -383,7 +395,7 @@ export const ttyLines: TTYText[] = (() => {
);
wait(600);
text([
- '\nYou may find these useful:',
+ '\nThe reader may find these useful:',
{
colour: '#7a7a7a',
},
@@ -521,7 +533,7 @@ export const ttyLines: TTYText[] = (() => {
]);
wait(100);
text([
- '\nDid you know: this is all pure css animation hell.',
+ '\nFun fact: this is all pure css animation hell.',
{
colour: '#7a7a7a',
},
@@ -531,14 +543,14 @@ export const ttyLines: TTYText[] = (() => {
`<button style="padding: 12px 12px;background: #fff2;margin-top: 0.4rem;border-radius: 0.7rem;opacity:0.1;margin-top:3rem;" data-el="le funny button">have a button :3</button>`,
{
raw: true,
- url: () => alert('i abused too much css for this i wanna cry now'),
+ url: () => alert('it abused too much css for this it wants to cry now'),
},
]);
wait(200);
text(
{ renderrestriction: 'js-only' },
[
- 'next time, you may want to ',
+ 'next time, the reader may want to ',
{
colour: '#fff2',
},