diff --git a/components/AdPlaceholder.vue b/components/AdPlaceholder.vue
index b786780e6..126d93a65 100644
--- a/components/AdPlaceholder.vue
+++ b/components/AdPlaceholder.vue
@@ -1,12 +1,16 @@
\
-
{{phkey}} / {{adConfig.slotId}}
+
+ {{phkey}}
+
+
@@ -24,12 +28,13 @@ export default {
return { active: false, adConfig: {} };
}
- const [slotId, adFormat, responsive] = adPlaceholders[this.phkey];
+ const {slotId, adFormat, adLayout = null, responsive = false} = adPlaceholders[this.phkey];
return {
active: true,
adConfig: {
slotId,
adFormat,
+ adLayout,
responsive,
}
}
@@ -50,8 +55,7 @@ export default {
.ad-placeholder {
background-color: #b2caec;
width: 100%;
- height: 80px;
+ height: 200px;
padding: 1em;
- text-align: center;
}
diff --git a/routes/homepage.vue b/routes/homepage.vue
index a4e5cb26a..af4b66f7d 100644
--- a/routes/homepage.vue
+++ b/routes/homepage.vue
@@ -1,6 +1,7 @@
+
diff --git a/routes/profile.vue b/routes/profile.vue
index 26dd534f3..dd0425a7b 100644
--- a/routes/profile.vue
+++ b/routes/profile.vue
@@ -11,6 +11,8 @@
+
+
+
diff --git a/src/adPlaceholders.js b/src/adPlaceholders.js
index 3a17dd84c..1217359eb 100644
--- a/src/adPlaceholders.js
+++ b/src/adPlaceholders.js
@@ -1,23 +1,23 @@
export default {
- 'support': [2557549454, 'auto', true],
+ 'support': {slotId: 2557549454, adFormat: 'auto', responsive: true},
'aside-left-top': null,
- 'aside-left-middle': [4999879969, 'auto', true],
+ 'aside-left-middle': {slotId: 4999879969, adFormat: 'auto', responsive: true},
'aside-left-bottom': null,
'aside-right-top': null,
- 'aside-right-middle': [2369847195, 'auto', true],
- 'aside-right-bottom': [6664353412, 'auto', true],
+ 'aside-right-middle': {slotId: 8917042232, adFormat: 'autorelaxed'}, // prev: {slotId: 2369847195, adFormat: 'auto', responsive: true},
+ 'aside-right-bottom': {slotId: 6664353412, adFormat: 'auto', responsive: true},
- 'main-0': [8172838213, 'auto', true],
- 'main-1': [3299823474, 'auto', true],
- 'main-2': [3108251782, 'auto', true],
- 'main-3': [6716873048, 'auto', true],
+ 'main-0': {slotId: 3137058361, adFormat: 'auto', adLayout: 'in-article'}, // prev: {slotId: 8172838213, adFormat: 'auto', responsive: true},
+ 'main-1': {slotId: 3299823474, adFormat: 'auto', responsive: true},
+ 'main-2': {slotId: 3108251782, adFormat: 'auto', responsive: true},
+ 'main-3': {slotId: 6716873048, adFormat: 'auto', responsive: true},
'main-4': null,
'main-5': null,
'main-6': null,
- 'footer': [6584462360, 'autorelaxed', false],
+ 'footer': {slotId: 6584462360, adFormat: 'autorelaxed'},
- 'small-homepage': [6146027401, 'auto', true],
+ 'small-homepage': {slotId: 6146027401, adFormat: 'auto', responsive: true},
};