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

About Us Page #811

Merged
merged 24 commits into from
Dec 4, 2020
Merged

About Us Page #811

merged 24 commits into from
Dec 4, 2020

Conversation

drubgrubby
Copy link
Member

@drubgrubby drubgrubby commented Nov 22, 2020

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:

  1. Get the arrows in the sticky nav to work correctly.
  2. Get the "read more" for the Letter from the ED section working properly.

Additionally, we need to integrate the actual letter from the actual Executive Director.

But it's a start...

@drubgrubby drubgrubby mentioned this pull request Nov 22, 2020
11 tasks
@daniellex0
Copy link
Member

daniellex0 commented Nov 25, 2020

My first visual review of the page can be accessed on the About Us page on Figma (to the right of the final mockups)

@drubgrubby
Copy link
Member Author

I have addressed the issues in from Danielle's visual review.

@drubgrubby drubgrubby requested a review from jbubar December 1, 2020 21:14
@drubgrubby
Copy link
Member Author

@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!

@jbubar
Copy link
Member

jbubar commented Dec 4, 2020

Here is my visual review,

I will do a code review tomorrow.

tl;dr: the page you made is absolutely stunning, and there are quite a few bugs in the tablet view(which I do not believe was specified in the figma).


First off, I would like to say that I am really impressed by what you were able to accomplish with this page.

Nitty gritty visual review:

Desktop view:
Absolutely stunning!

  1. One nitpick thing: The margin between the text and the photo are not quite right when compared to the sigma.

Figma
Screen Shot 2020-12-04 at 1 24 04 AM

this pull request
Screen Shot 2020-12-04 at 1 23 05 AM

Tablet view:
There was no tablet view in the figma, So it might need to go back to the drawing board.
Here is a list of the busts I found

  1. Between pixel sizes of 766px and about 1000px the moving menu bar on the right covers the text
    Screen Shot 2020-12-04 at 1 00 31 AM

  2. The "Hack for LA Platform" text looks squeezed and has strange gaps
    Screen Shot 2020-12-04 at 1 09 42 AM

  3. Hack for La supports: text is overlapping
    Screen Shot 2020-12-04 at 1 10 03 AM

  4. Accomplishments: looks good for the most part accept for the bottom.
    And it is kinda strange that the wins card links to dean’s linkediin. Maybe we could have it link to the wins page?
    Screen Shot 2020-12-04 at 1 31 09 AM

  5. Metrics: looks pretty good accept for the metrics card..
    Screen Shot 2020-12-04 at 1 12 03 AM

  6. Make a donation has a lot of blank white space

MOBILE VIEW:
8. Maybe this is above mobile view but at about 766px the text does not fill up the whole screen and looks a bit strange in the top info.
Screen Shot 2020-12-04 at 12 57 57 AM

  1. I kept wanting to close the card after I read it, but I would have to scroll all the way back up to the top of the card to close it. Maybe we consider a feature where you can have a button to close it on the bottom...

  2. Wins card looks a bit strange in mobile view

I believe that all of these details can be fixed in another pull request. For now I would like to merge the pull request so that the site is live and we can split this up into many issues.

@drubgrubby
Copy link
Member Author

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
Copy link
Member

@jbubar jbubar left a 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;
Copy link
Member

Choose a reason for hiding this comment

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

Do you need this max-width property? It makes it pretty strange at screen sizes larger than 530px
Screen Shot 2020-12-04 at 9 27 32 AM


// CSS Grid
.page-content-container-grid {
display: grid;
Copy link
Member

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;
Copy link
Member

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

Screen Shot 2020-12-04 at 10 35 47 AM

maybe in a future pull request you can figure that out.
checkout this cool resource

margin-top: 25px;
}

.read-more {
Copy link
Member

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;
Copy link
Member

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 {
Copy link
Member

Choose a reason for hiding this comment

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

not sure why this is not working...
Screen Shot 2020-12-04 at 10 47 37 AM

/* Below are the breakpoints and adjustments for different size monitors */

// Bigger than mobile - 480px
@media #{$bp-mobile-up} {
Copy link
Member

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;
Copy link
Member

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 {
Copy link
Member

Choose a reason for hiding this comment

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

both padding and margin are computed on this one. not sure if that was on purpose
Uploading Screen Shot 2020-12-04 at 10.56.10 AM.png…

sticky-test.html Outdated

<div class="sticky-container">
<div class="sticky-element">
This bit should be sticky
Copy link
Member

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?

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.

About Us Page
4 participants