Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

salesforce-marketingcloud/amp-demos

AMP-Demos

This repo is a next.js project. It’s responsible for generating amp-demos.herokuapp.com - a collection of AMP for Email examples written for and tested in Salesforce Marketing Cloud (SFMC).

You can read more about this on the Salesforce Developer Blog.

Here is a detailed list of the amp4email sample files which may be found in the amp-demos directory.

  • demo.html - amp4email markup that has been tested and validated. Most likely, it is connected to an external .json data source. It may require customization in order to accommodate custom environments.
  • demo.json - static example of the .json used in the related amp4email example. Some examples utilize data sources that are hard coded, while some utilize Server-Side JavaScript to dynamically generate .json.
  • meta.json - content for each example, and used purely for populating the layout and presentation with content.
  • demo.js - examples of Server-Side JavaScript responsible for generating the .json. Please let this serve as an example, as these represent minimal technique to ensure simplicity in the example.

External Resources

Trailhead Live Series

About

No description or website provided.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •