Skip to content

Commit c848957

Browse files
authored
[website] Add slack invite on home page (#903)
1 parent 698e495 commit c848957

File tree

4 files changed

+43
-2
lines changed

4 files changed

+43
-2
lines changed

website/src/pages/index.module.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,22 @@
4949
justify-content: center;
5050
}
5151

52+
.join_slack_button {
53+
margin-left: 20px;
54+
display: flex;
55+
align-items: center;
56+
justify-content: center;
57+
}
58+
59+
.github_button {
60+
margin-left: 20px;
61+
display: flex;
62+
align-items: center;
63+
justify-content: center;
64+
}
65+
66+
.buttonIcon {
67+
margin-right: 8px;
68+
width: 20px;
69+
height: 20px;
70+
}

website/src/pages/index.tsx

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,26 @@ function HomepageHeader() {
4141
</Link>
4242

4343
<Link
44-
className="source_code_button button button--secondary button--lg"
45-
to="https://github.com/alibaba/fluss">
44+
className={clsx("button button--secondary button--lg", styles.github_button)}
45+
to="https://github.com/alibaba/fluss">
46+
<img
47+
src="img/github_icon.svg"
48+
alt="GitHub"
49+
className={styles.buttonIcon}
50+
/>
4651
GitHub
4752
</Link>
53+
54+
<Link
55+
className={clsx("button button--secondary button--lg", styles.join_slack_button)}
56+
to="https://join.slack.com/t/fluss-hq/shared_invite/zt-33wlna581-QAooAiCmnYboJS8D_JUcYw">
57+
<img
58+
src="img/slack_icon.svg"
59+
alt="Slack"
60+
className={styles.buttonIcon}
61+
/>
62+
Slack
63+
</Link>
4864
</div>
4965
</div>
5066
</header>

website/static/img/github_icon.svg

Lines changed: 3 additions & 0 deletions
Loading

website/static/img/slack_icon.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)