-
Notifications
You must be signed in to change notification settings - Fork 8
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
Card layout #197
base: master
Are you sure you want to change the base?
Card layout #197
Conversation
@joaquinkunkel this is ready for review, yeah? Also first of all as you can see CircleCI failed it's build (an agent that testes all pushes for us automatically for us) and as you can see if you go to the link it failed on the linting command, if you run |
Yes, ready for review! I think the error might have been that a line of code exceeded 100 characters (webpack did not like that). I split it into two lines and I get no webpack errors anymore so I'll try to do the request again. |
Okay, I think the line length was the issue because it now CircleCI passed 👍 (made two commits because I thought the issue was still there after the first one, my bad). |
No problem about the commits, we squash them all into one when we merge them into the master branch for a nicer commit history anyway :). And yeah CircleCI takes a bit of time to run the tests, you should be able to go here under the pull request and under checks click details at CircleCI if you want to follow the progress of the build :). |
And yes it was exactly the max-len, we integrated our linter (the thing that checks coding style and ours is specifically called |
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.
Things look okay on the surface for me, I'll leave the actual review of the CSS etc. to @zanemountcastle though :).
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 really like how the cards work with the team members. It definitely feels more natural than what's live on the site now.
There are just a few minor changes mostly with regard to code style. We should be able to merge it in the next few days.
src/components/Header.jsx
Outdated
@@ -33,7 +33,7 @@ export default class Header extends BaseComponent { | |||
<div className="header__title"> | |||
{/* TODO: change link to proper Gazelle icon uploaded to server*/} | |||
<Link to="/" className="header__title__content"> | |||
<img src="https://thegazelle.s3.amazonaws.com/gazelle/2016/02/header-logo.png" alt="logo" /> | |||
<img src="./static/header-logo-transparent.png" alt="logo" /> |
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 image is going to have to be uploaded through the editor tools so we can load it in with our CDN. Right now the image isn't loading in.
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 I e-mail you the image so you can upload it / can we do this together on Sunday? I still don't have it set up so I can upload things myself, I think.
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.
Yeah either load it with CDN (which is probably the best, yep) or add it to the static folder (but probably just as good doing it with S3 I agree).
src/styles/components/_header.scss
Outdated
@@ -71,6 +71,7 @@ | |||
&__content { | |||
img { | |||
position: absolute; | |||
background-color: rgb(250,250,250); |
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'd prefer to use hex here instead of rgb
to keep coloring consistent across the code base.
&__job-title { | ||
font-size: 0.8rem; | ||
font-weight: 300; | ||
color: rgba(0, 0, 0, 0.4); |
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.
Same thing with hex here. If possible use an already defined SCSS
variable from ./src/styles/abstracts/_variables.scss
like $light-grey
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.
Btw @zanemountcastle stylelint could also lint all these things if you were interested :)
@zanemountcastle do we want to merge this in, he committed his changes to your comments right? |
@emilgoldsmith No, not yet. @arantzardzm is working on the ILTs which will pair nicely with the card layout. We're working on rolling it out across all parts of the site now so I first want to merge in Arantza's branch into @joaquinkunkel's and then we'll merge them into master as a single branch. |
Okay sounds good :). Do whatever you deem right |
…e-server into card-layout Removed an unnecessary link
For this team page card layout, I did the following: