Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/neighborexpress/neighbor-express/eue9iotbx |
Hey! Feedback:
|
I don't know what you mean by
One source of inspiration that would be especially easy to pull from would be anything that's on the official USWDS layout: https://designsystem.digital.gov/page-templates/ |
The way that I've done this in the past is having an element with 100% height on top of the div, that has a gradient-ed background from transparent->black top->bottom, and then move the text there. Made a super quick figma mockup: https://www.figma.com/file/B7QmTZk8gvbbmXZAHmj5KP/NEX-homepage?node-id=0%3A1 |
components/List.jsx
Outdated
<div className="display-flex flex-justify-start flex-align-end padding-2" | ||
style={{ height: "100%", width: "100%", color: "white", | ||
backgroundImage: 'linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1))'}}> |
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 personally prefer extracting these inline styles into a List.module.css and importing it, instead of having them inline.
I'd also maybe reduce the black to .8 or .7 opacity, (I had it at .75 in the mockup I think) so that the photo is a little more clear
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 know this is also going on super long for a relatively small thing so also feel free to not play around with the opacity haha)
@keithk yeah I like .75 better! I... didn't actually know how to read that value out of Figma, whoops! |
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.
Yessss that looks great 🙏🏼
Links
GIF/Screenshots:
Changes:
How To Test:
Feedback I'm looking for:
... I don't really think this looks that good? Especially because it varies in size with the content? can I get some design feedback on this?
Things left to do before deploying: