-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewsample.js
424 lines (424 loc) · 16.5 KB
/
newsample.js
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
var sample = {
"name": "layout1",
"id": "424234",
"folderId": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"sections": [
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "global",
"Show": false,
"type": "global",
"HasHeading": false,
"CustomCSS": "",
"Background": {},
"CustomHero": "",
"CustomHtml": "",
"ImageList": [],
"SectionOpts": {
"companyName": "Custom Heading",
"breadcrumbs": false,
"id": "global",
"customfont": "<link href=\"https://fonts.googleapis.com/css?family=Bebas+Neue&display=swap\" rel=\"stylesheet\">",
"customfontname": "font-family: 'Bebas Neue', cursive;"
},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": []
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "hero",
"type": "section",
"Show": false,
"Align": "left",
"HasHeading": false,
"LayoutTitle": "custom-tabs",
"LayoutDescription": "",
"CustomCSS": "",
"Background": {
"source": "",
"size": "contain",
"repeat": "repeat",
"position": "top left",
"attachment": "fixed",
"color": "",
"text": ""
},
"CustomHero": "",
"CustomHtml": "",
"ImageList": [],
"SectionOpts": {},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": []
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "folders",
"type": "section",
"Show": false,
"Align": "left",
"HasHeading": true,
"LayoutTitle": "Folders here!",
"LayoutDescription": "",
"CustomCSS": "",
"Background": {
"source": "",
"size": "contain",
"repeat": "repeat",
"position": "top left",
"attachment": "fixed",
"color": "",
"text": ""
},
"CustomHero": "",
"CustomHtml": "",
"ImageList": [],
"SectionOpts": {
"type": "grid",
"full": false
},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": []
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "custom_hero",
"type": "section",
"Show": true,
"Align": "left",
"HasHeading": false,
"LayoutTitle": "custom_hero section",
"LayoutDescription": "",
"CustomCSS": ".testimony blockquote {background-color: rgba(255,255,255,0.7);}\n.thumbs {margin: 0 -5px}\n.thumbs {list-style-type: none; padding: 0; display: flex; margin-top: 10px;}\n.thumbs li {flex: 1 33%; padding: 0; margin: 0 5px;}\n.thumbs li img {width: 100%;}\n.main {width: 100%}\n#custom_hero .info {}\n#custom_hero h3 {text-transform: inherit; font-weight: normal; font-size: 1.2em;}\n#custom_hero blockquote {margin-top: 2em}\n#custom_hero, #custom_hero h1, #custom_hero h3 {text-shadow: 0px 0px 3px #333}\n#custom_hero .section-content {padding: 7em 2em;}\n\n#custom_hero .container {background-color: rgba(255,255,255,.6); padding: 2em;}\n\n#custom_hero {border-top: 0px solid orange; border-bottom: 4px solid orange;}",
"Background": {
"source": "https://support-dam.mymediabox.com/$branding$/Marketing/mappify_20191115131710910.jpg",
"size": "cover",
"repeat": "repeat",
"position": "center center",
"attachment": "scroll",
"color": "#ffffff",
"text": "#ffffff"
},
"CustomHero": "<div class=\"row\">\n \t<div class=\"col-sm-6\">\n \t\t\n \t\t<div class=\"preview\">\n \t\t\t<img src=\"https://picsum.photos/700/300\" class=\"main\" />\n \t\t\t<ul class=\"thumbs\">\n \t\t\t\t<li><img src=\"https://picsum.photos/170/100\" /></li>\n \t\t\t\t<li><img src=\"https://picsum.photos/173/101\" /></li>\n \t\t\t\t<li><img src=\"https://picsum.photos/170/101\" /></li>\n \t\t\t</ul>\n \t\t</div>\n \t</div>\n \t<div class=\"col-sm-6\">\n <div class=\"info\">\n \t\t<h1>Property Title</h1>\n \t\t<h3>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas blandit lacinia lectus, sit amet imperdiet est mattis ut. Pellentesque massa quam, lacinia a vestibulum at, maximus et felis. Integer eu justo vitae sem lacinia feugiat. Aenean nec dui condimentum leo pulvinar euismod. Sed congue aliquet tellus. Ut elementum pretium dui at tincidunt. Sed maximus lectus ex, a ullamcorper dolor blandit vitae. In aliquet quis risus vel convallis.</h3>\n \t\t<blockquote> \t\t\tNeque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit... \t\t</blockquote>\n </div>\n \t</div>\n </div>",
"CustomHtml": "",
"ImageList": [],
"SectionOpts": {
"type": "content",
"imageOnly": false
},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": []
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "custom_html",
"Show": true,
"type": "section",
"Align": "left",
"HasHeading": true,
"LayoutTitle": "Heading",
"LayoutDescription": "",
"CustomCSS": "#custom_html .section-content {padding: 12em 2em;}#custom_html { border-top: 4px solid orange; border-bottom: 4px solid orange;}\n#custom_html .content {flex: none!important; width: auto;}",
"Background": {
"source": "https://support-dam.mymediabox.com/$branding$/Marketing/mappify_20191115131407093.jpg",
"size": "contain",
"repeat": "no-repeat",
"position": "bottom right",
"attachment": "scroll",
"color": "#e3e3e3",
"text": "#000000"
},
"CustomHero": "",
"content": {
columns:{
id: "cols3442",
options:{
num: 2
},
content: [
{
id: "columns_424234",
content: {
html: "Vestibulum in quam at neque pharetra faucibus. Vestibulum dignissim odio ac nisi rhoncus consectetur. Pellentesque vel ex ac erat dignissim rhoncus. Mauris eget nisl sed libero tincidunt hendrerit a quis nunc. Donec vel mi consectetur, finibus leo quis, mollis tortor. Fusce porta metus quis sem porttitor, vitae tempor erat volutpat. Sed iaculis ex risus, ut convallis magna dignissim sollicitudin. Phasellus eget porttitor nibh, in blandit tortor. Mauris tempus, elit eget ornare placerat, nisl velit tempus ligula, ac placerat mi metus eu ex. In mattis ligula nec tristique sollicitudin. Integer ac scelerisque urna, sed bibendum neque. Duis pellentesque odio non commodo faucibus. Nam elementum semper nisi, nec molestie elit accumsan nec. Proin tincidunt eros sapien, at posuere tellus posuere ac."
}
},
{
id:"columns_424235"
}
]
},
},
"CustomHtml": "",
"ImageList": [],
"SectionOpts": {},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": []
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "assets",
"type": "section",
"Show": false,
"Align": "left",
"HasHeading": false,
"LayoutTitle": "",
"LayoutDescription": "",
"CustomCSS": "",
"Background": {
"source": "",
"size": "contain",
"repeat": "repeat",
"position": "top left",
"attachment": "fixed",
"color": "#000000",
"text": "#cccccc"
},
"CustomHero": "",
"CustomHtml": "",
"ImageList": [
"all"
],
"SectionOpts": {
"preventDownloads": false
},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": []
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "carousel",
"type": "section",
"Show": true,
"Align": "left",
"HasHeading": true,
"LayoutTitle": "Carousel",
"LayoutDescription": "",
"CustomCSS": "#carousel {min-height: 400px; border-top: 4px solid orange; border-bottom: 4px solid orange;}",
"Background": {
"source": "",
"size": "contain",
"repeat": "repeat",
"position": "top left",
"attachment": "fixed",
"color": "#ffffff",
"text": "#000000"
},
"CustomHero": "",
"CustomHtml": "",
"ImageList": [
"https://picsum.photos/200/300",
"https://picsum.photos/200/301",
"https://picsum.photos/200/302",
"https://picsum.photos/200/303"
],
"SectionOpts": {
"show": true,
"preview": false,
"size": "full",
"arrowColor": "",
"thumbs": {
"width": "200",
"height": "150",
"slidesPerView": "auto",
"thumbsnum": "5",
"responsive": false
}
},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": []
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "tabs",
"Show": true,
"Align": "left",
"type": "section",
"HasHeading": true,
"LayoutTitle": "File Formats",
"LayoutDescription": "",
"CustomCSS": "#tabs .tab-content .tab-pane{display: block; margin-bottom: 20px; }\n#tabs .nav-tabs {margin-bottom: 3em; border-bottom: 0;}\n#tabs .nav-tabs>li.active>a, \n#tabs .nav-tabs>li.active>a:focus,\n#tabs .nav-tabs>li.active>a:hover {\nborder: 0px;\n}\n#tabs .nav-tabs>li.active>a {padding-left: 3px;}\n#tabs .content {padding-top: 5px;}\n#tabs .nav-tabs {font-weight: bold}\n#tabs .tab-content .tab-pane {font-size: 2em;}\n#tabs .tab-content .tab-pane p {font-weight: bold; color: orange; font-size: 1.3em;}\n#tabs .tab-content .tab-pane:nth-child(2n){\ntext-align: right;\n}\n#realFooter {border-top: 4px solid orange!important;}\n#tabs .tab-content .tab-pane {background-color: rgba(255,255,255,0.9); border-radius: 10px;}\n#tabs {border-top: 4px solid orange!important;}\n#tabs .tab-content>.tab-pane p {margin-bottom: 0;}\n#tabs .tab-content>.tab-pane {padding: 10px 1em;}\n\n.title h2 {color: orange; text-transform: uppercase;}\n\n#tabs .nav-tabs>li {\nfont-size: 2em;\nborder-width: 0;\n}\n#tabs .nav-tabs>li a:hover {\nbackground-color: transparent;\ncolor: #333;\nborder-width: 0;\n}\n#tabs .nav-tabs>li.active>a, \n#tabs .nav-tabs>li.active>a:focus,\n#tabs .nav-tabs>li.active>a:hover {\nbackground-color: transparent;\ncolor: #333;\n}#tabs {border-bottom: 4px solid orange;}",
"Background": {
"source": "https://support-dam.mymediabox.com/$branding$/Marketing/mappify_20191115132849937.jpg",
"size": "cover",
"repeat": "no-repeat",
"position": "top left",
"attachment": "scroll",
"color": "#ffffff",
"text": "#000000"
},
"CustomHero": "",
"CustomHtml": "",
"ImageList": [],
"SectionOpts": {},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": [
{
"title": "JPG",
"content": "<p><i class=\"fa fa-picture-o\"></i> JPG</p>Non compressed file, up to 50MB"
},
{
"title": "TIFF",
"content": "<p>TIFF <i class=\"fa fa-picture-o\"></i> </p>Layered composite file"
},
{
"title": "PSD",
"content": "<p><i class=\"fa fa-picture-o\"></i> \n PSD</p>Latest Photoshop file, plus compatability mode"
},
{
"title": "PNG",
"content": "<p>PNG <i class=\"fa fa-picture-o\"></i> </p>Clean edges for transparencies"
}
]
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "buttons",
"Show": false,
"Align": "left",
"HasHeading": true,
"type": "section",
"LayoutTitle": "buttons section",
"LayoutDescription": "description",
"CustomCSS": "",
"Background": {
"source": "",
"size": "contain",
"repeat": "repeat",
"position": "top left",
"attachment": "fixed",
"color": "#ffffff",
"text": "#000000"
},
"CustomHero": "",
"CustomHtml": "",
"ImageList": [],
"SectionOpts": {
"align": "left"
},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": []
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "social",
"Show": false,
"type": "section",
"Align": "left",
"HasHeading": true,
"LayoutTitle": "social section",
"LayoutDescription": "description",
"CustomCSS": "",
"Background": {
"source": "",
"size": "contain",
"repeat": "repeat",
"position": "top left",
"attachment": "fixed",
"color": "#ffffff",
"text": "#000000"
},
"CustomHero": "",
"CustomHtml": "",
"ImageList": [],
"SectionOpts": {
"IframeSrc": "",
"IframeHeight": ""
},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": []
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "footer",
"Show": true,
"type": "section",
"Align": "left",
"HasHeading": true,
"LayoutTitle": "Join the Hype",
"LayoutDescription": "Arctic's Edge currently has 100+ Licensing partners worldwide producing over 50,000 individual products ranging from apparel to electronics to action figures and baby onesies!",
"CustomCSS": "#footer{border-top:4px solid orange;}#footer .link-wrapper a {pointer-events: none; text-decoration: none; display: block; color: #eee; font-size: 16px; margin: 1em 0; padding-left: 2em; position: relative;}\n#footer .link-wrapper a::before{\ndisplay: inline-block;\ncontent: \"\\f00c\";\n font: normal normal normal 14px/1 FontAwesome;\nposition: absolute;\nleft: 0em;\ntop: 4px;\n font-size: inherit;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\nfont-size: 18px;\ncolor: orange;\ntext-shadow: 1px 0px 1px #000;\n}\n#footer .description {font-size: 18px; margin-right: 2em;}\n.site-wrap.marketing #footer {padding: 5em 2em;}\n\n#footer .link-wrapper {background-color:rgba(0,0,0,0.4); padding: 2em;}\n\n#footer .description {color: #fff; font-size: 1.4em;}",
"Background": {
"source": "https://support-dam.mymediabox.com/$branding$/Marketing/mappify_20191115134018820.jpg",
"size": "cover",
"repeat": "repeat",
"position": "center center",
"attachment": "scroll",
"color": "#ffffff",
"text": "#000000"
},
"CustomHero": "",
"CustomHtml": "",
"ImageList": [],
"SectionOpts": {},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [
{
"title": "Based on the best selling Arctic's Edge book of all time, \"On the Edge of the Arctic\" (20 million copies sold!) With its aspirational characters and well-written storylines, On the Edge of the Arctic is an entertainment-driven property targeting girls and boys ages 8 to 15, with educational elements that are a plus for traditional game and video game categories.",
"link": "#",
"target": "_self"
},
{
"title": "Brand new animated special \"On the Edge of the Arctic\" is a fast-paced adventure taking Cathy and Frank on the ultimate quest to save the frozen world they call home. It's already proven a standout property across multiple categories including girls and boys toys and dress-up/role play, pets, stationary, costumes, kids furniture and interactive.",
"link": "#",
"target": "_self"
},
{
"title": "Interactive You-Tube short form series and social media content based on the special",
"link": "#",
"target": "_self"
}
],
"TabList": []
},
{
"FolderGUID": "d3eba115-5f90-47d8-9afc-8f54a3011daa",
"ViewID": "no_access",
"Show": true,
"Align": "left",
"HasHeading": true,
"type": "no_access",
"LayoutTitle": "",
"LayoutDescription": "",
"CustomCSS": "",
"Background": {
"source": "",
"size": "contain",
"repeat": "repeat",
"position": "top left",
"attachment": "fixed",
"color": "",
"text": ""
},
"CustomHero": "",
"CustomHtml": "No access to this page",
"ImageList": [],
"SectionOpts": {
"hideHero": false
},
"ButtonList": [],
"FolderList": [],
"FooterLinksList": [],
"TabList": []
}
]
}