Skip to content

Commit

Permalink
docs: add night mode screenshot, fix a typo in terminal
Browse files Browse the repository at this point in the history
Renovamen committed May 8, 2021
1 parent 0c831cd commit cc6cf3f
Showing 6 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -4,7 +4,8 @@ My portfolio website simulating macOS's GUI: https://portfolio.zxh.io

Powered by [React](https://reactjs.org/) + [React Redux](https://react-redux.js.org/) + [tailwindcss](https://tailwindcss.com/).

![screenshot](./public/screenshots/screen.png)
![day](./public/screenshots/day.png)
![night](./public/screenshots/night.png)


 
Binary file added public/screenshots/day.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/screenshots/night.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/screenshots/screen.png
Binary file not shown.
5 changes: 2 additions & 3 deletions src/components/apps/Terminal.js
Original file line number Diff line number Diff line change
@@ -293,9 +293,8 @@ export default class Terminal extends Component {
// we can"t edit the past input
$input.setAttribute("readonly", true);

if (input_text === "rm -rf /" || input_text === "rm -rf /*") {
this.setState({ rmrf: true });
} else if (cmd && Object.keys(this.commands).includes(cmd)) {
if (input_text.substr(0, 6) === "rm -rf") this.setState({ rmrf: true });
else if (cmd && Object.keys(this.commands).includes(cmd)) {
this.commands[cmd](args);
} else {
this.generateResultRow(
2 changes: 1 addition & 1 deletion src/configs/terminal.js
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ const terminal = [
title: "interests.txt",
type: "file",
content:
"Machine Learning / Deep Learning / Continual Learning / Meta-Learning / Reinforcement Learning / Neutral Language Processing"
"Machine Learning / Deep Learning / Continual Learning / Meta-Learning / Reinforcement Learning / Natural Language Processing"
},
{
id: "about-who-cares",

0 comments on commit cc6cf3f

Please sign in to comment.