-
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
194 footer component update #195
Conversation
@alishaevn do you have a subscription to Flaticon pro? I was not able to find an icon that is the exact same as the pre-existing ones because flaticon does not let you download SVGs without premium, and finding a circle linkedin svg with transparent lettering elsewhere was tricky. the "in" in the linkedin svg has a fill, which is not ideal, so it will always be black even if on a different background whereas the others are all transparent. I suppose we could pass it the background color of the footer but if you have a flaticon login that would be easier. i guess as a last resort we could edit it on illustrator or something. |
also the acceptance criteria of
would probably need to be done in the webstore. the component does not have margin built in & would have needed to be given margin upon import to the home page. I reduced the top/bottom padding slightly inside the footer though to go along with the smaller text sizes |
hmmmm. I don't have a pro subscription either. let me see if I can find anything though. |
re: the linked in svg I wound up downloading a png and converting it to an svg. (see below). I also use https://react-svgr.com/playground/ to convert an svg to a react component. (in case you didn't have some other way you use, or it's a difficult way) |
|
src/assets/img/thank-you.md
Outdated
@@ -11,3 +11,4 @@ Our icons were sourced from the following: | |||
* [Twitter social badge icons created by Freepik - Flaticon](https://www.flaticon.com/free-icons/twitter-social-badge) | |||
* [Vimeo icons created by Md Tanvirul Haque - Flaticon](https://www.flaticon.com/free-icons/vimeo) | |||
* [Youtube icons created by Freepik - Flaticon](https://www.flaticon.com/free-icons/youtube) | |||
* [Linkedin icons created by IconScout](https://iconscout.com/free-icon/linkedin-48) |
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.
what's icon scout? the png I converted came from Mass media icons created by mohammed mahdi - Flaticon
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.
ooops i forgot to change this as well! the one from before was from icon scout.
src/assets/svg/Linkedin.jsx
Outdated
height={height} | ||
width={height} | ||
fill={fill} | ||
viewBox="0 0 144 144" |
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 change all the quotes here to singles? surprised lint didn't catch it. or maybe it's not checking these files.
src/assets/svg/Linkedin.jsx
Outdated
@@ -0,0 +1,15 @@ | |||
import * as React from 'react' | |||
|
|||
const Linkedin = ({ height, fill }) => ( |
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.
suuuuuuuuuper nit picky, but can this file and variable name be changed to LinkedIn
?
Story
Screenshot
Acceptance
iconsList
object in SocialIcon.jsxh6