Skip to content

banner change #3723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions src/theme/DocItem/TOC/Desktop/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,8 @@ export default function DocItemTOCDesktop() {
{!isClosed && (<div className={styles.docCloudCard}>
<div className={styles.docCloudCardHeader}>
<h6>Try ClickHouse Cloud for FREE</h6>
<button
className={styles.docCloudClose}
onClick={() => {
setClosed(true)
window.localStorage.setItem('doc-cloud-card-banner', 'closed')
}}>
<IconClose color="var(--ifm-color-emphasis-600)" width={10} height={10}/>
</button>
</div>
<p className={styles.docCloudCardContent}>Easy data ingestion, automatic scaling, built-in SQL console and lots
more.
</p>
<p className={styles.docCloudCardContent}>Separation of storage and compute, automatic scaling, built-in SQL console, and lots more. $300 in free credits when signing up.</p>
<a href='https://console.clickhouse.cloud/signUp?loc=doc-card-banner'
className={clsx(styles.docCloudCardLink, 'click-button primary-btn')}>Try it for Free</a>
</div>)}
Expand Down