-
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
#13 footer component #46
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.
Couple of little things
export const FooterSection = styled.div` | ||
position: relative; | ||
// height: 725px; |
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.
Can you remove this please
export const ConnectTitle = styled.div` | ||
color: ${colors.blue900}; | ||
|
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.
Can you get rid of this whitespace plaese
src/components/footer/footer.js
Outdated
</SocialSection> | ||
<FooterSection> | ||
<FooterImage> | ||
<img alt="footer background image" src={data.prismicFooter.data.footer_image.url} /> |
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.
Can you be a little more descriptive in the alt text please?
https://moz.com/learn/seo/alt-text
<ConnectTitle> | ||
<Sub1>{data.prismicFooter.data.sock_title}</Sub1> | ||
<SockEmailForm> | ||
<input type="text" placeholder="Enter your email" /> |
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.
Can you add labels and such please?
https://www.w3.org/WAI/tutorials/forms/
src/components/footer/footer.js
Outdated
<Body>{data.prismicFooter.data.sock_description}</Body> | ||
</SockDescription> | ||
|
||
<SockCTA>Sign Up</SockCTA> |
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.
Make sure to add roles here for submit and such
src/components/footer/footer.js
Outdated
<FooterContainer> | ||
<FooterMainContent> | ||
<SocialSection> | ||
<FooterHeader>Powerhouse</FooterHeader> |
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.
Does this come from the CMS? Can you update it to do so if not please?
src/components/footer/footer.js
Outdated
<SocialIcons> | ||
{data.prismicFooter.data.social_media.map(social => { | ||
return ( | ||
<a href={social.social_link}> |
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 add keys here
src/components/footer/footer.js
Outdated
{data.prismicFooter.data.social_media.map(social => { | ||
return ( | ||
<a href={social.social_link}> | ||
<img alt="social icon" src={social.social_icon.url} /> |
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.
Can you specify which social media this icon is for in the alt?
export const FooterContainer = styled.div` | ||
background-color: #848484; | ||
background-color: rgb(0, 0, 0, 0.55); |
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.
Can you pull these into variables please
src/components/footer/footer.js
Outdated
<FooterSection> | ||
<FooterImage> | ||
<img | ||
alt="PowerHouse house footer background image" |
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.
Can the alt come from the CMS please?
No description provided.