Skip to content

Commit

Permalink
chore: finish docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost committed Aug 12, 2024
1 parent 67e1d2d commit 9392454
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import NeonGradientCard from '../components/MagicUi/neon-gradient-card';
import BlurFade from "../components/MagicUi/blur-fade";
import BentoGridCard from "../components/MagicUi/card";
import { AuroraBackground } from "../components/ui/aurora-back";
import BrowserOnly from "@docusaurus/BrowserOnly";

function HomepageHeader() {
const { siteConfig } = useDocusaurusContext();
Expand Down Expand Up @@ -101,9 +102,17 @@ function HomepageHeader() {
}

const HomeBase = () => {
return (
<BrowserOnly>
{() => <HomeBaseContent />}
</BrowserOnly>
);
};

const HomeBaseContent = () => {
const { colorMode } = useColorMode();
const MainContent = () => (
<main className="mb-20 my-10 max-w-7xl mx-auto w-full px-4 sm:px-6 lg:px-8max-w-6xl" >
<main className="mb-20 my-10 max-w-7xl mx-auto w-full px-4 sm:px-6 lg:px-8max-w-6xl">
<AnimatedGradientStarWithGithub />
<HomepageHeader />
<BentoGridCard />
Expand Down

0 comments on commit 9392454

Please sign in to comment.