diff --git a/assets/scss/doc.scss b/assets/scss/doc.scss index dd06c3fba..dcb369ec0 100644 --- a/assets/scss/doc.scss +++ b/assets/scss/doc.scss @@ -792,4 +792,29 @@ footer { margin-top: 20px; } } +} + +.feedback-section { + margin-top: 40px; + + .title { + font-family: PingFangSC; + font-size: 28px; + line-height: 32px; + color: #36435C; + } + + button { + cursor: pointer; + width: 72px; + height: 40px; + background: linear-gradient(180deg, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.1) 96.81%), #FFFFFF; + border: 1px solid #CCD3DB; + border-radius: 4px; + } + + button:hover { + background-color: #55BC8A; + } + } \ No newline at end of file diff --git a/i18n/en.yaml b/i18n/en.yaml index 6868a89c4..87852fb61 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -125,4 +125,12 @@ - id: Install on Kubernetes translation: Install on Kubernetes - id: Install on Linux - translation: Install on Linux \ No newline at end of file + translation: Install on Linux +- id: Was this page Helpful? + translation: Was this page Helpful? +- id: 'Yes' + translation: 'Yes' +- id: 'No' + translation: 'No' +- id: Msg-Thank + translation: Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement. \ No newline at end of file diff --git a/i18n/zh.yaml b/i18n/zh.yaml index 273531b45..d4704e181 100644 --- a/i18n/zh.yaml +++ b/i18n/zh.yaml @@ -129,4 +129,12 @@ - id: Install on Kubernetes translation: 在 Kubernetes 安装 - id: Install on Linux - translation: 在 Linux 安装 \ No newline at end of file + translation: 在 Linux 安装 +- id: Was this page Helpful? + translation: 这篇文章对您有帮助吗? +- id: 'Yes' + translation: 是 +- id: 'No' + translation: 否 +- id: Msg-Thank + translation: 感谢您的反馈。如果您有关于如何使用 KubeSphere 的具体问题,请在 Slack 上提问。如果您想报告问题或提出改进建议,请在 GitHub 存储库中打开问题。 diff --git a/layouts/docs/single.html b/layouts/docs/single.html index e7366c71d..4092d3ec5 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -122,6 +122,14 @@ height="0" width="0" style="display:none;visibility:hidden">
{{ i18n "feedback"}}
+{{i18n "Was this page Helpful?"}}
+ + +{{ i18n "Msg-Thank" }}