sigle/sigle

⚡ Feature | Update profile card on Article page

QuentinSaubadu opened this issue · 0 comments

Because we now allow user to subscribe to a writer's newsletter, the card below need to be updated:
Capture d’écran 2022-11-10 à 11 09 12

Add the two buttons like you did on #748

Be careful, the padding between the two buttons is 8px, not 12px.

Use the same "on click" state as you did on #748.

The “follow” button activate automatically if the user press the “Subscribe” button.
A user can unfollow and remain subscribed.
If the user click “follow” only, the “Subscribe” button does not activate.
If the user already entered his email in the settings panel, the susbscribe is automaticly applied after pushing the “Subscribe” button. If not, we display the modal below:
Capture d’écran 2022-11-10 à 11 14 41
MODAL: https://www.figma.com/file/elxKahbV8rj85IWOEyZeVu/Product-design?node-id=5668%3A36582

FIGMA FILE: https://www.figma.com/file/uPVMeBq0bERyViiRMXzLN8/Sigle-design-system?node-id=3070%3A5917