Code Monkey home page Code Monkey logo

email-templates's Introduction

transactional email templates

Workflow

  1. Make changes to the .md files in emails/ directory.
  2. Run pnpm install && pnpm export to generate HTML files.
  3. Upload the files out/ directory to Campaign Monitor.

What is this?

  • Email templates are defined in the .md files in emails/ directory.

  • The {{ wordsInCurlyBraces }} are Liquid variables used by Campaign Monitor.

  • Templates share components:

    • The global footer is defined in src/footer.ts.
    • The subscriptions footer is defined in src/subscriptions-footer.ts.
    • The header is defined in src/EmailHeader.tsx.
  • All .tsx files in the emails/ at this point are the same and can be disregarded.

    • We use them to generate the HTML.
    • In the future, we can also build emails with custom designs.

email-templates's People

Contributors

hasparus avatar malak67 avatar cmwhited avatar

Watchers

Jannis Pohlmann avatar Vlad Sirenko avatar AK avatar Daniel N. Werner avatar Ford avatar  avatar Brandon Ramirez avatar John Graber avatar DaMandal0rian avatar Craig Tutterow avatar  avatar Ruslan Rotaru avatar Kevin J avatar  avatar Andras Szucs avatar  avatar Iain McCown avatar  avatar Yash Jagtap avatar Michael Macaulay avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.