shellscape / jsx-email

Build emails with a delightful DX
https://jsx.email
MIT License
897 stars 28 forks source link

Preview for mobile #99

Closed wladpaiva closed 6 months ago

wladpaiva commented 6 months ago

Feature Use Case

react-email is got the preview mobile which is pretty cool to have an idea of how the email will look like in both devices

Feature Proposal

I personally find the switch a bit annoying so since most of emails is 640px wide max, I'd just show simultaneously the mobile and desktop on the same screen. I'd same some time.

shellscape commented 6 months ago

For sure! We've got an active branch for this here: https://github.com/shellscape/jsx-email/tree/feat/jsx-email/preview-devices. You're welcome to checkout that branch and give it a shot. It's not quite where I want it to be, but it's close. And as per usual it's a far better experience than what react-email have cobbled together 🙊 I'm hoping to get this done early next week.

I posted a preview on discord last week as well https://discord.com/channels/1156307748552716398/1156766131462361211/1183525703069732966