Page MenuHomePhabricator

[landing] added hover effect to investor profile cards
ClosedPublic

Authored by ginsu on Oct 25 2022, 1:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 5:20 PM
Unknown Object (File)
Tue, Nov 26, 5:20 PM
Unknown Object (File)
Tue, Nov 26, 5:20 PM
Unknown Object (File)
Tue, Nov 26, 5:20 PM
Unknown Object (File)
Tue, Nov 26, 5:20 PM
Unknown Object (File)
Tue, Nov 26, 5:20 PM
Unknown Object (File)
Nov 5 2024, 2:07 AM
Unknown Object (File)
Oct 5 2024, 4:39 PM

Details

Summary

added color to profile photos and a subtle glow effect whenever the cards are hovered over. One thing to note: some photos are B&W or have very little saturation already, so the hover effect sometimes doesn't seem very apparent.


Linear Task: ENG-2105

Test Plan

Please watch the before and after video demos to see the changes I made:

Before:

After:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu retitled this revision from [landing] added color photo on hover effect to [landing] added color to profile photo on hover effect.Oct 25 2022, 1:15 PM
ginsu edited the summary of this revision. (Show Details)
ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, rohan.
ginsu requested review of this revision.Oct 25 2022, 1:25 PM

want to make add some more hover effects

added a glow effect to cards when hovered

ginsu retitled this revision from [landing] added color to profile photo on hover effect to [landing] added hover effect to investor profile cards.Oct 25 2022, 2:24 PM
ginsu edited the summary of this revision. (Show Details)
ginsu edited the test plan for this revision. (Show Details)
atul requested changes to this revision.Oct 26 2022, 10:34 AM

One thing to note: some photos are B&W or have very little saturation already, so the hover effect sometimes doesn't seem very apparent.

Good point... should we stick to glow/outline for the entire card on hover then? Maybe leave the "profile pictures" as is on hover?

(cc @ashoat)

landing/investor-profile.css
13 ↗(On Diff #17914)

Can we try adding like transition: 200ms; to see if that makes the animation a bit less jarring?

This revision now requires changes to proceed.Oct 26 2022, 10:34 AM

Okay with any reasonable approach here!! Agree that the current effect doesn't seem visible when the avatar is already B&W

removed investor profile going from bw to color and made glow a bit brighter when card is hovered over

This revision is now accepted and ready to land.Oct 27 2022, 9:52 AM