Commit aa40f530 authored by Leopoldthecoder's avatar Leopoldthecoder

move tease image to cdn

parent 32478a3b
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
:close-on-press-escape="false" :close-on-press-escape="false"
:close-on-click-modal="false"> :close-on-click-modal="false">
<img <img
src="~examples/assets/images/carbon-teaser.png" src="https://i.loli.net/2017/09/24/59c75f601d52b.png"
class="carbon-teaser__main"> class="carbon-teaser__main">
<img <img
@click="dialogVisible = false" @click="dialogVisible = false"
...@@ -247,9 +247,11 @@ ...@@ -247,9 +247,11 @@
const intrigued = localStorage.getItem('CARBON_TEASER'); const intrigued = localStorage.getItem('CARBON_TEASER');
if (!intrigued) { if (!intrigued) {
setTimeout(() => { const img = new Image();
img.onload = () => {
this.dialogVisible = true; this.dialogVisible = true;
}, 2000); };
img.src = 'https://i.loli.net/2017/09/24/59c75f601d52b.png';
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment