Skip to content

Commit

Permalink
Add resume link and command to display it in help
Browse files Browse the repository at this point in the history
  • Loading branch information
SahooBishwajeet committed Nov 17, 2024
1 parent 8168949 commit 77daf23
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"password": "3101",
"repository": "https://github.com/SahooBishwajeet/Portfolio.git",
"braindump": "https://letmesleep.sahoobishwajeet.xyz",
"resume": "https://drive.google.com/file/d/1WxHdQ2DXgDOaqZb2Ai5Cj17iV0dgj36N/view",
"social": {
"linkedin": "bishwajeet-sahoo",
"github": "SahooBishwajeet",
Expand Down
1 change: 1 addition & 0 deletions modules/commands/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const helpObj = {
["", ""],
["'cat about.me'", "About Me"],
["'curl repo'", "View the Github Repo."],
["'wget resume'", "Show my Resume."],
["'whoami'", "A very intriguing question."],
["", ""],
["'roasted'", "It's all on you, don't come crying to me."],
Expand Down
8 changes: 8 additions & 0 deletions modules/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@ const COMMANDS = [
"curl repo",
"neofetch",
"clear",
"wget resume",
];
const HISTORY: string[] = [];
const SUDO_PASSWORD = main.password;
const REPO_LINK = main.repository;
const BRAINDUMP = main.braindump;
const RESUME = main.resume;

const scrollToBottom = () => {
const MAIN = document.getElementById("main");
Expand Down Expand Up @@ -260,6 +262,12 @@ function commandHandler(input: string) {
window.open(REPO_LINK, "_blank");
}, 500);
break;
case "wget resume":
writeLines(["Loading resume...", "<br>"]);
setTimeout(() => {
window.open(RESUME, "_blank");
}, 500);
break;
case "linkedin":
//add stuff here
break;
Expand Down

0 comments on commit 77daf23

Please sign in to comment.