Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add gtm and text for consent #27

Merged
merged 7 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading