Skip to content

Instantly share code, notes, and snippets.

@thejohnnybot
Last active May 30, 2018 18:48
Show Gist options
  • Select an option

  • Save thejohnnybot/d079878307370abc986a68d8a1d7cd42 to your computer and use it in GitHub Desktop.

Select an option

Save thejohnnybot/d079878307370abc986a68d8a1d7cd42 to your computer and use it in GitHub Desktop.
{
"campaign": {
"name": "May Newsletter",
"templateSettings": {
"context": {
"context": {
"rid": "%%emailaddr%%",
"custom": {
"header": "",
"footer": "",
"css": "",
"gcss": ""
},
"settings": {
"poweredby": false,
"language": "en",
"title": "Rebelmail email",
"preheader": "email preheader",
"webfonts": {
"family": [
{
"url": "https://fonts.googleapis.com/css?family=Merriweather:300|Montserrat:800"
}
]
},
"styles": {
"background": {
"color": "#F0F0F0"
},
"container": {
"width": "",
"background": {
"color": ""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"boxShadow": {
"horizontalOffset": "",
"verticalOffset": "",
"blur": "",
"spread": "",
"color": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": ""
}
}
}
},
"components": [
{
"type": "container",
"body": {},
"style": {
"container": {
"width": "600",
"background": {
"color": ""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"boxShadow": {
"horizontalOffset": "",
"verticalOffset": "",
"blur": "",
"spread": "",
"color": ""
},
"font": {
"color": "#000000",
"decoration": "",
"family": "Merriweather, georgia, serif",
"style": "",
"height": "120",
"weight": "300",
"size": "12",
"align": "center"
}
},
"containerBackground": {
"background": {
"color": ""
}
}
},
"components": [
{
"type": "section",
"body": {
"role": ""
},
"style": {
"section": {
"background": {
"color": "#F9A100"
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"margin": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"padding": {
"top": "30",
"right": "30",
"bottom": "30",
"left": "30"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height": "",
"weight": "",
"size": "",
"align": "left"
}
}
},
"components": [
{
"type": "columns",
"style": {
"columnGap": ""
},
"components": [
{
"type": "column",
"style": {
"width": "",
"widthUnit": "",
"valign": "middle",
"background": {
"color": ""
},
"padding": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints": [
{
"breakMin": "",
"breakMax": "",
"width": "",
"widthUnit": "",
"hide": false
}
]
},
"components": [
{
"type": "image",
"body": {
"href": "http://www.gorebel.com",
"src": "https://s3.amazonaws.com/rebelmail-templates/generic/static/images/rebel.png",
"alt": "Rebel",
"retina": "2"
},
"style": {
"image": {
"width": "114",
"height": "31",
"align": "left",
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"margin": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"padding": {
"top": "",
"right": "",
"bottom": "",
"left": ""
}
}
}
}
]
},
{
"type": "column",
"style": {
"width": "",
"widthUnit": "",
"valign": "middle",
"background": {
"color": ""
},
"padding": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "right"
},
"breakpoints": [
{
"breakMin": "",
"breakMax": "",
"width": "",
"widthUnit": "",
"hide": false
}
]
},
"components": [
{
"type": "text",
"body": {
"tag": "p",
"text": "<a href=\"https://www.gorebel.com\" style=\"color:#ffffff;\">View Online</a>"
},
"style": {
"p": {
"margin": {
"top": "0",
"right": "0",
"bottom": "0",
"left": "0"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "12",
"align": ""
}
}
}
}
]
}
]
},
{
"type": "text",
"body": {
"tag": "p",
"text": "May 2018 "
},
"style": {
"p": {
"margin": {
"top": "40",
"right": "0",
"bottom": "0",
"left": "0"
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height": "120",
"weight": "",
"size": "16",
"align": ""
}
}
}
},
{
"type": "text",
"body": {
"tag": "h1",
"text": "NEW AT THE OFFICE THIS MONTH!"
},
"style": {
"h1": {
"margin": {
"top": "0",
"right": "0",
"bottom": "20",
"left": "0"
},
"font": {
"color": "#ffffff",
"decoration": "",
"family": "Montserrat, sans-serif",
"style": "",
"height": "120",
"weight": "800",
"size": "36",
"align": ""
}
}
}
}
]
},
{
"type": "image",
"body": {
"href": "",
"src": "https://s3.amazonaws.com/rebelmail-templates/generic/static/images/laptop2.jpg",
"alt": "",
"retina": "2"
},
"style": {
"image": {
"width": "600",
"height": "205",
"align": "",
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"margin": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"padding": {
"top": "",
"right": "",
"bottom": "",
"left": ""
}
}
}
},
{
"type": "columns",
"style": {
"columnGap": ""
},
"components": [
{
"type": "column",
"style": {
"width": "200",
"widthUnit": "px",
"valign": "",
"background": {
"color": "#ffffff"
},
"padding": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints": [
{
"breakMin": "",
"breakMax": "400",
"width": "100",
"widthUnit": "%",
"hide": false
}
]
},
"components": [
{
"type": "image",
"body": {
"href": "",
"src": "https://s3.amazonaws.com/rebelmail-templates/generic/static/images/coffee2.jpg",
"alt": "Cup of coffee",
"retina": "4"
},
"style": {
"image": {
"width": "200",
"height": "200",
"align": "center",
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"margin": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"padding": {
"top": "",
"right": "",
"bottom": "",
"left": ""
}
}
}
}
]
},
{
"type": "column",
"style": {
"width": "",
"widthUnit": "",
"valign": "",
"background": {
"color": "#ffffff"
},
"padding": {
"top": "20",
"right": "20",
"bottom": "20",
"left": "20"
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints": [
{
"breakMin": "",
"breakMax": "400",
"width": "100",
"widthUnit": "%",
"hide": false
}
]
},
"components": [
{
"type": "text",
"body": {
"tag": "h3",
"text": "New coffee in the office kitchen"
},
"style": {
"h3": {
"margin": {
"top": "0",
"right": "0",
"bottom": "0",
"left": "0"
},
"font": {
"color": "",
"decoration": "",
"family": "Montserrat, sans-serif",
"style": "",
"height": "120",
"weight": "",
"size": "24",
"align": ""
}
}
}
},
{
"type": "text",
"body": {
"tag": "p",
"text": "<a href=\"http://www.gorebel.com\" style=\"color:#F9A100\">See the selection &rarr;</a>"
},
"style": {
"p": {
"margin": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height": "",
"weight": "",
"size": "16",
"align": ""
}
}
}
}
]
}
]
},
{
"type": "columns",
"style": {
"columnGap": ""
},
"components": [
{
"type": "column",
"style": {
"width": "200",
"widthUnit": "px",
"valign": "",
"background": {
"color": "#ffffff"
},
"padding": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints": [
{
"breakMin": "",
"breakMax": "400",
"width": "100",
"widthUnit": "%",
"hide": false
}
]
},
"components": [
{
"type": "image",
"body": {
"href": "",
"src": "https://s3.amazonaws.com/rebelmail-templates/generic/static/images/taco.jpg",
"alt": "a taco",
"retina": "4"
},
"style": {
"image": {
"width": "200",
"height": "200",
"align": "center",
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"margin": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"padding": {
"top": "",
"right": "",
"bottom": "",
"left": ""
}
}
}
}
]
},
{
"type": "column",
"style": {
"width": "",
"widthUnit": "",
"valign": "",
"background": {
"color": "#ffffff"
},
"padding": {
"top": "20",
"right": "20",
"bottom": "20",
"left": "20"
},
"border": {
"color": "",
"width": "",
"style": "",
"radius": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "",
"align": "left"
},
"breakpoints": [
{
"breakMin": "",
"breakMax": "400",
"width": "100",
"widthUnit": "%",
"hide": false
}
]
},
"components": [
{
"type": "text",
"body": {
"tag": "h3",
"text": "Taco Tuesday makes a comeback"
},
"style": {
"h3": {
"margin": {
"top": "0",
"right": "0",
"bottom": "0",
"left": "0"
},
"font": {
"color": "",
"decoration": "",
"family": "Montserrat, sans-serif",
"style": "",
"height": "120",
"weight": "",
"size": "24",
"align": ""
}
}
}
},
{
"type": "text",
"body": {
"tag": "p",
"text": "<a href=\"http://www.gorebel.com\" style=\"color:#F9A100\">Get your orders in &rarr;</a>"
},
"style": {
"p": {
"margin": {
"top": "",
"right": "",
"bottom": "",
"left": ""
},
"font": {
"color": "",
"decoration": "",
"family": "",
"style": "",
"height": "",
"weight": "",
"size": "16",
"align": ""
}
}
}
}
]
}
]
},
{
"type": "text",
"body": {
"tag": "p",
"text": "We’re always looking for new ideas, so if you’ve got something you want to do or announce get in touch. We’ll make sure the whole company knows about it."
},
"style": {
"p": {
"margin": {
"top": "20",
"right": "30",
"bottom": "20",
"left": "30"
},
"font": {
"color": "#000000",
"decoration": "",
"family": "",
"style": "",
"height": "120",
"weight": "",
"size": "12",
"align": "left"
}
}
}
},
{
"type": "line",
"body": {},
"style": {
"line": {
"width": "",
"height": "2",
"align": "",
"background": {
"color": "#ffffff"
},
"margin": {
"top": "",
"right": "30",
"bottom": "",
"left": "30"
}
}
}
},
{
"type": "text",
"body": {
"tag": "p",
"text": "Copyright Rebel Inc. 2018"
},
"style": {
"p": {
"margin": {
"top": "20",
"right": "30",
"bottom": "20",
"left": "30"
},
"font": {
"color": "#000000",
"decoration": "",
"family": "",
"style": "",
"weight": "",
"size": "10",
"align": "left"
}
}
}
}
]
}
]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment