Compare commits
No commits in common. "8d841a6bff707c23f71c49e29cb8051674d1bf15" and "8d9b9061fb542c9b33e4d10afe9fcb3ae31c7932" have entirely different histories.
8d841a6bff
...
8d9b9061fb
|
@ -5,7 +5,7 @@ div#resume_js_app {
|
||||||
border: 1px solid #e1e1e1;
|
border: 1px solid #e1e1e1;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
box-shadow: 0 2px 4px #30303060;
|
box-shadow: 0 2px 4px #30303060;
|
||||||
/* padding: 10px 8px;*/
|
padding: 10px 8px;
|
||||||
color: #e1e1e1;
|
color: #e1e1e1;
|
||||||
}
|
}
|
||||||
div#resume_js_app * {
|
div#resume_js_app * {
|
||||||
|
|
|
@ -8,31 +8,13 @@ Welcome to my resume!
|
||||||
Type 'help' for list of commands.
|
Type 'help' for list of commands.
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const inputStyle = { color: '#2e8b7e', fontWeight: 'bold' };
|
|
||||||
|
|
||||||
export class Base extends Component {
|
export class Base extends Component {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Terminal
|
<Terminal
|
||||||
commands={commands}
|
commands={commands}
|
||||||
welcomeMessage={welcome}
|
welcomeMessage={welcome}
|
||||||
promptLabel={
|
promptLabel={'user@blek.codes/resume~$'}
|
||||||
<pre>
|
|
||||||
user@blek.codes
|
|
||||||
<span style={{color: '#2968ac'}}> ~/resume </span>
|
|
||||||
<span style={{color: '#ff5092'}}>(
|
|
||||||
<span style={{color:'limegreen'}}>master</span>
|
|
||||||
) </span>
|
|
||||||
$
|
|
||||||
</pre>
|
|
||||||
}
|
|
||||||
|
|
||||||
style={{height:'100%'}}
|
|
||||||
|
|
||||||
promptLabelStyle={inputStyle}
|
|
||||||
inputTextStyle={{...inputStyle, color: '#5ba2b0', transform: 'translateY(2px)'}}
|
|
||||||
|
|
||||||
styleEchoBack={'fullInherit'}
|
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import Files from '../files';
|
import Files from '../files';
|
||||||
|
|
||||||
import Colored from '../../helpers/color';
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
cat: {
|
cat: {
|
||||||
description: 'Show contents of a file',
|
description: 'Show contents of a file',
|
||||||
|
@ -10,13 +8,7 @@ module.exports = {
|
||||||
ls: {
|
ls: {
|
||||||
description: 'Show files in current directory',
|
description: 'Show files in current directory',
|
||||||
fn: ()=>{
|
fn: ()=>{
|
||||||
return <pre style={{color: '#2e8b7e', fontWeight: 'bold'}}>
|
return Object.keys(Files).join(' ');
|
||||||
{Object.keys(Files).join(' ')}
|
}
|
||||||
</pre>;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
skills: {
|
|
||||||
description: 'My skills data',
|
|
||||||
fn: require('./skills')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,26 +0,0 @@
|
||||||
import Colored from '../../helpers/color';
|
|
||||||
|
|
||||||
module.exports = () => {
|
|
||||||
return (<pre>
|
|
||||||
<Colored color='#00ffe7'>Web dev (PHP & JS)</Colored>
|
|
||||||
<br/>
|
|
||||||
[#####] 100%<br/>
|
|
||||||
My main work field<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<Colored color='#cc6a6a'>C/C++/Rust native dev</Colored><br/>
|
|
||||||
[## ] 40%<br/>
|
|
||||||
I do this... sometimes<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<Colored color='#7dadd7'>Linux skills</Colored><br/>
|
|
||||||
[#####] 100%<br/>
|
|
||||||
Do this all the time. I run linux on my laptop, pc and server<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<Colored color='#2e8b7e'>Being cishet</Colored><br/>
|
|
||||||
[ ] 0%<br/>
|
|
||||||
Never liked it<br/>
|
|
||||||
<br/>
|
|
||||||
</pre>)
|
|
||||||
}
|
|
|
@ -7,9 +7,7 @@ module.exports = {
|
||||||
Hi! This is my online resume.
|
Hi! This is my online resume.
|
||||||
<br/>
|
<br/>
|
||||||
You can browse files with <Hi>ls</Hi>, and read them with <Hi>cat</Hi>.
|
You can browse files with <Hi>ls</Hi>, and read them with <Hi>cat</Hi>.
|
||||||
<br/>
|
|
||||||
Also check out <Hi>skills</Hi>.
|
|
||||||
</>,
|
</>,
|
||||||
'super_secret_password.txt':
|
'super_secret_password.txt':
|
||||||
<span style={{color:'orange',fontWeight:'bold'}}>uwu</span>,
|
<span style={{color:'orange',fontWeight:'bold'}}>uwu</span>
|
||||||
}
|
}
|
|
@ -1,3 +0,0 @@
|
||||||
module.exports = (p) => {
|
|
||||||
return <span style={{color: p.color, fontWeight: 'bold'}}>{...p.children}</span>
|
|
||||||
}
|
|
Loading…
Reference in New Issue