-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature: Improve footer content #18
base: develop
Are you sure you want to change the base?
Conversation
48422fc
to
c8b767e
Compare
<VStack | ||
w="100%" | ||
justify="space-between" | ||
flexDirection={['column-reverse', 'column-reverse', 'column']} |
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.
'column-reverse'
twice here, is that correct?
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.
It's correct. The array syntax applies the first value until the sm
breakpoint, the second value until the md
breakpoint, and so on...
|
||
import { MaxWidthWrapper } from '@components/Misc'; | ||
|
||
import { FooterContainer } from './FooterContainer'; | ||
import { LinksSection } from './LinksSection'; | ||
import { LogosSection } from './LogosSection'; | ||
import { NewsletterSection } from './NewsletterSection'; | ||
|
||
export const Footer = () => ( |
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 chakra-ui is already contemplating the accessibility part but this is an interesting example of an accessible Footer, you can take a look: https://a11y-style-guide.com/style-guide/section-navigation.html#kssref-navigation-navigation-footer
There you can see that is using the correct semantic for the Footer and the lists inside 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.
That's very helpful. It should be fixed now. Thanks!
Links:
What & Why:
Risks, Mitigation & Rollback: