Context
Elements already includes a newsletter email template, but does not currently demonstrate how the same content can be rendered as a web page.
One of the core ideas behind Elements is rendering the same content across multiple outputs. A newsletter-to-web-archive example would help demonstrate email and web parity from a shared component tree.
Definition of Done
Create a newsletter web archive example using the existing newsletter content.
The example should:
Example Outcome
A developer should be able to:
- View the newsletter as an email
- View the same content as a web page
- Understand how Elements enables multiple outputs from the same content structure
The example should clearly demonstrate the email-to-web workflow.
Where to Start
Useful references already exist in the codebase:
packages/demo/src/templates/NewsletterDigest.tsx
packages/react/src/components/Page.tsx
packages/demo/src/sections/RenderModeDemo.tsx
The goal is to adapt the existing newsletter content into a documented email + web example.
Context
Elements already includes a newsletter email template, but does not currently demonstrate how the same content can be rendered as a web page.
One of the core ideas behind Elements is rendering the same content across multiple outputs. A newsletter-to-web-archive example would help demonstrate email and web parity from a shared component tree.
Definition of Done
Create a newsletter web archive example using the existing newsletter content.
The example should:
NewsletterDigesttemplate<Page>examples/newsletter-web-archive/Example Outcome
A developer should be able to:
The example should clearly demonstrate the email-to-web workflow.
Where to Start
Useful references already exist in the codebase:
packages/demo/src/templates/NewsletterDigest.tsxpackages/react/src/components/Page.tsxpackages/demo/src/sections/RenderModeDemo.tsxThe goal is to adapt the existing newsletter content into a documented email + web example.