HomePhabricator
Diffusion Comm e0ef2fb5c16b

[landing] add size prop to logo components

Description

[landing] add size prop to logo components

Summary:
In the figma designs we have different sizes for the competitor logos. For example in feature cards the logos are 30x30px but in the comparison selector component the logos are 50x50px. To make the size of the logos dynamic I added an optional size prop to each component. If the size field is not passed then we will default the size of the logo to 50x50 (the original size from Figma)

Depends on D7943

Test Plan:
Please see the screenshots to see that I was able to change the sizes of the logos

Screenshot 2023-05-23 at 4.16.34 PM.png (2×3 px, 700 KB)

Reviewers: atul, kamil

Reviewed By: atul

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D7945

Details

Provenance
ginsuAuthored on May 23 2023, 6:58 AM
Reviewer
atul
Differential Revision
D7945: [landing] add size prop to logo components
Parents
rCOMMc140e931bd41: [landing] introduce logo svg assets for competitor comparison
Branches
Unknown
Tags
Unknown