Skip to content

Commit

Permalink
Add cookie popup (ydb-platform#4651)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseudolukian authored and MrLolthe1st committed May 28, 2024
1 parent 8e852cc commit f9c9606
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ydb/docs/.yfm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ langs: ['en','ru']
apply-presets: true
allowCustomResources: true
resources:
script:
- _assets/gtm.js
style:
- _assets/tags.css

Expand All @@ -13,9 +11,9 @@ docs-viewer:
# no-index: true # Remove this after the public release
langs: ['en','ru']
themes: ['light', 'dark']
metrika: 88962303
favicon-src: https://storage.yandexcloud.net/ydb-www-prod-site-assets/favicon-202305/favicon.ico

gtm:
id: GTM-W7ZBL4X
github-url-prefix: https://github.com/ydb-platform/ydb/tree/main/ydb/docs

logo-options:
Expand Down
7 changes: 7 additions & 0 deletions ydb/docs/en/toc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
title: YDB
analytics:
text: 'We use <a href="https://yandex.com/legal/cookies_policy_eng">cookies</a> to ensure that you have the best experience on our website. If you continue to use our website, we assume that you are happy with it.'
buttons:
accept:
text: "Ok"
theme: "accent"
size: "xl"
items:
- include: { mode: merge, path: core/toc_m.yaml }
7 changes: 7 additions & 0 deletions ydb/docs/ru/toc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
title: YDB
analytics:
text: 'Мы используем <a href="https://yandex.ru/legal/cookies_policy">файлы cookie</a>, чтобы вы могли наилучшим образом пользоваться нашим веб-сайтом. Если вы продолжаете использовать наш веб-сайт, мы полагаем, что вы согласны с таким использованием.'
buttons:
accept:
text: "Ок"
theme: "accent"
size: "xl"
items:
- include: { mode: merge, path: core/toc_m.yaml }

0 comments on commit f9c9606

Please sign in to comment.