diff --git a/react/resume/src/Base.js b/react/resume/src/Base.js index 6a49030..905e74f 100644 --- a/react/resume/src/Base.js +++ b/react/resume/src/Base.js @@ -8,14 +8,31 @@ Welcome to my resume! Type 'help' for list of commands. `; +const inputStyle = { color: '#2e8b7e', fontWeight: 'bold' }; + export class Base extends Component { render() { return ( + user@blek.codes + ~/resume + ( + master + ) + $ + + } + style={{height:'100%'}} + + promptLabelStyle={inputStyle} + inputTextStyle={{...inputStyle, color: '#5ba2b0', transform: 'translateY(2px)'}} + + styleEchoBack={'fullInherit'} /> ) } diff --git a/react/resume/src/emulation/commands/index.js b/react/resume/src/emulation/commands/index.js index a21d8c0..2a59744 100644 --- a/react/resume/src/emulation/commands/index.js +++ b/react/resume/src/emulation/commands/index.js @@ -1,8 +1,6 @@ import Files from '../files'; -const Colored = (p) => { - return {...p.children} -} +import Colored from '../../helpers/color'; module.exports = { cat: { @@ -19,28 +17,6 @@ module.exports = { }, skills: { description: 'My skills data', - fn: () => { - return (
-                Web dev (PHP & JS)
-                
- [#####] 100%
- My main work field
-
- - C/C++/Rust native dev
- [## ] 40%
- I do this... sometimes
-
- - Linux skills
- [#####] 100%
- Do this all the time. I run linux on my laptop, pc and server
-
- - Being cishet
- [ ] 0%
- Never liked it
-
) - } + fn: require('./skills') } } \ No newline at end of file diff --git a/react/resume/src/emulation/commands/skills.js b/react/resume/src/emulation/commands/skills.js new file mode 100644 index 0000000..ab5c8e4 --- /dev/null +++ b/react/resume/src/emulation/commands/skills.js @@ -0,0 +1,26 @@ +import Colored from '../../helpers/color'; + +module.exports = () => { + return (
+        Web dev (PHP & JS)
+        
+ [#####] 100%
+ My main work field
+
+ + C/C++/Rust native dev
+ [## ] 40%
+ I do this... sometimes
+
+ + Linux skills
+ [#####] 100%
+ Do this all the time. I run linux on my laptop, pc and server
+
+ + Being cishet
+ [ ] 0%
+ Never liked it
+
+
) +} \ No newline at end of file diff --git a/react/resume/src/emulation/files.js b/react/resume/src/emulation/files.js index a50dd1e..c77f3d6 100644 --- a/react/resume/src/emulation/files.js +++ b/react/resume/src/emulation/files.js @@ -7,6 +7,8 @@ module.exports = { Hi! This is my online resume.
You can browse files with ls, and read them with cat. +
+ Also check out skills. , 'super_secret_password.txt': uwu, diff --git a/react/resume/src/helpers/color.js b/react/resume/src/helpers/color.js new file mode 100644 index 0000000..31b552c --- /dev/null +++ b/react/resume/src/helpers/color.js @@ -0,0 +1,3 @@ +module.exports = (p) => { + return {...p.children} +} \ No newline at end of file