diff --git a/public/index.html b/public/index.html index f8ca67ad..c28cfc9c 100644 --- a/public/index.html +++ b/public/index.html @@ -15,68 +15,64 @@ + + .carbon-poweredby { + display: block; + padding: 8px 10px; + background: repeating-linear-gradient(-45deg, transparent, transparent 5px, hsla(0, 0%, 0%, .025) 5px, hsla(0, 0%, 0%, .025) 10px) hsla(203, 11%, 95%, .4); + text-align: center; + text-transform: uppercase; + letter-spacing: .5px; + font-weight: 600; + font-size: 9px; + line-height: 1; + } + diff --git a/src/App.vue b/src/App.vue index 42f46317..2bfa3664 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,7 +10,9 @@ export default { watch: { '$route.path': { handler: function() { - window._carbonads && window._carbonads.refresh() + if (document.getElementById('carbonads')) { + window._carbonads && window._carbonads.refresh() + } } } }