Open vd1992 opened 10 months ago
So, I noticed this a while ago and forgot to make a ticket, but it would probably be better to create fixed size images for our heros that have no gradient. We can then create the fade using css in the Hero
component.
Relying on gradients being baked into images can be a little tricky and then if we ever want to adjust the gradient, it is much more time consuming to re-export all the images.
I'd love to hear @substrae thoughts, but my preference is to usually do image fades/gradients with css rather than baking them into images.
Also, we could avoid odd things like this ๐
@esizer
I'm in the same boat - I'd rather this be CSS as well. The only caveat is that Brooke might be doing custom gradient variation depending on the subjects in the photo, though I'd be surprised if this were the case.
Well, Brooke won't be addressing this, so CSS is the way to go :)
Removing blocked-design tag. But let us know if it still needs more from us.
Do we know if this was solved with https://github.com/GCTC-NTGC/gc-digital-talent/issues/9286 ?
@esizer It wasn't, unfortunately. I don't have access to all of the original stock photos, so I had to update the new ones to match for now.
Waiting on Brooke for this one
๐ Bug
Spinning off from observations in #8405 Some images are missing a gradient.
๐ต๏ธ Details
Reference
https://github.com/GCTC-NTGC/gc-digital-talent/pull/8405#issuecomment-1806432561
๐ธ Screenshot
Example image lacking gradient up top.
๐โโ๏ธ Proposed Solution
Replace images lacking the desired gradient with images possessing gradients.
โ Acceptance Criteria