import React, { Component } from 'react'; import Terminal from 'react-console-emulator'; import Files from './emulation/files'; import commands from './emulation/commands'; import Colored from './helpers/color'; import './font/sourcecode.css'; const welcome =
Welcome to my resume!
Type help for a list of commands.
; const inputStyle = { color: '#2e8b7e', fontWeight: 'bold' }; export class Base extends Component { constructor(props) { super(props); this.terminal = React.createRef(); } render() { return ( user@blek.codes ~/resume ( master ) $ */ data.ip ? (data.ip + '@blek.codes $') : '$ ' } errorText={'zsh: command not found: [command]'} className='console' promptLabelStyle={inputStyle} inputTextStyle={{...inputStyle, color: '#5ba2b0', transform: 'translate(2px, 2px)'}} styleEchoBack={'fullInherit'} noDefaults /> ) } componentDidMount() { this.terminal.current.focusTerminal(); } }