Skip to content
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

Merged
merged 6 commits into from
Apr 17, 2021
Merged

#13 footer component #46

merged 6 commits into from
Apr 17, 2021

Conversation

samgildea
Copy link
Contributor

No description provided.

Copy link
Contributor

@josephmannis josephmannis left a 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;
Copy link
Contributor

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};

Copy link
Contributor

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

</SocialSection>
<FooterSection>
<FooterImage>
<img alt="footer background image" src={data.prismicFooter.data.footer_image.url} />
Copy link
Contributor

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" />
Copy link
Contributor

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/

<Body>{data.prismicFooter.data.sock_description}</Body>
</SockDescription>

<SockCTA>Sign Up</SockCTA>
Copy link
Contributor

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

<FooterContainer>
<FooterMainContent>
<SocialSection>
<FooterHeader>Powerhouse</FooterHeader>
Copy link
Contributor

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?

<SocialIcons>
{data.prismicFooter.data.social_media.map(social => {
return (
<a href={social.social_link}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add keys here

{data.prismicFooter.data.social_media.map(social => {
return (
<a href={social.social_link}>
<img alt="social icon" src={social.social_icon.url} />
Copy link
Contributor

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);
Copy link
Contributor

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

<FooterSection>
<FooterImage>
<img
alt="PowerHouse house footer background image"
Copy link
Contributor

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?

@samgildea samgildea merged commit af8f077 into master Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants