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
## 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
- Even more minor changes

View File

@ -25,8 +25,10 @@
}
}
body {
overflow: hidden;
@media (min-width: 1200px) {
body {
overflow: hidden;
}
}
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.
When not coding, he is probably watching an F1 race, or playing retro video games.`;
break;
case 'cls':
cmdHistoryElement.textContent = '';
break;
case 'contact':
output.innerHTML = `Email address:
<a href="mailto:contact@maciejpedzi.ch">contact@maciejpedzi.ch</a>`;
@ -42,18 +45,19 @@ window.addEventListener('keypress', (evt) => {
break;
case 'help':
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>help - displays a list of available commands</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;
case 'skills':
output.innerHTML = `<p>Frontend: HTML, CSS, JavaScript, TypeScript, Vue.js</p>
<p>Backend: JavaScript, TypeScript, Node.js, Express</p>
<p>Database: MongoDB, PostgreSQL</p>
<p>Tooling: Git, Visual Studio Code, Linux Bash, Windows PowerShell</p>
<p>Hosting/Deployment: Netlify, Amazon Web Services, MongoDB Atlas</p>`;
<p>Tooling: Git, Visual Studio Code, Bash, Windows PowerShell, Postman</p>
<p>Hosting/Deployment: Netlify, Heroku, Amazon Web Services, MongoDB Atlas</p>`;
break;
}

View File

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