-
Notifications
You must be signed in to change notification settings - Fork 25
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
Feature:-About Page Redesign #270 #403
base: main
Are you sure you want to change the base?
Conversation
Add Picture for About Add styled component under Section Move Affiliates and Org List as components
For other custom fonts, we downloaded them to assets, so lets just stay consistent with that. Thanks! |
add montserrat to app.css changed all font on about page to montserrat
removed unused styled components
@ri0nardo @mwpark2014 @zoobot let me know if there's anything I should change |
@vernfongchao can you add screenshots? |
@ri0nardo first comment |
@vernfongchao i can send you a markup if you want, but theyre all minor changes
Other than that the core of the work looks great. |
fix position on first p change button text to bold and added padding
|
@vernfongchao if thats the bold then thats fine. Its just that the bold on Figma is significantly fatter text. If its bold then its approved. |
One more minor comment: what are the dimensions of the photo in this PR? Probably completely fine to merge in a high res photo in this PR, but we might want to be smart in serving high-res vs low-res photos in the future (the about page is pretty low prio with highest prio being the photo gallery feature in the future). |
client/src/pages/About/About.scss
Outdated
|
||
&__relative { | ||
position: relative; | ||
width: 10; |
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.
Probably needs a unit, don't think css defaults to a valid unit
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 that was a mistake, was migrating things over from styled components.
</p> | ||
</div> | ||
<div className="about__main__section__numsection"> | ||
<div className="about__main__section__numsection__relative"> |
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 feels like it can be simplified. Why is there a nesting of a position: absolute
inside of a position: relative
div? Is there a way to collapse the number of divs and the number of classname selectors?
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.
The reason why im having an absolute nesting inside of a relative is mainly for structure. The relative div is used to give structure but also control to its children divs. Its actually a well known technique used by alot of people. It allows me to manipulate the position and have it be relatives to its current flow instead of the html page
https://css-tricks.com/absolute-positioning-inside-relative-positioning/
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.
Hmm, so the relative element gives structuring for the absolute element child. But there is just one child that doesn't have any positioning fields like top
, left
, etc, so I'm not sure why you need this extra div element. Couldn't you put these fields into the parent &__relative
element? I could be wrong!
&__absolute {
position: absolute;
width: 100%;
display: flex;
justify-content: center;
color: #3fab4530;
span {
font-size: 15.5rem;
}
}
Tickets: #270
What has changed:
What Reviewers Should Know:
This PR is only for About page, not the Contact Page do not close the issue after.
Figma Design: https://www.figma.com/file/5C3v1LUNwMPQy9JOgnKEtr/Water-the-Trees?node-id=811%3A855
New Design:
New Design(mobile):