Skip to content

Commit c798e62

Browse files
committed
feat(index): add ads to the website
1 parent 2b508ac commit c798e62

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

public/index.html

+12-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,20 @@
88
<title><%= htmlWebpackPlugin.options.title %></title>
99
<link rel="preconnect" href="https://fonts.googleapis.com">
1010
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11-
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Great+Vibes&display=swap" rel="stylesheet">
11+
<script>window.yaContextCb=window.yaContextCb||[]</script>
12+
<script src="https://yandex.ru/ads/system/context.js" async></script>
1213
</head>
1314
<body>
15+
<!-- Yandex.RTB R-A-8914663-1 -->
16+
<div id="yandex_rtb_R-A-8914663-1"></div>
17+
<script>
18+
window.yaContextCb.push(()=>{
19+
Ya.Context.AdvManager.render({
20+
"blockId": "R-A-8914663-1",
21+
"renderTo": "yandex_rtb_R-A-8914663-1"
22+
})
23+
})
24+
</script>
1425
<noscript>
1526
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
1627
Please enable it to continue.</strong>

0 commit comments

Comments
 (0)