Skip to content

kohterai/portfolio-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

362 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Based Online Portfolio

The website is geared towards project based portfolios. It is built with Facebook React using their Create React App project.

This is a complete redesign (code and experience) from the v1 Portfolio Website.

Development/Deployment

To start a local server, run npm start

To deploy to github pages, run npm run deploy

Since this project is based on Create React App, more information about deploying can be found on their documentation.

Code Structure

All relevant code is under the src folder. In order to create a new project, there are 3 steps. Each project is its own react component.

  1. Create a new Javascript file to hold our component. You can use `src/Projects/project-template.js` as a template.
  2. In `/src/ProjectList.js` import newly added component, and thumbnail images`
  3. Inside the `projectList` array, find the relevant `type` field and insert project and thumbnails accoriding to projectList structure

projectList structure

The projectList array inside /src/ProjectList.js is the central catalog for all projects that get loaded into the thumbnail page. Each project is its own react component, and is referenced inside /src/ProjectList.js.

Field Value Description
title String Title of project
caption Image path Caption for project
path String Desired path/URL for the project
main React Component Reference to the project component

For longThumb, there is a true and false mode. When longThumb is true, in the thumbnail page, one project with get enough space to fill one horizontal row with its own thumbnail images. On Desktop, it will fill one row with three images of its own project. In this case, thumbails must be referenced as thumbnail1, thumbnail2, and thumbnail3. If false, up to 3 projects will fill one row.

About

Portfolio website made with React

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors