Page MenuHomePhabricator

[landing] redesign the subscription form component
ClosedPublic

Authored by ginsu on May 22 2023, 7:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 5, 3:47 PM
Unknown Object (File)
Wed, Mar 27, 11:54 PM
Unknown Object (File)
Feb 10 2024, 1:41 PM
Unknown Object (File)
Feb 10 2024, 1:40 PM
Unknown Object (File)
Feb 10 2024, 1:40 PM
Unknown Object (File)
Feb 10 2024, 1:39 PM
Unknown Object (File)
Feb 10 2024, 1:39 PM
Unknown Object (File)
Feb 10 2024, 12:52 PM
Subscribers

Details

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.May 22 2023, 7:25 AM
atul requested changes to this revision.May 22 2023, 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.May 22 2023, 9:13 AM
This revision is now accepted and ready to land.May 31 2023, 1:13 PM