Compare commits

..

2 Commits

Author SHA1 Message Date
b1ek e321de68fe
fix broken fonts 2023-03-10 11:01:20 +10:00
b1ek 7ff7eb6476
add web skills 2023-03-10 10:25:12 +10:00
6 changed files with 139 additions and 10 deletions

View File

@ -4,6 +4,8 @@ import Files from './emulation/files';
import commands from './emulation/commands';
import Colored from './helpers/color';
import './style.css';
const welcome = <pre>
Welcome to my resume!<br/>
Type
@ -38,7 +40,7 @@ export class Base extends Component {
errorText={'zsh: command not found: [command]'}
style={{height:'100%'}}
style={{height:'100%', fontFamily: '\'Source Code Pro\', monospace'}}
promptLabelStyle={inputStyle}
inputTextStyle={{...inputStyle, color: '#5ba2b0', transform: 'translateY(2px)'}}

View File

@ -31,10 +31,16 @@ const commands = (terminal) => {
socials: {
description: 'View my social links',
fn: require('./social')
},
social: {
description: 'View my sociala links',
fn: require('./social'),
unlisted: true,
}
};
commands.help = {
unlisted: true,
fn: () => {
return (
<pre>
@ -43,7 +49,7 @@ const commands = (terminal) => {
<tbody>
{
Object.keys(commands).map((cmd, i) => {
if (cmd == 'help') return;
if (commands[cmd].unlisted) return;
return <tr key={i}>
<td style={{color: 'violet'}}>{cmd}</td>
<td style={{padding: '0 8px'}}> : </td>

View File

@ -1,11 +1,104 @@
import Colored from '../../helpers/color';
module.exports = () => {
const Title = (p) => {return <h3 style={{margin: '16px 0', color: '#526b93'}}>{...p.children}</h3>}
const projects = {
web: [
{
name: 'blek! Site',
source: 'https://github.com/b1ek/blekSite',
desc: 'Second rewrite of my website in Laravel'
},
{
name: 'homepage.js',
source: 'https://git.blek.codes/blek/homepage.js',
desc: 'Third re write of my website in Node/Express.JS/Pug and couple other libs'
},
{
name: 'blek! Sail',
source: 'https://github.com/b1ek/sail',
desc: 'A production-ready server for serving Laravel projects'
},
{
name: 'blek! ID',
source: 'https://github.com/b1ek/blekID',
desc: 'An auth server. Not really proud of this one, as the code is very spaghetti and practically useless.'
},
{
name: 'blek! Bin',
source: 'https://git.blek.codes/blek/bin',
desc: 'Privacy-respecting, js-free alternative to Pastebin. Inspired by Librebin.'
},
{
name: 'College project',
source: '#',
desc: 'Work in progress. Planned to be a site with rental apartments for students'
}
]
}
const skills = {
web: (
<pre>
<Title>My web experience</Title>
<p>
Most of my web projects are listed on <a href='https://github.com/b1ek'>GitHub</a>.<br/>
I like Express.JS and Laravel, but also want to try Rust.<br/>
<br/>
On frontend, i like to write no-js HTML using<br/>
template engines, or use React for complex apps like this one.
</p>
<hr style={{margin:'10px 0'}}/>
<p>
My projects:
</p>
<table>
<tbody>
<tr>
<th>Name</th>
<th>Sources</th>
<th>Description</th>
</tr>
{
Object.keys(projects.web).map((key, i) => {
const proj = projects.web[key];
return (
<tr key={i}>
<td>{proj.name}</td>
<td>
<a href={proj.source}>Link</a>
</td>
<td>{proj.desc}</td>
</tr>
)
})
}
</tbody>
</table>
</pre>
),
nt: (
<pre>
<Title>My native dev experience</Title>
<p>
It isn't much
</p>
</pre>
)
}
module.exports = (args) => {
if (skills[args]) return skills[args];
return (<pre>
<Colored color='#00ffe7'>Web dev (PHP & JS)</Colored>
<br/>
[#####] 100%<br/>
My main work field<br/>
More: <Colored color='seagreen' weight='normal'>skills web</Colored><br/>
<br/>
<Colored color='#cc6a6a'>C/C++/Rust native dev</Colored><br/>
@ -18,7 +111,7 @@ module.exports = () => {
Do this all the time. I run linux on my laptop, pc and server<br/>
<br/>
<Colored color='#2e8b7e'>Being cishet</Colored><br/>
<Colored color='#2e8b7e'>Being cis</Colored><br/>
[ ] 0%<br/>
Never liked it<br/>
<br/>

View File

@ -1,9 +1,17 @@
import Color from '../../helpers/color';
const Link = (prop) => {
return <a href={prop.href} style={{color:'lightblue',textDecoration:'none',fontWeight:'bold'}}>{...prop.children}</a>
}
module.exports = () => {
return <p>
<a href='https://blek.codes'>My website</a><br/>
<a href='https://github.com/b1ek'>Github page</a><br/>
<a href='https://git.blek.codes/b1ek'>Gitea page</a><br/>
<a href='mailto:me@blek.codes'>Email</a><br/>
<a href='https://t.me/bleki42'>Telegram</a><br/>
My socials are listed below:<br/>
<br/>
{'>'} <Link href='https://blek.codes'>My website</Link><br/>
{'>'} <Link href='https://github.com/b1ek'>Github page</Link><br/>
{'>'} <Link href='https://git.blek.codes/b1ek'>Gitea page</Link><br/>
{'>'} <Link href='mailto:me@blek.codes'>Email</Link><br/>
{'>'} <Link href='https://t.me/bleki42'>Telegram</Link><br/>
<Color color='gray' weight='default'>(all links are clickable)</Color>
</p>;
}

View File

@ -1,3 +1,3 @@
module.exports = (p) => {
return <span style={{color: p.color, fontWeight: 'bold'}}>{...p.children}</span>
return <span style={{color: p.color, fontWeight: (p.weight ? p.weight : 'bold')}}>{...p.children}</span>
}

View File

@ -0,0 +1,20 @@
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;500;600&display=swap');
td {
padding-right: 16px !important
}
a, a:visited {
color: rgb(36, 85, 126);
text-decoration: none;
font-weight: 500;
transition: 150ms ease;
}
a:hover {
text-shadow: 0 0 4px #24557e30;
}
th {
text-align: left;
padding-right: 16px !important;
}