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
The footer #60
The footer #60
Conversation
Deploy preview for website ready! Built with commit fbeefc5 |
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 nice so far. What I think it's left:
- Add the correct padding to the footer. Although we are going to remove the rule applying to every inner
div
, the footer will still need its own padding. - We may need to set a
max-width: 1080px
to the horizontal-separator. - Align correctly the last row of the footer.
- Change the color on hover of the links.
OK, I will add this rule but I don't think it will apply at the moment, because the global rule has a higher priority! Will you update the global rule or should I have a look?
👍
I'm sorry, I'm not sure what you mean there 🙂 Align it to what? Align horizontally or vertically?
According to the design, the links should have a blue color on hover like I added. Did I miss something? |
I will do it, don't worry 🙂
I think the now domain wasn't updated, I couldn't see these changes yesterday. Sorry for that. It looks nice now 👍 It seems there are some issues with the tests. |
@SantosGuillamot @iamuchejude Please review 🙂 |
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 footer padding isn't matching the design (I've removed locally the global styles that were overriding it). Apart from that, we have to take a look the last row element, some padding and the two images in the mobile version.
We can take a look at it on Monday, and see together how to check the paddings in Invision.
I've created a Pull Request to solve the problem with css that is causing troubles (#65). You can merge it to check how it'd be. I can see that we may need to add the |
I think that the version in the design is simply wrong, because I see no reason why the "Accelerated by Google. Invested by Automattic." should be missing in the mobile version of the footer 🙂 |
I also think that the designer did not leave enough padding between the images in the mobile version, but I think it's such a minor detail that I would not worry about it honestly 🙂 |
Yes, I wouldn't worry that much about that neither, we can easily change that. We have to adapt the |
@SantosGuillamot I've updated the styling a little more and I think it should be just fine now 👌 We still have to adjust the global padding on the homepage, but that's work for later 🙂 |
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 great Michal! 🙂
@iamuchejude Could you give me a review? 🙂 |
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.
Good work @michalczaplinski
I noticed just a few things though. The footer links are not aligned with the logo when the screen width is in between 600px
and 799px
.
Also, the footer links are also rendered as <p>
element. I think that's not really cool for accessibility. For example, if you use a screen recorded for the website, the links will be read as paragraphs and other reason too.
Oh, good points about the HTML elements and the I've changed the elements to
@media (min-width: 600px) {
.wp-block-column:nth-child(2n) {
margin-left: 32px;
}
} I'm gonna keep it as is, so that in wider resolutions we get the padding as intended. In the end, "it's just a footer" so I think this is a super minor detail that has very little impact 🙂 |
Just FYI: We're finally going to add the newsletter as a reusable block, and include it in the footer. I've included it in the Footer HTML, but it will be handled by another issue #70 . |
@iamuchejude Could you review it? 🙂 |
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.
Good work @michalczaplinski
The "footer" component of the website. It gets the content from
template-parts
gutenberg block.