Skip to content

Commit 2fb6667

Browse files
committed
docs: add SeedAndDew
1 parent b7b3622 commit 2fb6667

File tree

2 files changed

+28
-9
lines changed

2 files changed

+28
-9
lines changed

site/components/sponsors.vue

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<template>
2-
<div class="sponsorsWrap">
3-
<span class="sponsorsTitle">{{title}}</span>
4-
<ul >
5-
<li class="sponsorsItem">
6-
<a href="https://tipe.io/?ref=ant-design-vue" target="_blank">
7-
<img width="34" src="https://cdn.tipe.io/tipe/tipe-cat-no-text.svg" alt="tipe">
8-
</a>
9-
</li>
10-
</ul>
2+
<div class='snd-ad'>
3+
<div class="sponsorsWrap">
4+
<span class="sponsorsTitle">{{title}}</span>
5+
<ul >
6+
<li class="sponsorsItem">
7+
<a href="https://tipe.io/?ref=ant-design-vue" target="_blank">
8+
<img width="34" src="https://cdn.tipe.io/tipe/tipe-cat-no-text.svg" alt="tipe">
9+
</a>
10+
</li>
11+
</ul>
12+
</div>
1113
</div>
1214
</template>
1315
<script>

site/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@
3131
<div id="app">
3232
<router-view></router-view>
3333
</div>
34+
<script>
35+
var SeedAndDewConfig = {};
36+
(function() {
37+
SeedAndDewConfig['adClass'] = "snd-ad";
38+
/* * * DON'T EDIT BELOW THIS LINE * * */
39+
SeedAndDewConfig['projectId'] = '31734ee0-6439-448d-8848-ed99e514f266';
40+
SeedAndDewConfig['loadStartTime'] = performance.now();
41+
SeedAndDewConfig['apiVersion'] = '2018-05-28'
42+
SeedAndDewConfig['sessionId'] = Math.random().toString(36).substring(2, 15);
43+
var snd = document.createElement('script');
44+
snd.type = 'text/javascript';
45+
snd.async = true;
46+
snd.src = 'https://www.seedanddew.com/static/embed.min.js';
47+
(document.getElementsByTagName('head')[0] ||
48+
document.getElementsByTagName('body')[0]).appendChild(snd);
49+
})();
50+
</script>
3451
</body>
3552

3653
</html>

0 commit comments

Comments
 (0)