Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyuweitarek committed Jul 18, 2024
2 parents 54a8192 + 6b1c552 commit ec7f0c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
16 changes: 4 additions & 12 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,11 @@ const config: Config = {
hideable: true,
},
},
announcementBar: {
id: "support_us",
content: "🐧 Jubi has just been born! Say hi to him~ πŸŽ‰</a> ",
backgroundColor: "#040D12",
textColor: "#78D6C6",
isCloseable: true,
},
// announcementBar: {
// id: 'support_us',
// content:
// '🐧 <a target="_blank" rel="noopener noreferrer" href="#">Jubi has just been born!</a> 🐧',
// backgroundColor: '#040D12',
// textColor: '#78D6C6',
// id: "support_us",
// content: "🐧 Jubi has just been born! Say hi to him~ πŸŽ‰</a> ",
// backgroundColor: "#040D12",
// textColor: "#78D6C6",
// isCloseable: true,
// },
image: "img/logo-small.png",
Expand Down
8 changes: 4 additions & 4 deletions src/theme/Footer/index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from "react";
import Footer from "@theme-original/Footer";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { ChatBot } from "../../components/chatbot/ChatBot";
// import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
// import { ChatBot } from "../../components/chatbot/ChatBot";

export default function FooterWrapper(props) {
const { siteConfig } = useDocusaurusContext();
// const { siteConfig } = useDocusaurusContext();

return (
<>
{/* <Newsletter data={siteConfig.customFields.newsletter} /> */}
<ChatBot config={siteConfig.customFields.chatbot} />
{/* <ChatBot config={siteConfig.customFields.chatbot} /> */}
<Footer {...props} />
</>
);
Expand Down

0 comments on commit ec7f0c7

Please sign in to comment.