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 @@ \ @@ -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 @@