File tree Expand file tree Collapse file tree 2 files changed +24
-18
lines changed
docs/getting-started/install
src/theme/DocItem/TOC/Desktop Expand file tree Collapse file tree 2 files changed +24
-18
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import {galaxyOnClick} from '@site/src/lib/galaxy/galaxy'
25
25
, security, reliability and upgrades."
26
26
icon = " cloud"
27
27
infoText = " Get started free"
28
- infoUrl = " https://auth .clickhouse.cloud/"
28
+ infoUrl = " https://console .clickhouse.cloud/signUp?loc=docs-install-page-banner "
29
29
isSelected
30
30
onButtonClick = { galaxyOnClick (' docs.installCloudCallout.buttonClicked' )}
31
31
size = " md"
Original file line number Diff line number Diff line change @@ -90,23 +90,29 @@ export default function DocItemTOCDesktop() {
90
90
91
91
{
92
92
! isClosed && title && description && href && label && (
93
- < div className = { styles . docCloudCardAd } >
94
- < div className = { styles . docCloudCardHeader } >
95
- < h6 > { title } </ h6 >
96
- < button
97
- className = { styles . docCloudClose }
98
- onClick = { ( ) => {
99
- setClosed ( true )
100
- galaxyOnClick ( 'docs.sidebarCloudAdvert.buttonClick' )
101
- window . sessionStorage . setItem ( 'doc-cloud-card-banner' , 'closed' ) ;
102
- } } >
103
- < IconClose color = "var(--ifm-color-emphasis-600)" width = { 10 } height = { 10 } />
104
- </ button >
105
- </ div >
106
- < p className = { styles . docCloudCardContent } > { description } </ p >
107
- < a href = { href } className = { clsx ( styles . docCloudCardLink , 'click-button primary-btn' ) } > { label } </ a >
108
- </ div >
109
- )
93
+ < div className = { styles . docCloudCardAd } >
94
+ < div className = { styles . docCloudCardHeader } >
95
+ < h6 > { title } </ h6 >
96
+ < button
97
+ className = { styles . docCloudClose }
98
+ onClick = { ( ) => {
99
+ setClosed ( true ) ;
100
+ galaxyOnClick ( 'docs.sidebarCloudAdvert.advertDismissed' ) ;
101
+ window . sessionStorage . setItem ( 'doc-cloud-card-banner' , 'closed' ) ;
102
+ } } >
103
+ < IconClose color = "var(--ifm-color-emphasis-600)" width = { 10 } height = { 10 } />
104
+ </ button >
105
+ </ div >
106
+ < p className = { styles . docCloudCardContent } > { description } </ p >
107
+ < a
108
+ href = { href }
109
+ className = { clsx ( styles . docCloudCardLink , 'click-button primary-btn' ) }
110
+ onClick = { ( ) => { galaxyOnClick ( 'docs.sidebarCloudAdvert.clickedThrough' ) ; } }
111
+ >
112
+ { label }
113
+ </ a >
114
+ </ div >
115
+ )
110
116
}
111
117
</ div >
112
118
) ;
You can’t perform that action at this time.
0 commit comments