@@ -24,43 +24,54 @@ import IconLightning from '@site/src/icons/IconLightning';
24
24
import IconDownload from ' @site/src/icons/IconDownload' ;
25
25
import Image from ' @theme/IdealImage' ;
26
26
27
- export const Hero = ({ children, color}) => {
27
+ export const Hero = ({children , color }) => {
28
28
return (
29
29
<div className = ' home-page-hero' >
30
30
<div className = ' home-page-hero-left' >
31
31
<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
33
36
</div >
34
- <div style={{fontSize: '16px', lineHeight: '1.4'}}>Learn how to use ClickHouse through guides, reference documentation, and videos</div >
35
37
</div >
36
38
<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 >
40
50
<div >Quick Start</div >
41
51
</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 >
50
53
</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 >
55
66
</div >
56
- <div >The fastest way to get started with ClickHouse </div >
67
+ <div >Get started with OSS </div >
57
68
</a >
58
69
</div >
59
70
</div >
60
71
)
61
72
}
62
73
63
- export const HomePageOptionButton = ({ children, icon, iconWidth, svgIcon, link }) => {
74
+ export const HomePageOptionButton = ({children , icon , iconWidth , svgIcon , link }) => {
64
75
return (
65
76
<a
66
77
href = { link || ' #' }
@@ -72,12 +83,12 @@ export const HomePageOptionButton = ({ children, icon, iconWidth, svgIcon, link
72
83
)
73
84
}
74
85
</div >
75
- <div style={{ fontWeight: '500' }}>{children}</div >
86
+ <div style = { {fontWeight: ' 500' }} >{ children } </div >
76
87
</a >
77
88
)
78
89
}
79
90
80
- export const ConnectToClickHouse = ({ children, color}) => {
91
+ export const ConnectToClickHouse = ({children , color }) => {
81
92
return (
82
93
<div className = ' home-page-section' >
83
94
<div className = ' home-page-section-left' >
@@ -87,71 +98,95 @@ export const ConnectToClickHouse = ({ children, color}) => {
87
98
</div >
88
99
<div >
89
100
<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 >
93
108
</div >
94
109
<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 >
98
116
</div >
99
117
</div >
100
118
</div >
101
119
)
102
120
}
103
121
104
- export const MigrateToClickHouse = ({ children, color}) => {
122
+ export const MigrateToClickHouse = ({children , color }) => {
105
123
return (
106
124
<div className = ' home-page-section' >
107
125
<div className = ' home-page-section-left' >
108
126
<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 >
110
130
<div ><a href = ' /docs/integrations' >View all integrations → </a ></div >
111
131
</div >
112
132
<div >
113
133
<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 >
117
140
</div >
118
141
<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 >
122
148
</div >
123
149
</div >
124
150
</div >
125
151
)
126
152
}
127
153
128
- export const DeployClickHouse = ({ children, color}) => {
154
+ export const DeployClickHouse = ({children , color }) => {
129
155
return (
130
156
<div className = ' home-page-section' >
131
157
<div className = ' home-page-section-left' >
132
158
<div style = { {fontWeight: ' 600' , fontSize: ' 18px' , marginBottom: ' 24px' }} >Deploy ClickHouse</div >
133
159
<div style = { {marginBottom: ' 12px' }} >Deploy ClickHouse to our cloud or on your own infrastructure</div >
134
160
</div >
135
161
<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 >
139
169
</div >
140
170
</div >
141
171
)
142
172
}
143
173
144
- export const MoreResources = ({ children, color}) => {
174
+ export const MoreResources = ({children , color }) => {
145
175
return (
146
176
<div className = ' home-page-section' >
147
177
<div className = ' home-page-section-left' >
148
178
<div style = { {fontWeight: ' 600' , fontSize: ' 18px' , marginBottom: ' 10px' }} >Additional resources</div >
149
179
</div >
150
180
<div >
151
181
<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 >
155
190
</div >
156
191
</div >
157
192
</div >
@@ -161,13 +196,13 @@ export const MoreResources = ({ children, color}) => {
161
196
export const HomeContainer = () => {
162
197
return (
163
198
<div className = ' home-container' >
164
- <Hero />
165
- <ConnectToClickHouse />
166
- <MigrateToClickHouse />
167
- <DeployClickHouse />
168
- <MoreResources />
199
+ <Hero />
200
+ <ConnectToClickHouse />
201
+ <MigrateToClickHouse />
202
+ <DeployClickHouse />
203
+ <MoreResources />
169
204
</div >
170
205
)
171
206
}
172
207
173
- <HomeContainer />
208
+ <HomeContainer />
0 commit comments