-
-
Notifications
You must be signed in to change notification settings - Fork 778
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
About Us Page #811
About Us Page #811
Conversation
My first visual review of the page can be accessed on the About Us page on Figma (to the right of the final mockups) |
I have addressed the issues in from Danielle's visual review. |
@daniellex0 - I did my best to make the changes from your visual review. When you have a chance, if you can have a look and see what I missed or didn't get quite right. I finally have the sticky navigation working, and the read-more/read-less on mobile, so you can see those. Thanks! |
Just for future reference, this is where the animated gif for the donation section is: civictechindex/CTI-website-frontend#60 (comment) |
This file is not needed. It is there just for test
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.
Really great code. Thanks for giving me the opportunity to review it. I learned a lot
|
||
.header-text--about-us { | ||
font-size: 18px; | ||
max-width: 500px; |
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.
|
||
// CSS Grid | ||
.page-content-container-grid { | ||
display: grid; |
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.
Your use of css grid is mind-blowingly cool
.is-active { | ||
color: #333333; | ||
font-weight: 700; | ||
color: black !important; |
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 heard that using !important is not always good practice. I see why you used it here.
I think it is not turning black because a:link, a:visited
has more priority than a single class selector .is-active
maybe in a future pull request you can figure that out.
checkout this cool resource
margin-top: 25px; | ||
} | ||
|
||
.read-more { |
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.
add cursor:pointer
} | ||
|
||
.sticky-nav { | ||
grid-area: nav; |
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.
again. blowing my mind
text-align: center; | ||
} | ||
|
||
.metrics-image-size { |
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.
/* Below are the breakpoints and adjustments for different size monitors */ | ||
|
||
// Bigger than mobile - 480px | ||
@media #{$bp-mobile-up} { |
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.
is this for future styling?
@media only screen and (max-width: 850px) { | ||
|
||
.stick-it { | ||
right: 0; |
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 good solution for the overlap problem.. maybe make the max-width a bit larger... like 1000px and add a few px to the right.... just a thought
margin-bottom: 150px; | ||
} | ||
|
||
.about-us-section-header { |
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.
sticky-test.html
Outdated
|
||
<div class="sticky-container"> | ||
<div class="sticky-element"> | ||
This bit should be sticky |
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.
Do we need this whole file?
Did you push this by accident?
Fixes #614
This isn't actually quite ready for a PR, as even I don't think that it's ready to merge today. However, since @daniellex0 has already done a very comprehensive visual review, I feel like the process has begun, hence the pull request.
Before a code review I need to finish two bits of JavaScript:
Additionally, we need to integrate the actual letter from the actual Executive Director.
But it's a start...