Tipos de Conteúdo

Empty (Vazio)

{
    "style": {
        "backgroundImage": "",
        "backgroundRepeat": "no-repeat",
        "backgroundSize": "cover",
        "backgroundPosition": "center center",
        "opacity": 1,
    },
    "type": "empty"
}
1
2
3
4
5
6
7
8
9
10

Text (Texto)

{
    "style": {
        "backgroundImage": "",
        "backgroundRepeat": "no-repeat",
        "backgroundSize": "cover",
        "backgroundPosition": "center center",
        "opacity": 1,
    },
    "type": "text",
    "data": {
        "html": "<p style=\"text-align: center\">Lorem Ipsum</p>"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13

Image (Imagem)

{
    "style": {
        "backgroundImage": "",
        "backgroundRepeat": "no-repeat",
        "backgroundSize": "cover",
        "backgroundPosition": "center center",
        "opacity": 1,
    },
    "type": "image",
    "data": {
       "url": "https://www.example.com/image.jpg",
       "width": "600px",
       "height": "500px"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

Video

{
    "style": {
        "backgroundImage": "",
        "backgroundRepeat": "no-repeat",
        "backgroundSize": "cover",
        "backgroundPosition": "center center",
        "opacity": 1,
    },
    "type": "video",
    "data": {
       "url": "https://www.youtube.com/watch?v=NGp0V0t3cPo",
       "provider": "youtube"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14

Quote

{
    "style": {
        "backgroundImage": "",
        "backgroundRepeat": "no-repeat",
        "backgroundSize": "cover",
        "backgroundPosition": "center center",
        "opacity": 1,
    },
    "type": "quote",
    "data": {
       "options": {
            "currency": "USD"    
       },
       "content": {
       		"fields": [
       			{
       				"id": "name",
       				"label": "Name",
       				"show": true
       			},
       			{
       				"id": "quantity",
       				"label": "Quantity",
       				"show": true
       			},
       			{
       				"id": "price",
       				"label": "Price",
       				"show": true
       			}
       		],
       		"items": [
       			{ "id": "001", "name": "Product A", "quantity": 2, "price": 150.75 },
       			{ "id": "002", "name": "Product B", "quantity": 3, "price": 70.50 },
       			{ "id": "003", "name": "Product C", "quantity": 4, "price": 200.25 }
       		]
       	}
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Última Atualização: 2019-4-29 10:37:27