Skip to content

Commit

Permalink
everything except the headers
Browse files Browse the repository at this point in the history
  • Loading branch information
stefdude1999 committed Dec 24, 2023
1 parent c220f93 commit 0de929f
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 17 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"react-awesome-reveal": "^4.2.7",
"react-dom": "^18.2.0",
"react-draggable": "^4.4.6",
"react-resizable": "^3.0.5",
"react-scripts": "^5.0.1",
"scrollreveal": "^4.0.9",
"web-vitals": "^2.1.4"
Expand Down
Binary file added public/IMG_4908.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
6 changes: 3 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
content="Stefan Caloian personal website"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/IMG_4908.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
Expand All @@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Stefan</title>
<title>Stefan Caloian</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
Binary file removed public/logo192.png
Binary file not shown.
Binary file removed public/logo512.png
Binary file not shown.
8 changes: 4 additions & 4 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"short_name": "Stefan",
"name": "Stefan's site",
"short_name": "Stefan Caloian",
"name": "Stefan Caloian's site",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"src": "IMG_4908.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"src": "IMG_4908.png",
"type": "image/png",
"sizes": "512x512"
}
Expand Down
2 changes: 1 addition & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}

body {
background: linear-gradient(to right, #fff, #ffdefb, #ff98f3, #ff57db, #ff00d4);
background: linear-gradient(to right, #fff, #89a292, #3f7d5f, #146132, #007c34);
background-size: 500% 100%;
animation: gradientShift 20s infinite linear alternate;
margin: 0;
Expand Down
Binary file removed src/assets/IMG_4908.png
Binary file not shown.
Binary file removed src/assets/Stefan.png
Binary file not shown.
Binary file removed src/assets/blog.png
Binary file not shown.
Binary file removed src/assets/player_front.png
Binary file not shown.
Binary file removed src/assets/player_sprite.png
Binary file not shown.
Binary file removed src/assets/projects.png
Binary file not shown.
Binary file removed src/assets/resume.png
Binary file not shown.
10 changes: 6 additions & 4 deletions src/components/FileExplorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ const FileExplorer = () => {
'/home/user/contactme': {},
'/home/user/contactme/email.txt': '[email protected]',
'/home/user/contactme/phone.txt': '519 504 7597',
'/home/user/contactme/linkedin.txt': 'linkedin.com/in/stefancaloian/',
'/home/user/contactme/github.txt': 'github.com/stefdude1999',
'/home/user/contactme/linkedin.txt': '<a href="https://www.linkedin.com/in/stefancaloian/" target="_blank">linkedin.com/in/stefancaloian/</a>',
'/home/user/contactme/github.txt': '<a href="https://github.com/stefdude1999" target="_blank">github.com/stefdude1999</a>',
'/home/user/resume': {},
'/home/user/myskills': {},
'/home/user/resume/stefanresume.txt': 'my resume',
'/home/user/myskills/individualskills.txt': 'my skills',
'/home/user/resume/stefanresume.txt': '<a href="https://drive.google.com/file/d/1PX0XXilUk6X7mGJmjomr_nWY0X3PQ2JG/view?usp=sharing" target="_blank">Resume</a>',
'/home/user/myskills/proficientskills.txt': 'C++, C, C#, React, Rust, Java, Python, SQL',
'/home/user/myskills/developingskills.txt': 'Go, Spring Boot, Ruby',
});


const [parentDirectory, setParentDirectory] = useState(null);

const getCurrentDirectoryContents = () => {
Expand Down
18 changes: 13 additions & 5 deletions src/components/Terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ const Terminal = () => {
const command = input.trim();
setOutput([...output, { type: 'input', value: command }]);
const commandOutput = executeCommand(command);
setOutput([...output, { type: 'output', value: `user@stefanswebsite ~ % ${command}` }, { type: 'output', value: commandOutput }]);
setOutput([
...output,
{ type: 'output', value: `user@stefanswebsite ~ % ${command}` },
{ type: 'output', value: commandOutput },
]);
setInput('');
}
};
Expand Down Expand Up @@ -76,14 +80,18 @@ const Terminal = () => {

{showIntro && (
<div className="output">
<div>I'm Stefan, Welcome to my website! You can drag this terminal around if you wish. Type help to begin to learn about me.</div>
<div>
I'm Stefan, Welcome to my website! You can drag this terminal around if you wish. Type help to begin to learn about me.
</div>
</div>
)}

{output.map((item, index) => (
<div key={index} className={item.type}>
{item.value}
</div>
<div
key={index}
className={item.type}
dangerouslySetInnerHTML={item.type === 'output' ? { __html: item.value } : null}
/>
))}
<div className="input">
<span>user@stefanswebsite ~ %</span>
Expand Down

0 comments on commit 0de929f

Please sign in to comment.