Page MenuHomePhabricator

[landing] redesign the subscription form component
AcceptedPublic

Authored by ginsu on Mon, May 22, 7:07 AM.
Tags
None
Referenced Files
F566247: Screenshot 2023-05-31 at 12.10.37 PM.png
Wed, May 31, 9:11 AM
F566246: Screenshot 2023-05-31 at 12.10.45 PM.png
Wed, May 31, 9:11 AM
Unknown Object (File)
Wed, May 31, 12:37 AM
Unknown Object (File)
Mon, May 22, 7:56 AM
F551458: Screenshot 2023-05-22 at 5.15.40 PM.png
Mon, May 22, 7:16 AM
F551457: Screenshot 2023-05-22 at 5.15.23 PM.png
Mon, May 22, 7:16 AM
F551454: Screenshot 2023-05-22 at 5.13.59 PM.png
Mon, May 22, 7:16 AM
F551453: Screenshot 2023-05-22 at 5.13.49 PM.png
Mon, May 22, 7:16 AM
Subscribers

Details

Reviewers
atul
kamil
Summary

As part of the Hero redesign for the landing page we need to redesign our SubscriptionForm component. The focus of this diff is to change the language and visuals (color and layout by separating the input field from the button) shown on SubscriptionForm. Here is a screenshot of the Figma doc (please note that a subsequent diff will handle displaying the feedback text shown in the Figma)

Screenshot 2023-05-22 at 5.10.49 PM.png (2×3 px, 2 MB)

Screenshot 2023-05-22 at 5.10.53 PM.png (2×3 px, 2 MB)

Depends on D7914

Test Plan

Please see the screenshots below:

Desktop Normal:

Screenshot 2023-05-22 at 5.12.39 PM.png (2×3 px, 1 MB)

Hover:

Success Case:

Screenshot 2023-05-22 at 5.13.49 PM.png (2×3 px, 1 MB)

Error Case:

Screenshot 2023-05-22 at 5.13.59 PM.png (2×3 px, 1 MB)

Mobile View:

Screenshot 2023-05-31 at 12.10.45 PM.png (2×3 px, 904 KB)

Tablet View:

Screenshot 2023-05-31 at 12.10.37 PM.png (2×3 px, 943 KB)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu requested review of this revision.Mon, May 22, 7:25 AM
atul requested changes to this revision.Mon, May 22, 9:13 AM

Can we set a minimum width on the button so it can fit Request Access/Requested!/Invalid Email/etc?

That way the size of the input field and button won't "shift around" during different states

This revision now requires changes to proceed.Mon, May 22, 9:13 AM
This revision is now accepted and ready to land.Wed, May 31, 1:13 PM