-
Notifications
You must be signed in to change notification settings - Fork 1
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
Project Portfolio Desktop version Pull Request #8
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.
Hi @Uzair-Manzoor,
Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!
Highlights
Correct use of GitHub Flow ✅
Well-structured files ✅
All linter checks are passing ✅
Descriptive PR title with a great summary ✅
Required Changes ♻️
Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
style.css
Outdated
.work-section { | ||
margin: 80px 0; | ||
display: grid; | ||
row-gap: 80px; | ||
padding: 10px; | ||
justify-items: center; | ||
} |
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.
[OPTIONAL]
Kindly consider adding a margin on the left and right side of your work card container to help make the card look a bit more stunning on 600px screens and above.
style.css
Outdated
.work-preview { | ||
display: flex; | ||
align-self: center; | ||
flex-direction: column; | ||
justify-self: center; | ||
overflow: hidden; | ||
} |
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.
-
Please note that your website supposes to be fully responsive across all screen sizes (mobile, tablet, and desktop). In other to do that and also create a good user experience kindly consider the following suggestions to make your website more responsive:
- Your work cards images are not responsive as expected on 400px screen sizes and above, To fix this issue kindly consider setting a
width: 100%
on the class namework-preview
as this will help make your image maintain it's full width based of the screen size resulting in a responsive UI.
Figma design Your design - Your work cards images are not responsive as expected on 400px screen sizes and above, To fix this issue kindly consider setting a
style.css
Outdated
.work-preview:hover .project-img { | ||
transform: scale(1.4); | ||
} |
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.
- Kindly consider reducing the scale of the hover effect you have on your image. I love the animation but I think it would be much better if it doesn't make the user kindly wrack out 😊 as that will create a bad user experience and that's something we don't need. You can reduce it to maybe
(1.1)
so it doesn't really look too much.
style.css
Outdated
.work-card { | ||
background: #fff; | ||
border-radius: 10px; | ||
min-height: 3em; | ||
border: 1px solid #c6c6c6; | ||
padding: 20px 15px; | ||
display: grid; | ||
display: flex; | ||
flex-direction: row; | ||
} |
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.
- Why don't you use
grid
instead offlex
to display the content of your cards in a row direction? I think usinggrid
is going to be much better so kindly consider using it so that both your card image and text will have equal fractions of the main container.
HINT:
You can give it adisplay: grid
andgrid-template-columns: 1fr 1fr
. This way both children of the card container will have equal fractions and will also help make your website even more responsive. See below for more details:
Figma design | Your design |
---|---|
style.css
Outdated
.work-preview { | ||
display: flex; | ||
align-self: center; | ||
flex-direction: column; | ||
justify-self: center; | ||
overflow: hidden; | ||
padding-left: 3%; | ||
height: 500px; | ||
width: 50%; | ||
justify-content: center; | ||
} |
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.
- Please make sure that your design looks as close to the
Figma
design as possible. Looking at your work card I can see you haveempty
space at the top and bottom of the card. This is because you have specified aheight
of50%
for the card. To fix this issue so your design looks like that of theFigma
design and also help create a good user experience please consider the following hints:
HINT:
Remove theheight: 50%
and increase thewidth
to100%
. This will make your image cover the full width of its container. See below for more details:Figma design Your design
style.css
Outdated
.work-detail { | ||
align-self: center; | ||
padding: 10px; | ||
} |
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.
- To make your work details align just like your image from top to bottom, Kindly consider aligning your details
start
instead ofcenter
as that will make your design look like that of theFigma
design and also help make your design look professional. 😊
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.
@Strangeal Thanks a lot for the Hints 👍. Changes have been made exact accordingly.
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.
Hi @Uzair-Manzoor,
Your project is complete! There is nothing else to say other than... it's time to merge it
Congratulations! 🎉
STATUS: APPROVED 🟢
Highlights
- Good PR title ✅
- Descriptive PR description ✅
- Implement the features ✅
- Professional
README
template ✅ - Linters are green ✅
- Correct
GitHub
workflow ✅ - Meaningful Github commits ✅
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
⚠️ WARNING ⚠️
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
Have any doubt ❓
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag @skyv26 in your question so I can receive the notification. You can also follow me on the below platforms
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
Project has been updated to desktop version according to the the given instructions;