Open Jakousa opened 3 years ago
See https://portfolio.johnlee012.com/works/software, at least in my browser (square screen) the text overlaps with the images. Both being white makes the title almost completely unreadable.
Othewise the experience is excellent. Only thing I'd go for is optimizing the first load with lazy loads for components you don't need to get started with rendering: https://reactjs.org/docs/code-splitting.html
I saw you use foldered components for project and worksCard but not for others. Both work well for a project of this size. You could also do them page-by-page basis with some common components.
I was expecting the images to be in the public folder.
There is a large amount of magic numbers. Looking at global.js here.
In addition styles are all over the place, in css, in js files and inlined with the components. I'm personally more a scss guy but the way you're trying to do them looks close to this: https://cssinjs.org/?v=v10.5.1 Maybe quick refactor with the help of this project?
I'm not completely certain why https://github.com/delphi1004/portfolio_v2/blob/893fa993ce06a4fdbabd7c535c020aa617d96f4e/src/reducer/statusReducer.js#L15-L24 instead of
export const setCurrentMenu = (id) => ({
type: "SET_CURRENT_MENU",
currentMenu: id,
});
but that might just be me. You can comment if there's something I'm not seeing here.
Don't do this: https://github.com/delphi1004/portfolio_v2/blob/893fa993ce06a4fdbabd7c535c020aa617d96f4e/src/components/projectBase.jsx#L34-L35 Use https://reactrouter.com/web/guides/quick-start instead. See the "Topic" on the quick-start page and how you could access the params from the props.
Full Stack project review
Here's a short review of your Full Stack course project. The comments in the review are suggestions that you can use in this project or in your future projects. None of the suggestions are required to get a passing grade.
User experience
What did I do??
Played around in the first page I clicked around on every page Watched a video partially
Experience
The app is really clean looking and feels professional.
See https://portfolio.johnlee012.com/works/software, at least in my browser (square screen) the text overlaps with the images. Both being white makes the title almost completely unreadable.
Othewise the experience is excellent. Only thing I'd go for is optimizing the first load with lazy loads for components you don't need to get started with rendering: https://reactjs.org/docs/code-splitting.html
Code
I saw you use foldered components for project and worksCard but not for others. Both work well for a project of this size. You could also do them page-by-page basis with some common components.
I was expecting the images to be in the public folder.
There is a large amount of magic numbers. Looking at global.js here..
In addition styles are all over the place, in css, in js files and inlined with the components. I'm personally more a scss guy but the way you're trying to do them looks close to this: https://cssinjs.org/?v=v10.5.1 Maybe quick refactor with the help of this project?
I'm not completely certain why https://github.com/delphi1004/portfolio_v2/blob/893fa993ce06a4fdbabd7c535c020aa617d96f4e/src/reducer/statusReducer.js#L15-L24 instead of
but that might just be me. You can comment if there's something I'm not seeing here.
Don't do this: https://github.com/delphi1004/portfolio_v2/blob/893fa993ce06a4fdbabd7c535c020aa617d96f4e/src/components/projectBase.jsx#L34-L35 Use https://reactrouter.com/web/guides/quick-start instead. See the "Topic" on the quick-start page and how you could access the params from the props.
The code is well written and split into logical parts.
Conclusion
Funnily enough a full stack project with only half a stack. Absolutely beautiful project. Well done!