Version 2.2.0 release

This commit is contained in:
Maciej Pędzich 2021-01-05 22:13:31 +01:00
parent c5af399638
commit b27c3cff2a
4 changed files with 20 additions and 8 deletions

View File

@ -1,5 +1,11 @@
# Changelog # Changelog
## 2.2.0
- Change copyright header
- Add "cls" command, that clears screen (except for header)
- Apply `overflow: hidden` rule only on desktops, i.e. screen widths >= 1200 pixels
## 2.1.2 ## 2.1.2
- Even more minor changes - Even more minor changes

View File

@ -25,8 +25,10 @@
} }
} }
body { @media (min-width: 1200px) {
overflow: hidden; body {
overflow: hidden;
}
} }
body, body,

View File

@ -33,6 +33,9 @@ window.addEventListener('keypress', (evt) => {
He believes that by being creative and cooperating with others, you can achieve success. He believes that by being creative and cooperating with others, you can achieve success.
When not coding, he is probably watching an F1 race, or playing retro video games.`; When not coding, he is probably watching an F1 race, or playing retro video games.`;
break; break;
case 'cls':
cmdHistoryElement.textContent = '';
break;
case 'contact': case 'contact':
output.innerHTML = `Email address: output.innerHTML = `Email address:
<a href="mailto:contact@maciejpedzi.ch">contact@maciejpedzi.ch</a>`; <a href="mailto:contact@maciejpedzi.ch">contact@maciejpedzi.ch</a>`;
@ -42,18 +45,19 @@ window.addEventListener('keypress', (evt) => {
break; break;
case 'help': case 'help':
output.innerHTML = `<p>about - shows everything you need to know about Maciej</p> output.innerHTML = `<p>about - shows everything you need to know about Maciej</p>
<p>contact - displays contact information</p> <p>cls - clears screen</p>
<p>contact - displays contact information</p>
<p>github - opens Maciej's Github profile</p> <p>github - opens Maciej's Github profile</p>
<p>help - displays a list of available commands</p> <p>help - displays a list of available commands</p>
<p>skills - presents a set of current skills</p> <p>skills - presents a set of current skills</p>
<p>Use up and down arrows to retype commands</p>`; <p>If on desktop/laptop, use up and down arrows to retype commands</p>`;
break; break;
case 'skills': case 'skills':
output.innerHTML = `<p>Frontend: HTML, CSS, JavaScript, TypeScript, Vue.js</p> output.innerHTML = `<p>Frontend: HTML, CSS, JavaScript, TypeScript, Vue.js</p>
<p>Backend: JavaScript, TypeScript, Node.js, Express</p> <p>Backend: JavaScript, TypeScript, Node.js, Express</p>
<p>Database: MongoDB, PostgreSQL</p> <p>Database: MongoDB, PostgreSQL</p>
<p>Tooling: Git, Visual Studio Code, Linux Bash, Windows PowerShell</p> <p>Tooling: Git, Visual Studio Code, Bash, Windows PowerShell, Postman</p>
<p>Hosting/Deployment: Netlify, Amazon Web Services, MongoDB Atlas</p>`; <p>Hosting/Deployment: Netlify, Heroku, Amazon Web Services, MongoDB Atlas</p>`;
break; break;
} }

View File

@ -12,8 +12,8 @@
</head> </head>
<body> <body>
<div id="header"> <div id="header">
<p>maciejpedzi.ch [Version 2.1.2]</p> <p>maciejpedzi.ch [Version 2.2.0]</p>
<p>(c) Maciej Pedzich, 2020-<span id="current-year"></span></p> <p>(C) Maciej Pedzich <span id="current-year"></span></p>
<p id="hint">Welcome! Type 'help' for more information</p> <p id="hint">Welcome! Type 'help' for more information</p>
</div> </div>
<div id="cmd-history"></div> <div id="cmd-history"></div>