This commit is contained in:
parent
a7b7a5c797
commit
e8ca735741
@ -39,6 +39,8 @@ export default (() => {
|
|||||||
<meta property="og:height" content="675" />
|
<meta property="og:height" content="675" />
|
||||||
<link rel="icon" href={iconPath} />
|
<link rel="icon" href={iconPath} />
|
||||||
<meta name="description" content={description} />
|
<meta name="description" content={description} />
|
||||||
|
<script>window.yaContextCb=window.yaContextCb||[]</script>
|
||||||
|
<script src="https://yandex.ru/ads/system/context.js" async></script>
|
||||||
{css.map((href) => (
|
{css.map((href) => (
|
||||||
<link key={href} href={href} rel="stylesheet" type="text/css" spa-preserve />
|
<link key={href} href={href} rel="stylesheet" type="text/css" spa-preserve />
|
||||||
))}
|
))}
|
||||||
|
@ -4,18 +4,16 @@ import { classNames } from "../util/lang"
|
|||||||
|
|
||||||
const Ads: QuartzComponent = ({ displayClass, fileData }: QuartzComponentProps) => {
|
const Ads: QuartzComponent = ({ displayClass, fileData }: QuartzComponentProps) => {
|
||||||
return (
|
return (
|
||||||
<blockquote className="callout tip desktop-only" data-callout="tip">
|
<!-- Yandex.RTB R-A-12784625-1 -->
|
||||||
<div className="callout-title">
|
<div id="yandex_rtb_R-A-12784625-1"></div>
|
||||||
<div className="callout-icon"></div>
|
<script>
|
||||||
<div className="callout-title-inner"><p>Спонсор: VDSina</p></div>
|
window.yaContextCb.push(() => {
|
||||||
</div>
|
Ya.Context.AdvManager.render({
|
||||||
<div className="callout-content">
|
"blockId": "R-A-12784625-1",
|
||||||
<p>Хостинг провайдер, которым пользуюсь сам. Сервера на территории РФ и Нидерландов, 2 ТБ трафика на
|
"renderTo": "yandex_rtb_R-A-12784625-1"
|
||||||
сервер.<br />–
|
})
|
||||||
– – – –<br /><a href="https://vdsina.ru/?partner=3yw9q78nd5" rel="nofollow">Вечная скидка 10% при
|
})
|
||||||
регистрации.</a></p>
|
</script>
|
||||||
</div>
|
|
||||||
</blockquote>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
export default (() => Ads) satisfies QuartzComponentConstructor
|
export default (() => Ads) satisfies QuartzComponentConstructor
|
||||||
|
Loading…
Reference in New Issue
Block a user