Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #506

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open

Develop #506

wants to merge 40 commits into from

Conversation

arthurfujii
Copy link

@arthurfujii arthurfujii marked this pull request as draft September 23, 2024 20:18
@arthurfujii arthurfujii marked this pull request as ready for review September 23, 2024 20:19
@arthurfujii arthurfujii marked this pull request as draft September 23, 2024 20:41
@arthurfujii arthurfujii marked this pull request as ready for review September 23, 2024 21:35
Copy link

@jv-aquino jv-aquino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Arthur, nice job! Your project is well-structured and really amazing - nice use of js and sass latest features btw!

There are some really smalll changes in regards to code and a small in regards to UI:
always use cursor: pointer for buttons for a11y reasons and for UX in general
image
image

@@ -1 +1,20 @@
// not empty
.App {
scroll-behavior: smooth;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

<div className="App">
<h1 className="h1Hidden">Product Catalog</h1>
<header className="header">
<Header />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it makes more sense for the

tag to be inside the header properly

): Promise<ProductSpecs | undefined> {
const products = await getProducts(catId);

return products.find((p: ProductSpecs) => p.id === prodId);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice use of js methods

width: 32px;
height: 100%;
border: 1px solid $c-icons;
background: url('../../../public/img/icons/chevron-right.svg') no-repeat

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could've created a basePath css variable

midnightgreen: '#626B64',
midnight: '#31373F',
coral: '#F19584',
};

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also I think there are some variables/colors/infos like these that could be comprised in a folder like public/variables or something

Copy link

@jv-aquino jv-aquino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job Arthur!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants