-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 #2653
base: master
Are you sure you want to change the base?
Develop #2653
Conversation
kgGugala
commented
Apr 15, 2024
•
edited
Loading
edited
- MYBIKE landing
- DEMO https://kgGugala.github.io/layout_miami/
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.
Problem is fixed so let's move forward 💪
You are doing a great job, can't wait for us to finish with this project and proceed to React learning path :)
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.
.navigation { | ||
display: flex; | ||
align-items: center; | ||
padding: 24px 0 0; |
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'd probably set this property as padding-top for the header
.
As a general rule, the parent container should be responsible for positioning it's children. Not a mistake here, but a possibility for cleaner approach.
|
||
@include for-tablet { | ||
grid-column: 1 / 7; | ||
padding-bottom: 40px; |
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.
Maybe, it would make sense to position nav and title using grid-row property, but also not a mistake here, just a possible second approach.
|
||
@include for-desktop { | ||
grid-column: 1 / 5 ; | ||
margin-top: 120px; |
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'd create a separate container for this title && paragraph block to ease the positioning.
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.
Really solid work! Appreciate the amount of effort you put here. 🥇
Some things may be done just a bit cleaner, but they are minor. Other than that, your code is clean and readable. Good job!