aboutsummaryrefslogtreecommitdiff
path: root/mkdocs/src/doc/docs/survey_banner.js
diff options
context:
space:
mode:
Diffstat (limited to 'mkdocs/src/doc/docs/survey_banner.js')
-rw-r--r--mkdocs/src/doc/docs/survey_banner.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/mkdocs/src/doc/docs/survey_banner.js b/mkdocs/src/doc/docs/survey_banner.js
new file mode 100644
index 00000000..b4592f1f
--- /dev/null
+++ b/mkdocs/src/doc/docs/survey_banner.js
@@ -0,0 +1,8 @@
+window.addEventListener('load', () => {
+ const appended = document.createElement("a")
+ appended.style = "display: block;text-decoration: none !important;color: #E8F0FE !important;font-family: Inter, Arial, sans-serif !important;font-size: 18px;font-weight: 500;line-height: 24px;padding: 6px 0;position: relative;text-align: center;background-color: #7F52FF;z-index: 5000000;"
+ appended.href = "https://surveys.jetbrains.com/s3/dokka-survey"
+ appended.innerText = "Take part in our Dokka devX survey. It helps us a lot, and gives you a chance to win a prize! -->"
+ document.body.prepend(appended)
+ window.scrollTo(0, 0);
+})