-
Notifications
You must be signed in to change notification settings - Fork 752
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
base: master
Are you sure you want to change the base?
Develop #506
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1 +1,20 @@ | |||
// not empty | |||
.App { | |||
scroll-behavior: smooth; |
There was a problem hiding this comment.
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 /> |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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', | ||
}; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job Arthur!
https://arthurfujii.github.io/react_phone-catalog/