Docs build fixes

Signed-off-by: Amith Koujalgi <koujalgi.amith@gmail.com>
This commit is contained in:
Amith Koujalgi
2024-09-05 01:41:24 +05:30
parent 660a1b937a
commit b90c8bc622
2 changed files with 249 additions and 169 deletions

View File

@@ -6,6 +6,7 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures';
import BuyMeACoffee from '@site/src/components/BuyMeACoffee';
import Heading from '@theme/Heading';
import styles from './index.module.css';
import BrowserOnly from '@docusaurus/BrowserOnly';
function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
@@ -36,7 +37,9 @@ export default function Home() {
<HomepageHeader/>
<main>
<HomepageFeatures/>
<BuyMeACoffee/>
<BrowserOnly>
{() => <BuyMeACoffee />}
</BrowserOnly>
</main>
</Layout>);
}