Skip to content

Commit a0ef6f9

Browse files
authored
remove antd button (#764)
1 parent 179c31c commit a0ef6f9

File tree

2 files changed

+13
-28
lines changed

2 files changed

+13
-28
lines changed

web/src/pages/index.js

+8-28
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ import Blogs from "../components/Blogs";
1414
import Testimonials from "../components/Testimonials";
1515
import Newsletter from "../components/Newsletter";
1616

17-
import Button from "antd/es/button";
18-
import ConfigProvider from "antd/es/config-provider";
19-
import Row from "antd/es/row";
20-
2117
export default function Home() {
2218
return (
2319
<Layout
@@ -103,30 +99,14 @@ export default function Home() {
10399
<img className={styles.cyclopsTitle} src={title}/>
104100
<h2 className={styles.cyclopsDesc}>Developer friendly Kubernetes</h2>
105101
<img className={styles.landingCyclops} src={landingCyclops}/>
106-
<Row>
107-
<ConfigProvider
108-
theme={{
109-
token: {
110-
colorPrimary: "#fe8801",
111-
},
112-
}}
113-
>
114-
<Button
115-
href={"/docs/installation/install/manifest"}
116-
shape="round"
117-
size={"large"}
118-
className={styles.readTheDocs}
119-
style={{
120-
textDecoration: "none",
121-
display: "flex",
122-
alignContent: "center",
123-
color: "white",
124-
}}
125-
>
126-
<h3>Get started</h3>
127-
</Button>
128-
</ConfigProvider>
129-
</Row>
102+
<button
103+
onClick={() => {
104+
window.location.href = "/docs/installation/install/manifest"
105+
}}
106+
className={styles.readTheDocs}
107+
>
108+
<h3 style={{margin: "0px 20px 0px 20px"}}>Get started</h3>
109+
</button>
130110
</div>
131111
<Comparison/>
132112
<div className={styles.backgroundcolor}>

web/src/pages/index.module.css

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
}
3636

3737
.readTheDocs {
38+
height: 40px;
39+
text-decoration: none;
40+
color: white;
41+
border-radius: 20px;
3842
margin-left: 5px;
3943
backdrop-filter: blur(3px);
4044
background-color: rgba(255, 255, 255, 0.3);
@@ -43,6 +47,7 @@
4347

4448
.readTheDocs:hover {
4549
background-color: rgba(255, 255, 255, 0.1);
50+
cursor: pointer;
4651
}
4752

4853
.backgroundYaml {

0 commit comments

Comments
 (0)