Skip to content

Commit

Permalink
[release-3.3] docs: Modify the link in suport page (#3914)
Browse files Browse the repository at this point in the history
docs: Modify the link in suport page

Signed-off-by: harrisonliu5 <harrisonliu@kubesphere.io>

Signed-off-by: harrisonliu5 <harrisonliu@kubesphere.io>
Co-authored-by: harrisonliu5 <harrisonliu@kubesphere.io>
  • Loading branch information
ks-ci-bot and harrisonliu5 authored Oct 28, 2022
1 parent b1b4073 commit f996b4f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 18 deletions.
16 changes: 16 additions & 0 deletions server/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -646,3 +646,19 @@ client:
max_number_of_toTag: 20
slack:
max_number_of_channel: 20

supportLinks:
github: "https://github.com/kubesphere/kubesphere"
githubPr: "https://github.com/kubesphere/kubesphere"
star: "https://github.com/kubesphere/kubesphere"
githubFork: "https://github.com/kubesphere/kubesphere"
slack: "https://kubesphere.slack.com/"
doc: "https://kubesphere.com.cn/docs/v3.3/"
forum: "https://kubesphere.com.cn/forum/"
issues: "https://github.com/kubesphere/kubesphere/issues"
contactUs: "https://kubesphere.cloud/ticket/"
kse: "https://kubesphere.cloud/self-service/qkcp/"
ksc: "https://kubesphere.cloud/"
backup: "https://kubesphere.cloud/self-service/disaster-recovery/"
inspection: "https://kubesphere.cloud/inspection/"
light: "https://kubesphere.cloud/lite-cluster/"
19 changes: 1 addition & 18 deletions src/pages/console/containers/Support/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,7 @@ import { ReactComponent as Slack } from 'assets/slack_duotone.svg'
import { ReactComponent as Topic } from 'assets/topic_circle_duotone.svg'
import styles from './index.scss'

const config = {
github: 'https://github.com/kubesphere/kubesphere',
githubPr: 'https://github.com/kubesphere/kubesphere',
star: 'https://github.com/kubesphere/kubesphere',
githubFork: 'https://github.com/kubesphere/kubesphere',
slack: 'https://kubesphere.slack.com/',
doc: 'https://kubesphere.com.cn/docs/v3.3/',
forum: 'https://kubesphere.com.cn/forum/',
issues: 'https://github.com/kubesphere/kubesphere/issues',
contactUs: 'https://kubesphere.cloud/en/ticket/',
kse: 'https://kubesphere.cloud/en/self-service/qkcp/',
ksc: 'https://kubesphere.cloud/',
backup: 'https://kubesphere.cloud/self-service/disaster-recovery/',
inspection: 'https://kubesphere.cloud/inspection/',
light: 'https://kubesphere.cloud/lite-cluster/',
}
const config = globals.config.supportLinks

const openButtons = [
{
Expand Down Expand Up @@ -95,7 +80,6 @@ const kscFeatures = [
},
{
title: 'KSC_FEATURE_INSPECTION',
// desc: '全面漏洞扫描 系统安全加固 最佳实践指导',
desc: [
'KSC_FEATURE_INSPECTION_VULN_DESC',
'KSC_FEATURE_INSPECTION_SECURITY_DESC',
Expand All @@ -106,7 +90,6 @@ const kscFeatures = [
},
{
title: 'KSC_FEATURE_LIGHTWEIGHT',
// desc: '极速启用集群 KubeSphere 开箱即用 满足测试演示场景',
desc: [
'KSC_FEATURE_LIGHTWEIGHT_START_DESC',
'KSC_FEATURE_LIGHTWEIGHT_KS_DESC',
Expand Down
19 changes: 19 additions & 0 deletions src/pages/console/containers/Support/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@

.ticket,
.open {
transition: all 0.3s ease;
flex: 1;
background-color: white;
box-shadow: 0px 4px 8px rgba(36, 46, 66, 0.06);
Expand Down Expand Up @@ -91,6 +92,18 @@
flex-wrap: wrap;

.circleButton {
transition: all 0.3s ease;

.buttonText {
transition: all 0.3s ease;
}

:global {
svg.kubed-icon {
transition: all 0.3s ease;
}
}

&:hover {
cursor: pointer;
background: $dark-color07;
Expand Down Expand Up @@ -134,6 +147,7 @@
display: inline-flex;
gap: 4px;
align-items: center;
transition: all 0.3s ease;

&:hover {
color: $blue-color03;
Expand Down Expand Up @@ -170,6 +184,7 @@
}

.link {
transition: all 0.3s ease;
display: inline-flex;
gap: 4px;
align-items: center;
Expand All @@ -180,6 +195,7 @@

.card {
background: #ffffff;
transition: all 0.3s ease;

.header {
display: flex;
Expand Down Expand Up @@ -278,6 +294,7 @@
word-break: break-word;
display: grid;
grid-template-rows: auto 1fr auto;
transition: all 0.3s ease;

.title {
margin-top: 20px;
Expand All @@ -295,6 +312,7 @@
gap: 4px;
margin-top: 24px;
margin-bottom: 20px;
transition: all 0.3s ease;
}

&:hover {
Expand Down Expand Up @@ -323,6 +341,7 @@
:global {
a.support-action {
color: $blue-color03;
transition: all 0.3s ease;

&:hover {
color: $blue-color04;
Expand Down

0 comments on commit f996b4f

Please sign in to comment.