yandex
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2024-11-08 23:35:23 +03:00
parent a7b7a5c797
commit e8ca735741
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C
2 changed files with 12 additions and 12 deletions

View File

@ -39,6 +39,8 @@ export default (() => {
<meta property="og:height" content="675" />
<link rel="icon" href={iconPath} />
<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) => (
<link key={href} href={href} rel="stylesheet" type="text/css" spa-preserve />
))}

View File

@ -4,18 +4,16 @@ import { classNames } from "../util/lang"
const Ads: QuartzComponent = ({ displayClass, fileData }: QuartzComponentProps) => {
return (
<blockquote className="callout tip desktop-only" data-callout="tip">
<div className="callout-title">
<div className="callout-icon"></div>
<div className="callout-title-inner"><p>Спонсор: VDSina</p></div>
</div>
<div className="callout-content">
<p>Хостинг провайдер, которым пользуюсь сам. Сервера на территории РФ и Нидерландов, 2 ТБ трафика на
сервер.<br />
<br /><a href="https://vdsina.ru/?partner=3yw9q78nd5" rel="nofollow">Вечная скидка 10% при
регистрации.</a></p>
</div>
</blockquote>
<!-- Yandex.RTB R-A-12784625-1 -->
<div id="yandex_rtb_R-A-12784625-1"></div>
<script>
window.yaContextCb.push(() => {
Ya.Context.AdvManager.render({
"blockId": "R-A-12784625-1",
"renderTo": "yandex_rtb_R-A-12784625-1"
})
})
</script>
)
}
export default (() => Ads) satisfies QuartzComponentConstructor