Skip to content

Commit

Permalink
Merge pull request #27 from diplodoc-platform/gtm
Browse files Browse the repository at this point in the history
chore: add gtm and text for consent
  • Loading branch information
v8tenko authored Mar 26, 2024
2 parents a8657eb + c44d2f7 commit 92ea1d7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 20 deletions.
15 changes: 11 additions & 4 deletions en/toc.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
title: Diplodoc
href: index.yaml
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"
navigation:
logo:
url: '../en'
url: "../en"
dark:
icon: 'https://storage.yandexcloud.net/diplodoc-www-assets/logo/ddos-logo-dark.svg'
icon: "https://storage.yandexcloud.net/diplodoc-www-assets/logo/ddos-logo-dark.svg"
light:
icon: 'https://storage.yandexcloud.net/diplodoc-www-assets/navigation/diplodoc-logo.svg'
icon: "https://storage.yandexcloud.net/diplodoc-www-assets/navigation/diplodoc-logo.svg"
header:
leftItems:
- text: 'How it works'
Expand All @@ -23,7 +30,7 @@ items:
href: about.md
- name: Quick start
href: how-it-work.md
- name: Yandex Flavored Markdown
- name: Yandex Flavored Markdown
expanded: true
href: index-yfm.md
items:
Expand Down
39 changes: 23 additions & 16 deletions ru/toc.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
title: Diplodoc
href: index.yaml
analytics:
text: 'Мы используем <a href="https://yandex.ru/legal/cookies_policy">файлы cookie</a>, чтобы вы могли наилучшим образом пользоваться нашим веб-сайтом. Если вы продолжаете использовать наш веб-сайт, мы полагаем, что вы согласны с таким использованием.'
buttons:
accept:
text: "Ок"
theme: "accent"
size: "xl"
navigation:
logo:
url: '../ru'
url: "../ru"
dark:
icon: 'https://storage.yandexcloud.net/diplodoc-www-assets/logo/ddos-logo-dark.svg'
icon: "https://storage.yandexcloud.net/diplodoc-www-assets/logo/ddos-logo-dark.svg"
light:
icon: 'https://storage.yandexcloud.net/diplodoc-www-assets/navigation/diplodoc-logo.svg'
icon: "https://storage.yandexcloud.net/diplodoc-www-assets/navigation/diplodoc-logo.svg"
header:
leftItems:
- text: 'Как все устроено'
type: 'link'
url: '../../how-to/'
- text: 'Документация'
type: 'link'
url: '../../docs/ru/'
- text: 'Тelegram'
type: 'link'
url: 'https://t.me/diplodoc_ru'
- text: 'Github'
type: 'link'
url: 'https://github.com/diplodoc-platform/'
- text: "Как все устроено"
type: "link"
url: "../../how-to/"
- text: "Документация"
type: "link"
url: "../../docs/ru/"
- text: "Тelegram"
type: "link"
url: "https://t.me/diplodoc_ru"
- text: "Github"
type: "link"
url: "https://github.com/diplodoc-platform/"
items:
- name: Обзор системы
href: about.md
Expand Down Expand Up @@ -122,4 +129,4 @@ items:
hidden: true
items:
- name: Старший разработчик
href: vacancy.md
href: vacancy.md

0 comments on commit 92ea1d7

Please sign in to comment.