You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2021/12/03 01:51:35 UTC
[apisix-website] branch master updated: fix: gif loading & navbar position (#790)
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git
The following commit(s) were added to refs/heads/master by this push:
new 09154a7 fix: gif loading & navbar position (#790)
09154a7 is described below
commit 09154a7477c9100124a62f1ef0cf0c1ad47810ef
Author: 琚致远 <ju...@apache.org>
AuthorDate: Fri Dec 3 09:51:32 2021 +0800
fix: gif loading & navbar position (#790)
---
website/config/navbar.js | 3 ++-
website/docusaurus.config.js | 4 ++--
website/src/pages/help.js | 2 +-
website/src/pages/sections/endcta.jsx | 3 +--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/website/config/navbar.js b/website/config/navbar.js
index 8d7c27c..783180d 100644
--- a/website/config/navbar.js
+++ b/website/config/navbar.js
@@ -54,7 +54,8 @@ module.exports = [
},
{
to: "https://github.com/apache/apisix/discussions",
- label: "Discussions"
+ label: "Discussions",
+ position: "right"
},
{
label: "Resources",
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index c00d8d8..7c0a078 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -354,7 +354,7 @@ module.exports = {
},
{
label: "Slack",
- to: "https://join.slack.com/t/the-asf/shared_invite/zt-vlfbf7ch-HkbNHiU_uDlcH_RvaHv9gQ",
+ to: "https://apisix.apache.org/docs/general/community",
},
{
label: "Twitter",
@@ -386,7 +386,7 @@ module.exports = {
backgroundColor: "#e8433e",
textColor: 'white',
content:
- '\u{1F914} Have queries regarding apache APISIX, Join slack channel to discuss them <a target="_blank" rel="noopener noreferrer" href="https://join.slack.com/t/the-asf/shared_invite/zt-vlfbf7ch-HkbNHiU_uDlcH_RvaHv9gQ">join #apisix channel</a>! ⭐️',
+ '\u{1F914} Have queries regarding apache APISIX, Join slack channel to discuss them <a target="_blank" rel="noopener noreferrer" href="https://apisix.apache.org/docs/general/community">join #apisix channel</a>! ⭐️',
},
prism: {
theme: require('prism-react-renderer/themes/github'),
diff --git a/website/src/pages/help.js b/website/src/pages/help.js
index 6e5abb6..91ea4d4 100644
--- a/website/src/pages/help.js
+++ b/website/src/pages/help.js
@@ -70,7 +70,7 @@ function Help(props) {
<ChevronRight />
</a>
<a
- href="https://join.slack.com/t/the-asf/shared_invite/zt-vlfbf7ch-HkbNHiU_uDlcH_RvaHv9gQ"
+ href="https://apisix.apache.org/docs/general/community"
target="_blank"
>
Slack
diff --git a/website/src/pages/sections/endcta.jsx b/website/src/pages/sections/endcta.jsx
index a856472..e1cb863 100644
--- a/website/src/pages/sections/endcta.jsx
+++ b/website/src/pages/sections/endcta.jsx
@@ -4,14 +4,13 @@ import useBaseUrl from "@docusaurus/useBaseUrl";
import "../../css/customTheme.css";
import ArrowAnim from "./components/arrowAnim";
-import Rocket from "../../assets/images/rocket.gif";
const EndCTA = () => {
return (
<>
<div className="endcta" style={{padding: "50px 0", background: "#FF90A3", margin: "0 0 -32px 0"}}>
<div className="endcta-text">
- <p style={{display: "flex", justifyContent: "center", alignItems: "center", whiteSpace: "pre"}}>Try <span style={{color: "#E8433E"}}>APISIX</span> today <img className="rocket" src={Rocket} alt="Rocket"/></p>
+ <p style={{display: "flex", justifyContent: "center", alignItems: "center", whiteSpace: "pre"}}>Try <span style={{color: "#E8433E"}}>APISIX</span> today <img className="rocket" src="https://cdn.jsdelivr.net/gh/apache/apisix-website@master/website/src/assets/images/rocket.gif" alt="Rocket"/></p>
</div>
<div className="endcta-btns">
<div className="hero-ctas">