Skip to content

Commit

Permalink
Update config.json and achievements.ts to include new achievement det…
Browse files Browse the repository at this point in the history
…ails; adjust formatting in achievements.ts; add "achievements" command to COMMANDS list in main.ts

The config.json file has been updated to
  • Loading branch information
abhijit-23blaze committed Apr 17, 2024
1 parent 674f8da commit 548e850
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
14 changes: 7 additions & 7 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"big" : [

[
"ICDICT",
"ICDCIT'24 :1st runnerup",
"Feb '24",
"by ??",
"ICDCIT commitee @KIIT bhuvaneshwar",
"useful link 1",
"useful link 2",
"Project description long1",
Expand All @@ -56,9 +56,9 @@
"Project description long5"
],
[
"ICDICT",
"Feb '24",
"by??",
"App-a-thon :2nd runnerup",
"Mar '24",
"i-Labs Hyderabad",
"useful link 1",
"useful link 2",
"Project description long1",
Expand All @@ -68,9 +68,9 @@
"Project description long5"
],
[
"ICDICT",
"GGJ '24 :3rd runnerup",
"Feb '24",
"by ??",
"Global Game Jam @IIITS",
"useful link 1",
"useful link 2",
"Project description long1",
Expand Down
7 changes: 5 additions & 2 deletions src/commands/achievements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const createProject = () : string[] => {
let link = `<span class = 'projectname'>${ele[0]}</span>`
// string += SPACE.repeat(1);
string += link;
string += SPACE.repeat(16 - ele[0].length);
// string += ele[1];
string += SPACE.repeat(25 - ele[0].length);
string += "by: ";
// string += SPACE.repeat(20 - ele[1].length);
string += ele[2];

Expand All @@ -36,6 +36,9 @@ const createProject = () : string[] => {
projects.push("<br>");
projects.push(ele[3]);
projects.push(ele[4]);
projects.push("<br>");
projects.push("<br>");

string = '';

});
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const PRE_USER = document.getElementById("pre-user");
const HOST = document.getElementById("host");
const USER = document.getElementById("user");
const PROMPT = document.getElementById("prompt");
const COMMANDS = ["help", "about", "projects", "whoami", "banner", "clear", "hackme", "sudo", "s/github", "s/linkedin", "s/instagram", "s/discord", "s/gcloud", "s/gdeveloper", "s/unity", "s/email"];
const COMMANDS = ["help", "about", "projects", "whoami", "banner", "clear", "hackme", "sudo", "s/github", "s/linkedin", "s/instagram", "s/discord", "s/gcloud", "s/gdeveloper", "s/unity", "s/email", "achievements"];
const HISTORY : string[] = [];
const SUDO_PASSWORD = command.password;
const GIT_LINK = command.gitLink;
Expand Down

0 comments on commit 548e850

Please sign in to comment.