This is an automated email from the ASF dual-hosted git repository.

luzhijing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new d9893d41697 (fix) fix github button missed link (#339)
d9893d41697 is described below

commit d9893d41697c33d96cf6a49506771505bee22d87
Author: Jeffrey <[email protected]>
AuthorDate: Sun Nov 12 22:29:30 2023 +0800

    (fix) fix github button missed link (#339)
---
 src/theme/Navbar/Content/index.tsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/theme/Navbar/Content/index.tsx 
b/src/theme/Navbar/Content/index.tsx
index ef112c42c3b..fb501c66999 100644
--- a/src/theme/Navbar/Content/index.tsx
+++ b/src/theme/Navbar/Content/index.tsx
@@ -10,7 +10,6 @@ import NavbarSearch from '@theme/Navbar/Search';
 import styles from './styles.module.css';
 import Link from '@docusaurus/Link';
 import Translate from '@docusaurus/Translate';
-import GitHubButton from 'react-github-button';
 function useNavbarItems() {
     // TODO temporary casting until ThemeConfig type is improved
     return useThemeConfig().navbar.items;
@@ -78,9 +77,13 @@ export default function NavbarContent({ mobile }) {
                             <SearchBar />
                         </NavbarSearch>
                     )}
-                    <span className="github-btn desktop 
header-right-button-github">
+                    <Link
+                        className="github-btn desktop 
header-right-button-github"
+                        href="https:/github.com/apache/doris"
+                        target="_blank"
+                    >
                         {star && <div className="gh-count">{star}k</div>}
-                    </span>
+                    </Link>
 
                     <Link className="header-right-button-primary 
navbar-download-desktop" to="/download">
                         <Translate id="navbar.download">Download</Translate>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to