feat: [CDE-381]: Updated Doc and Help links (#2804)

* feat: [CDE-381]: Updated Doc and Help links
This commit is contained in:
Deepesh Kumar 2024-10-11 10:57:22 +00:00 committed by Harness
parent f65eafa4fc
commit 2606389e85
3 changed files with 18 additions and 3 deletions

View File

@ -62,7 +62,7 @@ const CDEHomePage = () => {
<Button
onClick={e => {
e.preventDefault()
window.open('https://developer.harness.io/docs/', '_blank')
window.open('https://developer.harness.io/docs/cloud-development-environments/', '_blank')
}}
variation={ButtonVariation.LINK}
rightIcon="launch">

View File

@ -89,7 +89,14 @@ export const CDESSHSelect = () => {
<Text icon="info-messaging" font="small" iconProps={{ size: 24 }}>
SSH key are used to connect securely to workspaces
</Text>
<Text font="small" color={Color.PRIMARY_5}>
<Text
font="small"
color={Color.PRIMARY_5}
style={{ cursor: 'pointer' }}
onClick={e => {
e.preventDefault()
window.open('https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-Key', '_blank')
}}>
Learn how to create an SSH Key
</Text>
</Layout.Horizontal>

View File

@ -37,7 +37,15 @@ const PlanAndRenewSection = () => {
<Text font="small">{getString('cde.renewTooltip.line1')}</Text>
<Text font="small">{getString('cde.renewTooltip.line2')}</Text>
<Text font="small">{getString('cde.renewTooltip.haveQuestion')}</Text>
<Text color={Color.PRIMARY_7} font="small">
<Text
color={Color.PRIMARY_7}
font="small"
style={{ cursor: 'pointer' }}
onClick={() => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
window?.document?.querySelector('#sidenav-footer [__type="SIDENAV_LINK"]')?.click()
}}>
{getString('cde.renewTooltip.contactUs')}
</Text>
</Layout.Vertical>