Skip to content

Commit a4e6392

Browse files
committed
remove conf promo
1 parent f73caa0 commit a4e6392

File tree

1 file changed

+5
-16
lines changed
  • themes/vue/layout/partials

1 file changed

+5
-16
lines changed

themes/vue/layout/partials/ad.ejs

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
11
<div id="ad">
22
<script>
33
(function () {
4-
var showConfPromo = Math.random() <= 0.33
5-
if (showConfPromo) {
6-
var c = document.createElement('div')
7-
c.id = 'conf-promo'
8-
c.innerHTML = '<a href="https://conf.vuejs.org" target="_blank">' +
9-
'<img src="/images/conf.png" alt="vueconf">' +
10-
'<span>The first VueConf EU is being held in Wrocław, Poland, June 21-23!</span>'
11-
'</a>'
12-
document.getElementById('ad').appendChild(c)
13-
} else {
14-
var s = document.createElement('script')
15-
s.setAttribute('async', '')
16-
s.src = '//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=vuejs'
17-
s.id = '_carbonads_js'
18-
document.getElementById('ad').appendChild(s)
19-
}
4+
var s = document.createElement('script')
5+
s.setAttribute('async', '')
6+
s.src = '//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=vuejs'
7+
s.id = '_carbonads_js'
8+
document.getElementById('ad').appendChild(s)
209
})()
2110
</script>
2211
</div>

0 commit comments

Comments
 (0)