@@ -24,43 +24,54 @@ import IconLightning from '@site/src/icons/IconLightning';
2424import IconDownload from ' @site/src/icons/IconDownload' ;
2525import Image from ' @theme/IdealImage' ;
2626
27- export const Hero = ({ children, color}) => {
27+ export const Hero = ({children , color }) => {
2828 return (
2929 <div className = ' home-page-hero' >
3030 <div className = ' home-page-hero-left' >
3131 <div style = { {display: ' flex' , flexDirection: ' row' , alignItems: ' center' , marginBottom: ' 12px' }} >
32- <ClickHouseLogo width =' 220px ' color =' black ' />
32+ <ClickHouseLogo width = ' 220px' color = ' black' />
33+ </div >
34+ <div style = { {fontSize: ' 16px' , lineHeight: ' 1.4' }} >Learn how to use ClickHouse through guides, reference
35+ documentation, and videos
3336 </div >
34- <div style={{fontSize: '16px', lineHeight: '1.4'}}>Learn how to use ClickHouse through guides, reference documentation, and videos</div >
3537 </div >
3638 <div className = ' home-page-hero-right' >
37- <a href =' /docs/getting-started/quick-start ' className =' home-page-hero-button ' >
38- <div style={{fontWeight: '600', fontSize: '18px', marginBottom: '12px', display: 'flex', flexDirection: 'row', alignItems: 'center'}}>
39- <div style={{ display: 'flex', float: 'left', margin: 0, marginRight: '8px'}}><IconLightning iconWidth={'24px'}/></div >
39+ <a href = ' /docs/cloud/get-started/cloud-quick-start' className = ' home-page-hero-button' >
40+ <div style = { {
41+ fontWeight: ' 600' ,
42+ fontSize: ' 18px' ,
43+ marginBottom: ' 12px' ,
44+ display: ' flex' ,
45+ flexDirection: ' row' ,
46+ alignItems: ' center'
47+ }} >
48+ <div style = { {display: ' flex' , float: ' left' , margin: 0 , marginRight: ' 8px' }} ><IconLightning
49+ iconWidth = { ' 24px' } /></div >
4050 <div >Quick Start</div >
4151 </div >
42- <div >Get started with ClickHouse in 5 minutes</div >
43- </a >
44- <a href =' /docs/install ' className =' home-page-hero-button ' >
45- <div style={{fontWeight: '600', fontSize: '18px', marginBottom: '12px', display: 'flex', flexDirection: 'row', alignItems: 'center'}}>
46- <div style={{ display: 'flex', float: 'left', margin: 0, marginRight: '8px'}}><IconDownload iconWidth={'24px'}/></div >
47- <div >Install</div >
48- </div >
49- <div >Install guides for every platform</div >
52+ <div >Get started with Cloud</div >
5053 </a >
51- <a href =' https://clickhouse.com/cloud ' className =' home-page-hero-button ' >
52- <div style={{fontWeight: '600', fontSize: '18px', marginBottom: '12px', display: 'flex', flexDirection: 'row', alignItems: 'center'}}>
53- <div style={{ display: 'flex', float: 'left', margin: 0, marginRight: '8px'}}><IconCloud iconWidth={'24px'}/></div >
54- <div >Cloud</div >
54+ <a href = ' /docs/getting-started/quick-start' className = ' home-page-hero-button' >
55+ <div style = { {
56+ fontWeight: ' 600' ,
57+ fontSize: ' 18px' ,
58+ marginBottom: ' 12px' ,
59+ display: ' flex' ,
60+ flexDirection: ' row' ,
61+ alignItems: ' center'
62+ }} >
63+ <div style = { {display: ' flex' , float: ' left' , margin: 0 , marginRight: ' 8px' }} ><IconDownload
64+ iconWidth = { ' 24px' } /></div >
65+ <div >Install locally</div >
5566 </div >
56- <div >The fastest way to get started with ClickHouse </div >
67+ <div >Get started with OSS </div >
5768 </a >
5869 </div >
5970 </div >
6071 )
6172}
6273
63- export const HomePageOptionButton = ({ children, icon, iconWidth, svgIcon, link }) => {
74+ export const HomePageOptionButton = ({children , icon , iconWidth , svgIcon , link }) => {
6475 return (
6576 <a
6677 href = { link || ' #' }
@@ -72,12 +83,12 @@ export const HomePageOptionButton = ({ children, icon, iconWidth, svgIcon, link
7283 )
7384 }
7485 </div >
75- <div style={{ fontWeight: '500' }}>{children}</div >
86+ <div style = { {fontWeight: ' 500' }} >{ children } </div >
7687 </a >
7788 )
7889}
7990
80- export const ConnectToClickHouse = ({ children, color}) => {
91+ export const ConnectToClickHouse = ({children , color }) => {
8192 return (
8293 <div className = ' home-page-section' >
8394 <div className = ' home-page-section-left' >
@@ -87,71 +98,95 @@ export const ConnectToClickHouse = ({ children, color}) => {
8798 </div >
8899 <div >
89100 <div className = ' home-page-button-container' >
90- <HomePageOptionButton svgIcon={<IconTerminal iconWidth =' 28px ' />} link='/docs/interfaces/cli'>ClickHouse CLI</HomePageOptionButton >
91- <HomePageOptionButton svgIcon={<IconSQLConsole iconWidth =' 28px ' />} link='/docs/cloud/get-started/sql-console'>Cloud SQL Console</HomePageOptionButton >
92- <HomePageOptionButton icon =' /docs/images/logo-nodejs.svg ' link =' /docs/integrations/javascript ' >Node.js</HomePageOptionButton >
101+ <HomePageOptionButton svgIcon = { <IconTerminal iconWidth = ' 28px' />} link = ' /docs/interfaces/cli' >ClickHouse
102+ CLI</HomePageOptionButton >
103+ <HomePageOptionButton svgIcon = { <IconSQLConsole iconWidth = ' 28px' />}
104+ link = ' /docs/cloud/get-started/sql-console' >Cloud SQL
105+ Console</HomePageOptionButton >
106+ <HomePageOptionButton icon = ' /docs/images/logo-nodejs.svg'
107+ link = ' /docs/integrations/javascript' >Node.js</HomePageOptionButton >
93108 </div >
94109 <div className = ' home-page-button-container' >
95- <HomePageOptionButton icon =' /docs/images/logo-java.svg ' link =' /docs/integrations/java ' >Java</HomePageOptionButton >
96- <HomePageOptionButton icon =' /docs/images/logo-python.svg ' link =' /docs/integrations/python ' >Python</HomePageOptionButton >
97- <HomePageOptionButton icon =' /docs/images/logo-go.svg ' link =' /docs/integrations/go ' >Go</HomePageOptionButton >
110+ <HomePageOptionButton icon = ' /docs/images/logo-java.svg'
111+ link = ' /docs/integrations/java' >Java</HomePageOptionButton >
112+ <HomePageOptionButton icon = ' /docs/images/logo-python.svg'
113+ link = ' /docs/integrations/python' >Python</HomePageOptionButton >
114+ <HomePageOptionButton icon = ' /docs/images/logo-go.svg'
115+ link = ' /docs/integrations/go' >Go</HomePageOptionButton >
98116 </div >
99117 </div >
100118 </div >
101119 )
102120}
103121
104- export const MigrateToClickHouse = ({ children, color}) => {
122+ export const MigrateToClickHouse = ({children , color }) => {
105123 return (
106124 <div className = ' home-page-section' >
107125 <div className = ' home-page-section-left' >
108126 <div style = { {fontWeight: ' 600' , fontSize: ' 18px' , marginBottom: ' 24px' }} >Migrate to ClickHouse</div >
109- <div style={{marginBottom: '12px'}}>Load your data from other databases, data warehouses, and object storage</div >
127+ <div style = { {marginBottom: ' 12px' }} >Load your data from other databases, data warehouses, and object
128+ storage
129+ </div >
110130 <div ><a href = ' /docs/integrations' >View all integrations → </a ></div >
111131 </div >
112132 <div >
113133 <div className = ' home-page-button-container' >
114- <HomePageOptionButton icon =' /docs/images/logo-snowflake.svg ' link =' /docs/migrations/snowflake ' >Snowflake</HomePageOptionButton >
115- <HomePageOptionButton icon =' /docs/images/logo-bigquery.svg ' link =' /docs/migrations/bigquery ' >BigQuery</HomePageOptionButton >
116- <HomePageOptionButton icon =' /docs/images/logo-redshift.svg ' link =' /docs/integrations/redshift ' >Redshift</HomePageOptionButton >
134+ <HomePageOptionButton icon = ' /docs/images/logo-snowflake.svg'
135+ link = ' /docs/migrations/snowflake' >Snowflake</HomePageOptionButton >
136+ <HomePageOptionButton icon = ' /docs/images/logo-bigquery.svg'
137+ link = ' /docs/migrations/bigquery' >BigQuery</HomePageOptionButton >
138+ <HomePageOptionButton icon = ' /docs/images/logo-redshift.svg'
139+ link = ' /docs/integrations/redshift' >Redshift</HomePageOptionButton >
117140 </div >
118141 <div className = ' home-page-button-container' >
119- <HomePageOptionButton icon =' /docs/images/logo-postgres.svg ' link =' /docs/integrations/postgresql ' >Postgres</HomePageOptionButton >
120- <HomePageOptionButton icon =' /docs/images/logo-mysql.svg ' link =' /docs/integrations/mysql ' >MySQL</HomePageOptionButton >
121- <HomePageOptionButton icon =' /docs/images/logo-s3.svg ' link =' /docs/integrations/s3 ' >S3</HomePageOptionButton >
142+ <HomePageOptionButton icon = ' /docs/images/logo-postgres.svg'
143+ link = ' /docs/integrations/postgresql' >Postgres</HomePageOptionButton >
144+ <HomePageOptionButton icon = ' /docs/images/logo-mysql.svg'
145+ link = ' /docs/integrations/mysql' >MySQL</HomePageOptionButton >
146+ <HomePageOptionButton icon = ' /docs/images/logo-s3.svg'
147+ link = ' /docs/integrations/s3' >S3</HomePageOptionButton >
122148 </div >
123149 </div >
124150 </div >
125151 )
126152}
127153
128- export const DeployClickHouse = ({ children, color}) => {
154+ export const DeployClickHouse = ({children , color }) => {
129155 return (
130156 <div className = ' home-page-section' >
131157 <div className = ' home-page-section-left' >
132158 <div style = { {fontWeight: ' 600' , fontSize: ' 18px' , marginBottom: ' 24px' }} >Deploy ClickHouse</div >
133159 <div style = { {marginBottom: ' 12px' }} >Deploy ClickHouse to our cloud or on your own infrastructure</div >
134160 </div >
135161 <div className = ' home-page-button-container' >
136- <HomePageOptionButton svgIcon={<IconCloud iconWidth =' 28px ' />} link='https://clickhouse.com/cloud'>Cloud </HomePageOptionButton >
137- <HomePageOptionButton svgIcon={<IconSingleNode iconWidth =' 28px ' />} link='/docs/architecture/introduction'>Node Deployment</HomePageOptionButton >
138- <HomePageOptionButton svgIcon={<IconCluster iconWidth =' 28px ' />} link='/docs/architecture/cluster-deployment'>Cluster Deployment</HomePageOptionButton >
162+ <HomePageOptionButton svgIcon = { <IconCloud iconWidth = ' 28px' />}
163+ link = ' https://clickhouse.com/cloud' >Cloud</HomePageOptionButton >
164+ <HomePageOptionButton svgIcon = { <IconSingleNode iconWidth = ' 28px' />}
165+ link = ' /docs/architecture/introduction' >Node Deployment</HomePageOptionButton >
166+ <HomePageOptionButton svgIcon = { <IconCluster iconWidth = ' 28px' />}
167+ link = ' /docs/architecture/cluster-deployment' >Cluster
168+ Deployment</HomePageOptionButton >
139169 </div >
140170 </div >
141171 )
142172}
143173
144- export const MoreResources = ({ children, color}) => {
174+ export const MoreResources = ({children , color }) => {
145175 return (
146176 <div className = ' home-page-section' >
147177 <div className = ' home-page-section-left' >
148178 <div style = { {fontWeight: ' 600' , fontSize: ' 18px' , marginBottom: ' 10px' }} >Additional resources</div >
149179 </div >
150180 <div >
151181 <div className = ' home-page-button-container' >
152- <HomePageOptionButton svgIcon={<IconSupport iconWidth =' 28px ' />} link='https://clickhouse.com/support/program'>Contact Support</HomePageOptionButton >
153- <HomePageOptionButton svgIcon={<IconChangelog iconWidth =' 28px ' />} link='/docs/whats-new/changelog'>Changelog</HomePageOptionButton >
154- <HomePageOptionButton svgIcon={<IconDatasets iconWidth =' 28px ' />} link='/docs/getting-started/example-datasets'>Sample Datasets</HomePageOptionButton >
182+ <HomePageOptionButton svgIcon = { <IconSupport iconWidth = ' 28px' />}
183+ link = ' https://clickhouse.com/support/program' >Contact
184+ Support</HomePageOptionButton >
185+ <HomePageOptionButton svgIcon = { <IconChangelog iconWidth = ' 28px' />}
186+ link = ' /docs/whats-new/changelog' >Changelog</HomePageOptionButton >
187+ <HomePageOptionButton svgIcon = { <IconDatasets iconWidth = ' 28px' />}
188+ link = ' /docs/getting-started/example-datasets' >Sample
189+ Datasets</HomePageOptionButton >
155190 </div >
156191 </div >
157192 </div >
@@ -161,13 +196,13 @@ export const MoreResources = ({ children, color}) => {
161196export const HomeContainer = () => {
162197 return (
163198 <div className = ' home-container' >
164- <Hero />
165- <ConnectToClickHouse />
166- <MigrateToClickHouse />
167- <DeployClickHouse />
168- <MoreResources />
199+ <Hero />
200+ <ConnectToClickHouse />
201+ <MigrateToClickHouse />
202+ <DeployClickHouse />
203+ <MoreResources />
169204 </div >
170205 )
171206}
172207
173- <HomeContainer />
208+ <HomeContainer />
0 commit comments