Conversation
Your pull request doesn't follow our guidelines. Please fix the following:
Click here for details. Thank you! 🙏 |
This pull request still violates some of our guidelines:
Click here for details. |
Thank you, the title and description now looks good! |
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.
Thanks for getting this going @anisha1234! Left a few inline comments below:
_layouts/partners.html
Outdated
{% include partners-list.html %} | ||
</section> | ||
<center class="partner-heading"> | ||
<h1>Hopefully Soon</h1> |
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 remove this list from the page. I know @tangollama included those on his list in the issue, but we shouldn't display orgs that aren't actually partners on this page.
_includes/partners-list.html
Outdated
@@ -0,0 +1,30 @@ | |||
<center class='each-partner'> | |||
<div class="partner-post"> | |||
<img src="../img/cure-logo.png" class="partner-logo" > |
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.
Each of these image elements needs an alt
tag describing the image for accessibility. Also, they should have a width attribute to prevent the layout from jumping around as images load for users with slower connections.
_sass/_partners.scss
Outdated
} | ||
.partner-logo{ | ||
width: 200px; | ||
height: 8vw; |
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.
The use of a defined width but a relative height on these two lines above is causing the proportions of the logos to rendered as skewed. Instead, you could simply remove these properties and set a width attribute only directly on the img
elements in the markup.
_sass/_partners.scss
Outdated
@media screen and (min-width: 280px) { | ||
.each-partner { | ||
width: 100%; | ||
background-color: #273647; |
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 prefer to see these not boxed in, and using the one color versions of the logos. However, if that's going to be challenging because of logo availability, let's just use a white background here #ffffff
.
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, if we're going to use the boxes, please use border-radius
on them for consistency with other image/box elements we use on the site.
_includes/partners-list.html
Outdated
</div> | ||
<h3 class="partner-name">Cure International</h3> | ||
</center> | ||
<center class='each-partner'> |
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.
The <center>
should not be used, as it was a presentational element and has been deprecated from the HTML spec.
_sass/_partners.scss
Outdated
.partner-logo{ | ||
width: 200px; | ||
height: 8vw; | ||
padding: 1%; |
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 prefer to stick with consistent units in our CSS, so for padding
and margin
let's keep these all as px
units, rather than percentage values or vw
.
@jglovier Thanks for your review. It is really helpful .I will start working on the suggested changes as soon as possible. |
@jglovier @tangollama Sorry for the delay. I have worked on the suggested changes and made required modifications. Kindly review the PR once again and let me know if it requires improvements. |
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.
Thanks for making some changes @anisha1234. I've reviewed the code and have a few more changes to request please, mostly around the images again.
I realized that some of the images you have are themselves skewed, or not the original logo. For example, the CURE logo is squished horizontally, as is the eHealth Africa logo, and the New Relic logo. Also, The GitHub logo is also squished, and per GitHub branding guidelines should not include the octocat along with the wordmark.
Could you please resolve these issues with the partner logos?
_includes/partners-list.html
Outdated
@@ -0,0 +1,30 @@ | |||
<div style="text-align:center" class='each-partner'> | |||
<div class="partner-post"> | |||
<img src="../img/cure-logo.png" alt="Cure International logo" class="partner-logo"> |
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.
These image tags are still missing an inline width attribute.
_includes/partners-list.html
Outdated
</div> | ||
<div style="text-align:center" class='each-partner'> | ||
<div class="partner-post"> | ||
<img src="../img/eHealth.png" alt="eHealthAfrica logo" class="partner-logo" > |
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.
...same here. Needs width attribute.
_includes/partners-list.html
Outdated
</div> | ||
<div style="text-align:center" class='each-partner'> | ||
<div class="partner-post"> | ||
<img src="../img/msbp.png" alt="Microsoft's Bizspark logo" class="partner-logo" > |
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.
...same here. Needs width attribute.
_includes/partners-list.html
Outdated
</div> | ||
<div style="text-align:center" class='each-partner center'> | ||
<div class="partner-post"> | ||
<img src="../img/newrelic.png" alt="New Relic logo" class="partner-logo" > |
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.
...same here. Needs width attribute.
_includes/partners-list.html
Outdated
</div> | ||
<div style="text-align:center" class='each-partner center'> | ||
<div class="partner-post"> | ||
<img src="../img/ember.svg" alt="Ember Sherpa logo" class="partner-logo" > |
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.
...same here. Needs width attribute.
_sass/_partners.scss
Outdated
} | ||
.partner-logo{ | ||
width: 200px; | ||
height: 100px; |
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 remove the height attribute from this line, and set the width in the line above to max-width: 100%;
instead. That will make it responsive within the container.
@jglovier I have made the modifications. Kindly verify if it needs further modifications. |
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.
Looks good! Thanks for attending to all the changes @anisha1234!! 👏 ❤️ ⚡
Fixes issue #30
Features
cc: @tangollama @jglovier