Skip to content

Commit

Permalink
source
Browse files Browse the repository at this point in the history
  • Loading branch information
soohoonc committed Dec 10, 2023
1 parent 374b29b commit 515c8ac
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "21"
# cache: ${{ steps.detect-package-manager.outputs.manager }}
# cache: ${{ steps.detect-package-manager.outputs.manager }} # bun not supported
- name: Setup Pages
uses: actions/configure-pages@v3
with:
Expand Down
12 changes: 0 additions & 12 deletions build.sh

This file was deleted.

1 change: 0 additions & 1 deletion src/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export function FileSystemProvider({
React.useEffect(() => {
async function init() {
const fs = await createFileSystem();
console.log(fs);
setInitialFileSystem(fs);
}
init()
Expand Down
2 changes: 1 addition & 1 deletion src/components/terminal-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const TerminalInput = React.forwardRef(({
onInput={handleChange}
onKeyDown={handleKeyDown}
content={input}
className='bg-transparent outline-none'
className='bg-transparent outline-none caret-white'
autoFocus
/>
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/lib/commands.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
"use client"

import { redirect } from 'next/navigation';
import { getFormattedDate } from './utils';

export const initialMessage =
<p>
soohoonchoi (master, {getFormattedDate()} [dunno 0.0.1] on soohoonix<br/>
soohoonchoi (master, {getFormattedDate()}) on soohoonix<br/>
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
</p>

const commands: { [key: string] : string} = {
'about': 'about me',
'resume': 'view my resume',
'source': 'view the source code',
'clear': 'clear the terminal screen',
'others': 'try messing around, still in the works',
};
Expand Down Expand Up @@ -72,6 +74,8 @@ export const handleCommand = (command: string) => {
return about();
case 'resume':
return <a className='text-indigo-400' target="_blank" href="https://www.dropbox.com/scl/fi/8zasyts7ohnhqqxddoxt1/SooHoon_Choi_Resume.pdf?rlkey=4bbgzq53nuyzvw1u4h7llwgxk&dl=0">see my resume</a>
case 'source':
return <a className='text-indigo-400' target="_blank" href='https://github.com/soohoonc/soohoonc.github.io'>github</a>
case '':
return <p> </p>
default:
Expand Down

0 comments on commit 515c8ac

Please sign in to comment.