-
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 #27
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.
Just a couple of little things! Looks good otherwise
src/components/footer.js
Outdated
import { StaticQuery, graphql } from "gatsby" | ||
|
||
const FooterContainer = styled.div` | ||
background-color: #848484; |
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 colors out into variables pease?
src/components/footer.js
Outdated
} | ||
` | ||
|
||
const FooterHeader = styled.div` |
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.
If this type style is used in multiple places, can you pull it out into a typography.js
file please?
src/components/footer.js
Outdated
} | ||
` | ||
|
||
const AddressSection = styled.div` |
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.
This is a general trend for project organization in Scout rn:
component-name/
component.js
component-styles.js
<anything else related to the component>
When you get a lot of files this keeps stuff really easy to follow, would you mind organizing this way? Also, could you please keep the styles inside their own folder?
src/components/footer.js
Outdated
<AddressSection> | ||
123 Lorem Ipsum Dolor Tempor Incididunt YZ, 12345 123-456-7890 | ||
</AddressSection> | ||
{/* <EmailText>{data.prismicFooter.data.email}</EmailText> */} |
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 drop this comment please?
src/components/footer.js
Outdated
return ( | ||
<a href={social.social_link}> | ||
<SocialPlaceholder> | ||
{/* <img 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.
This too
src/components/footer.js
Outdated
<EmailSection> | ||
<form> | ||
<input | ||
type="text" |
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.
Could you please add aria labels or names to these labels + forms? here is a nifty document
src/components/footer.js
Outdated
</EmailSection> | ||
</FooterMainContent> | ||
|
||
{/* <BottomLinks> |
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.
This as well
lofi footer style and structure