Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/photo-1482424917728-d82d29662023.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/t-shirt-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/t-shirt-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/t-shirt-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
140 changes: 140 additions & 0 deletions src/features/email-preview/catalog/blocks/ecommerce1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
{
"version": 2,
"name": "ecommerce1",
"label": "E-Commerce 1",
"type": "ecommerce",
"preview": "img/components/ecommerce-1.png",
"block": {
"id": "E1BlockA",
"label": "E-Commerce 1",
"settings": {
"spacing": { "padding": [30, 35, 30, 35] },
"backgroundColor": "#FFFFFF"
},
"rows": [
{
"id": "E1TopRow",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"gap": 0
},
"cells": [
{
"id": "E1TopCel",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"verticalAlign": "top",
"horizontalAlign": "right"
},
"atoms": [
{
"id": "E1TopTxt",
"type": "text",
"value": "<p style=\"text-align: right;\"><span style=\"font-size: 14px; color: rgb(59, 175, 252);\"><a href=\"https://example.com\">See all ➝</a></span></p>",
"color": "#000000",
"spacing": { "margin": [0, 0, 0, 0], "padding": [0, 0, 0, 0] }
}
],
"rows": []
}
]
},
{
"id": "E1ImgRow",
"settings": {
"spacing": { "padding": [0, 0, 20, 0] },
"backgroundColor": "transparent",
"gap": 0
},
"cells": [
{
"id": "E1ImgCel",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"verticalAlign": "top",
"horizontalAlign": "center"
},
"atoms": [
{
"id": "E1ImgAtm",
"type": "image",
"src": "img/t-shirt-1.png",
"link": "https://example.com",
"alt": "Extended Shirt",
"width": 530,
"spacing": { "margin": [0, 0, 0, 0], "padding": [0, 0, 0, 0] }
}
],
"rows": []
}
]
},
{
"id": "E1TxtRow",
"settings": {
"spacing": { "padding": [0, 0, 20, 0] },
"backgroundColor": "transparent",
"gap": 0
},
"cells": [
{
"id": "E1TxtCel",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"verticalAlign": "top",
"horizontalAlign": "center"
},
"atoms": [
{
"id": "E1CopyAA",
"type": "text",
"value": "<p style=\"text-align: center;\"><span style=\"color: rgb(132, 137, 196);\">New series</span></p><p style=\"text-align: center;\"><strong><span style=\"font-size: 32px;\">Extended Shirt</span></strong></p><p style=\"text-align: center;\"><span style=\"color: rgb(170, 170, 170);\">Hip Hop Basic Longline T-Shirt.</span></p><p style=\"text-align: center;\"><strong><span style=\"color: rgb(105, 193, 66); font-size: 24px;\">$24.99</span></strong></p>",
"color": "#000000",
"spacing": { "margin": [0, 0, 0, 0], "padding": [0, 0, 0, 0] }
}
],
"rows": []
}
]
},
{
"id": "E1CtaRow",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"gap": 0
},
"cells": [
{
"id": "E1CtaCel",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"verticalAlign": "top",
"horizontalAlign": "center"
},
"atoms": [
{
"id": "E1Button",
"type": "button",
"text": "Buy Now",
"link": "https://example.com",
"backgroundColor": "#409EFF",
"color": "#FFFFFF",
"fontSize": 16,
"borderRadius": 3,
"padding": [12, 20, 12, 20],
"spacing": { "margin": [0, 0, 0, 0], "padding": [12, 20, 12, 20] }
}
],
"rows": []
}
]
}
]
}
}
146 changes: 146 additions & 0 deletions src/features/email-preview/catalog/blocks/ecommerce2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"version": 2,
"name": "ecommerce2",
"label": "E-Commerce 2",
"type": "ecommerce",
"preview": "img/components/ecommerce-2.png",
"block": {
"id": "E2BlockA",
"label": "E-Commerce 2",
"settings": {
"spacing": { "padding": [30, 35, 40, 35] },
"backgroundColor": "#FFFFFF",
"backgroundImage": {
"url": "img/photo-1482424917728-d82d29662023.jpeg",
"repeat": "no-repeat",
"size": "cover",
"position": "center"
}
},
"rows": [
{
"id": "E2TopRow",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"gap": 0
},
"cells": [
{
"id": "E2TopCel",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"verticalAlign": "top",
"horizontalAlign": "right"
},
"atoms": [
{
"id": "E2TopTxt",
"type": "text",
"value": "<p style=\"text-align: right;\"><span style=\"font-size: 14px; color: rgb(170, 170, 170);\"><a href=\"https://example.com\">See all ➝</a></span></p>",
"color": "#FFFFFF",
"spacing": { "margin": [0, 0, 0, 0], "padding": [0, 0, 0, 0] }
}
],
"rows": []
}
]
},
{
"id": "E2ImgRow",
"settings": {
"spacing": { "padding": [0, 0, 20, 0] },
"backgroundColor": "transparent",
"gap": 0
},
"cells": [
{
"id": "E2ImgCel",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"verticalAlign": "top",
"horizontalAlign": "center"
},
"atoms": [
{
"id": "E2ImgAtm",
"type": "image",
"src": "img/t-shirt-4.png",
"link": "https://example.com",
"alt": "Smoke Edition",
"width": 530,
"spacing": { "margin": [0, 0, 0, 0], "padding": [0, 0, 0, 0] }
}
],
"rows": []
}
]
},
{
"id": "E2TxtRow",
"settings": {
"spacing": { "padding": [0, 0, 20, 0] },
"backgroundColor": "transparent",
"gap": 0
},
"cells": [
{
"id": "E2TxtCel",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"verticalAlign": "top",
"horizontalAlign": "center"
},
"atoms": [
{
"id": "E2CopyAA",
"type": "text",
"value": "<p style=\"text-align: center;\"><span style=\"color: rgb(170, 170, 170);\">New series</span></p><p style=\"text-align: center;\"><strong><span style=\"font-size: 32px; color: rgb(200, 200, 200);\">Smoke Edition</span></strong></p><p style=\"text-align: center;\"><span style=\"color: rgb(170, 170, 170);\">Hip Hop Basic Longline T-Shirt.</span></p><p style=\"text-align: center;\"><strong><span style=\"color: rgb(200, 200, 200); font-size: 24px;\">$34.99</span></strong></p>",
"color": "#FFFFFF",
"spacing": { "margin": [0, 0, 0, 0], "padding": [0, 0, 0, 0] }
}
],
"rows": []
}
]
},
{
"id": "E2CtaRow",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"gap": 0
},
"cells": [
{
"id": "E2CtaCel",
"settings": {
"spacing": {},
"backgroundColor": "transparent",
"verticalAlign": "top",
"horizontalAlign": "center"
},
"atoms": [
{
"id": "E2Button",
"type": "button",
"text": "Buy Now",
"link": "https://example.com",
"backgroundColor": "#FFFFFF",
"color": "#000000",
"fontSize": 16,
"borderRadius": 3,
"padding": [12, 20, 12, 20],
"spacing": { "margin": [0, 0, 0, 0], "padding": [12, 20, 12, 20] }
}
],
"rows": []
}
]
}
]
}
}
Loading