Skip to content

Commit

Permalink
Component 2: Projects
Browse files Browse the repository at this point in the history
  • Loading branch information
15Dkatz committed Oct 19, 2022
1 parent dee7116 commit 60b3665
Show file tree
Hide file tree
Showing 13 changed files with 55 additions and 0 deletions.
3 changes: 3 additions & 0 deletions portfolio/src/App.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component } from 'react';
import Projects from './Projects';

class App extends Component {
state = { displayBio: false };
Expand Down Expand Up @@ -27,6 +28,8 @@ class App extends Component {
</div>
)
}
<hr />
<Projects />
</div>
);
}
Expand Down
23 changes: 23 additions & 0 deletions portfolio/src/Projects.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React, { Component } from 'react';
import PROJECTS from './data/projects';

class Projects extends Component {
render() {
return (
<div>
<h2>Highlighted Projects</h2>
<div>
{
PROJECTS.map(PROJECT => {
return (
<div key={PROJECT.id}>{PROJECT.title}</div>
);
})
}
</div>
</div>
);
}
}

export default Projects;
Binary file added portfolio/src/assets/economica-bold.ttf
Binary file not shown.
Binary file added portfolio/src/assets/email_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added portfolio/src/assets/github_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added portfolio/src/assets/linkedin_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added portfolio/src/assets/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added portfolio/src/assets/project1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added portfolio/src/assets/project2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added portfolio/src/assets/project3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added portfolio/src/assets/roboto-condensed.light.ttf
Binary file not shown.
Binary file added portfolio/src/assets/twitter_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions portfolio/src/data/projects.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import project1 from '../assets/project1.png';
import project2 from '../assets/project2.png';
import project3 from '../assets/project3.png';

const PROJECTS = [
{
id: 1,
title: 'Example React Application',
description: 'A React App that I built, involving JS and core web dev concepts!',
link: 'https://github.com/15Dkatz/example',
image: project1
},
{
id: 2,
title: 'MY API',
description: 'A REST API that I built form scratch with GET and POST requests!',
link: 'https://github.com/15Dkatz/example',
image: project2
},
{
id: 3,
title: 'Operating Systems Final Project',
description: 'My unique final project for my university Operating Systems course.',
link: 'https://github.com/15Dkatz/example',
image: project3
}
];

export default PROJECTS;

0 comments on commit 60b3665

Please sign in to comment.