pull/48/head
kain 1 year ago
parent 9a41ba53a2
commit 6a1a671b3c

1
.gitignore vendored

@ -25,6 +25,7 @@ yarn-error.log*
# local env files # local env files
.env*.local .env*.local
Profile-2.pdf
# vercel # vercel
.vercel .vercel

@ -5,13 +5,13 @@
"ascii": "kain", "ascii": "kain",
"social": { "social": {
"github": "guilo360", "github": "guilo360",
"linkedin": "kain-meyer-scott-6a59b5326/" "linkedin": "kain-meyer-scott-6a59b5326"
}, },
"email": "kain.meyer-scott01@student.weltec.ac.nz", "email": "kain.meyer-scott01@student.weltec.ac.nz",
"ps1_hostname": "kains_site", "ps1_hostname": "kains_site",
"ps1_username": "guest", "ps1_username": "guest",
"repo": "https://github.com/guilo360/personal-site", "repo": "https://github.com/guilo360/personal-site",
"resume_url": "https://upload.wikimedia.org/wikipedia/commons/c/cc/Resume.pdf", "resume_url": "https://drive.google.com/file/d/1OwJ8mVoLkmgMXWaUAyVM-sAmVcP-m3Cm/view?usp=sharing",
"colors": { "colors": {
"light": { "light": {
"background": "#FBF1C9", "background": "#FBF1C9",

@ -0,0 +1,4 @@
# Config.json.md
## Notes
config.json is where most changes takes place

@ -38,9 +38,9 @@ More about me:
'readme' - my github readme.`; 'readme' - my github readme.`;
}; };
export const resume = async (args: string[]): Promise<string> => { export const cv = async (args: string[]): Promise<string> => {
window.open(`${config.resume_url}`); window.open(`${config.resume_url}`);
return 'Opening resume...'; return 'Opening CV...';
}; };
// Donate // Donate

@ -1,3 +1,3 @@
export * from './commands'; export * from './commands';
export * from './api_commands'; export * from './api_commands';
export { default as sumfetch } from './sumfetch'; export { default as hello } from './sumfetch';

@ -1,46 +1,25 @@
import config from '../../../config.json'; import config from '../../../config.json';
const sumfetch = async (args: string[]): Promise<string> => { const hello = async (args: string[]): Promise<string> => {
if (config.ascii === 'cveinnt') { return `
return `
@@@@@@@@@@@@@ sumfetch: summary display
@@@@ @@@@ -----------
@@ @@ ABOUT
@@ @@ ${config.name}
@@ @@ ${config.ps1_hostname}
@@ @@@ @@ <u><a href="${config.resume_url}" target="_blank">resume</a></u>
@@ @@@ @@ <u><a href="${config.repo}" target="_blank">Github repo</a></u>
@@ @@ -----------
@@ .@@@@@@@@@@. @@ CONTACT
@@ @@ @@ @@ <u><a href="mailto:${config.email}" target="_blank">${config.email}</a></u>
@@ @@ @@ @@ <u><a href="https://github.com/${config.social.github}" target="_blank">github.com/${config.social.github}</a></u>
@@ @@@@@@ @@ <u><a href="https://linkedin.com/in/${config.social.linkedin}" target="_blank">linkedin.com/in/${config.social.linkedin}</a></u>
@@@ @@@ -----------
@@@ @@@ @@
@| @@@@@@@@@@@@@@@@ @@
@| @@
`;
} else { # # ######## ######
return ` ########## #
  sumfetch # # # ##########
    ----------- # ## #
      ABOUT # ## # #
  ${config.name} # ## # #
        <u><a href="${config.resume_url}" target="_blank">resume</a></u> # # # ##
<u><a href="${config.repo}" target="_blank">Github repo</a></u>
  ----------- Kain Meyer-Scott
  > L I V E T E R M CONTACT
  <u><a href="mailto:${config.email}" target="_blank">${config.email}</a></u> <u><a href="${config.resume_url}" target="_blank">resume</a></u>
<u><a href="https://github.com/${config.social.github}" target="_blank">github.com/${config.social.github}</a></u> <u><a href="mailto:${config.email}" target="_blank">${config.email}</a></u>
        <u><a href="https://linkedin.com/in/${config.social.linkedin}" target="_blank">linkedin.com/in/${config.social.linkedin}</a></u> <u><a href="https://github.com/${config.social.github}" target="_blank">github.com/${config.social.github}</a></u>
  ----------- <u><a href="https://linkedin.com/in/${config.social.linkedin}" target="_blank">linkedin.com/in/${config.social.linkedin}</a></u
        DONATE
  
 
`; `;
}
}; };
export default sumfetch; export default hello;

Loading…
Cancel
Save