Skip to content

Commit

Permalink
updated info
Browse files Browse the repository at this point in the history
  • Loading branch information
akp111 authored Jul 24, 2024
1 parent f3f2714 commit c0ce39c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
15 changes: 14 additions & 1 deletion components/terminal/terminalHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,26 @@ export const ListResponse = (inputData) => {
return inputData.map((item, i) => { return (<b key={i}>{item}{i == inputData.length - 1 ? "." : ","} </b>) })
}

export const LineByLineResponse = (inputData) => {
return inputData.map((item, i) => { return (<div>
<a href={item.cta} target="_blank"> <b>Title: {item.name}</b></a>
<p>{item.description}</p>
<p>-----------------------------------------------</p>
</div>) })
}

export const AboutResponse = (setCommandResponse) => {
const response =
(<SimpleGrid columns={1} spacing={2}>
<p>Heya! Ashis this side. I work as developer at Ethereum Push Notification Service (aka EPNS 🔔).</p>
<p>Heya! Ashis this side. I work as developer at Push Protocol.</p>
<p>I spend most of my time exploring <span>{ListResponse(GLOBAL_CONSTANTS.ABOUT_DABBLE)}</span></p>
<p>The tech stack I love working on are <span>{ListResponse(GLOBAL_CONSTANTS.ABOUT_LANGUAGE)}</span></p>
<p>In my spare time I love to <span>{ListResponse(GLOBAL_CONSTANTS.ABOUT_HOBBIES)}</span></p>
<p>Here are some of the projects I have build (Solo as well as with team)</p>
<div>
{LineByLineResponse(GLOBAL_CONSTANTS.PROJECTS)}
</div>
<div><a href={GLOBAL_CONSTANTS.RESUME_LINK} target="_blank">Link to my resume</a></div>
</SimpleGrid>);

setCommandResponse(response);
Expand Down
2 changes: 1 addition & 1 deletion components/welcome/welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function Welcome() {
{WELCOME_CONSTANTS.WELCOME_MESSAGE}
</Flex>
<Flex>
Type help to list the commands and have fun! (Note: WIP)
Type "about" to get details about me or "help" to list the commands and have fun! (Note: WIP)
</Flex>
</Container>

Expand Down
16 changes: 15 additions & 1 deletion constants/gloablConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,28 @@ const GLOBAL_CONSTANTS = {
HELP_COMMAND: `help`,
ABOUT_COMMAND: `about`,
CLEAR_COMMAND: `clear`,
ABOUT_LANGUAGE: ["Javasript", "NodeJS", "Typescript", "C++", "Solidity", "AWS",],
ABOUT_LANGUAGE: ["Javasript", "NodeJS", "Typescript", "C++", "Solidity", "AWS", "GCP", "Golang", "Rust"],
ABOUT_HOBBIES: ["Read", "Upskill", "Watch Anime and Web series"],
ABOUT_DABBLE: ["tech", "finance", "spirituality", "startup"],
COMMAND_LIST: {
about: "About Ashis",
help: "Show Commands",
clear: "Clear Screen"
},
PROJECTS: [{
name: "Formilo",
description: "A no code form generator using AI prompts",
cta: "https://no-code-form-generator-frontend-vofe-3rdr8otol-akp111s-projects.vercel.app/",
},{
name: "Rust Git CLI",
description: "A rust code that automates lot of git commds",
cta: "https://github.com/akp111/rust-git-cli",
},{
name: "Pipechain",
description: "An automation tool for web3 dapps",
cta: "https://pipe-chain-kngs.vercel.app/",
}],
RESUME_LINK: "https://drive.google.com/file/d/1ge_eunECdzQHzIIrBQorndXuf_kxhP5X/view?usp=sharing",
COMMAND_NOT_FOUND_MESSAGE: "Command doesnt' exists",
}

Expand Down

0 comments on commit c0ce39c

Please sign in to comment.