Epic #9864
Task: Design a new widget -- it should include email, QR code, and app-store badges
Notes:
QR Code Widget in Hero: (https://www.mozilla.org/it/firefox/mobile/)

QR Code Widget (above footer) (https://www.mozilla.org/it/firefox/mobile/)

SMS/Email Widget in Hero: (https://www.mozilla.org/en-US/firefox/mobile/)

SMS/Email Widget in Hero: (https://www.mozilla.org/en-US/firefox/mobile/)

I should be able to provide a template helper method that can take some data (a URL most likely) and replace it with SVG data that will be embeded into the page using the qrcode library.
List of pages currently using the S2D widget:
http://localhost:8000/en-US/firefox/mobile/
http://localhost:8000/en-US/firefox/mobile/get-app/
http://localhost:8000/en-US/firefox/whatsnew/all/
http://localhost:8000/en-US/firefox/79.0/whatsnew/all/
http://localhost:8000/en-US/firefox/80.0/whatsnew/all/
http://localhost:8000/en-US/firefox/81.0/whatsnew/all/
http://localhost:8000/de/firefox/85.0/whatsnew/all/
http://localhost:8000/en-US/firefox/welcome/4/
http://localhost:8000/en-US/firefox/welcome/5/ (for Lockwise, not Mobile)
http://localhost:8000/en-US/firefox/welcome/6/
The default display for the macro is "horizontal" but we are over-riding with "vertical" everywhere we use it. So, a testing page will need to be made to test the horizontal layout (or maybe we can remove it?)
I've got a PR in for a code generator template helper function. Y'all give it a try and let me know if it's working the way you need it to https://github.com/mozilla/bedrock/pull/9877
The default display for the macro is "horizontal" but we are over-riding with "vertical" everywhere we use it. So, a testing page will need to be made to test the horizontal layout (or maybe we can remove it?)
Adding the different orientations to the considerations list.
Opt A:

Opt B:

Option C (Two-part):
The idea behind this one is that we'd A/B test/coin flip which page its on when the user lands. (QR vs Email)


There's also this URL (you may need to update your master branch as it was only just added recently)
http://localhost:8000/de/firefox/85.0/whatsnew/all/
I would like to work on this project. Please assign to me
@justinkropp Can we call in a favor? Would you review the variations in https://github.com/mozilla/bedrock/issues/9875#issuecomment-769418011 and give us any feedback?
Happy to. Feedback below (to be taken with a grain of salt ;) ):
Opt A
Opt B
Opt C
Does this help? Between them all, I like B. Also, nice work @maxxcrawford!
@justinkropp Thanks for the feedback! I agree – Option B feel like the right balance. The app store links are optional to the widget, so they may or may not be there.
Changes made:
Swapped QR code to first/top action. By moving the email address below, the privacy disclaimer acts as a floor/spacer between either action and the app store links.
Opt B - App Links Turned Off/Hidden

Opt B - App Links Visible (Alt Layout)

@stephaniehobson @craigcook Are there height restrictions we should be concerned with? These widgets are getting tall.
This is looking great.
I am worried about the height as well since user testing show it works best embedded in a page instead of in a modal. I liked how you had the buttons next to the QR code in the first one, so maybe we can just massage the copy? Or remove it completely.
We should consider how other services are also handling this friction.