Coder Social home page Coder Social logo

nethmini-11 / email-template-builder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harmolipi/enb-builder

0.0 0.0 0.0 8.5 MB

A simple organization's email template with updated content on a regular basis.

Home Page: https://harmolipi.github.io/enb-builder/

JavaScript 96.63% CSS 0.19% HTML 1.56% SCSS 1.62%

email-template-builder's Introduction

Electronic News Bulletin (ENB) Builder

A simple purpose-made tool for injecting my organization's email template with updated content on a regular basis.

About

At work, one of my tasks is to assemble and send out email news bulletins every week. I generally stick to the same format every time using a consistent design containing the following pieces of content:

  • 1 lead article consisting of:
    • Lead article title
    • Lead article image
    • Lead article body
    • Lead article action button (optional)
  • A few sub-items, each including:
    • Sub-item title
    • Sub-item image
    • Sub-item body
    • Sub-item action button (optional)

Until now, every week, I've just been copying/pasting the previous week's email's HTML, and manually changing out the contents of each of those elements, which is extremely time consuming (but I just kept doing it instead of finding a better way, for some reason).

But now, I decided to come up with a better way. I'm about to be out of the office for a couple weeks, and need to train someone else to handle this while I'm gone. Because the prospect of showing them my current workflow is so intimidating, I figured it would be easier to just create a purpose-made editor with react, where the above elements can just be pasted in, and will appear in both a preview element, and in a textbox as HTML they can paste into our email sending service.

Also, this is just a good project to practice using what I've been learning.

Usage

Go to https://harmolipi.github.io/enb-builder/ and fill out the fields as needed. Preview will update as you type. You can click to maximize either of those panes, and data will be stored in your browser's localStorage so it's likely not lost if you close the page. When you're ready, click "Show HTML" at the bottom and click to copy that HTML into the body of the email elsewhere.

Setup

npm install
npm start

email-template-builder's People

Contributors

harmolipi 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.