Skip to content

Commit

Permalink
fix(pages): fix layout and ogp (#153)
Browse files Browse the repository at this point in the history
* fix(pages): fix layout and ogp

* Delete bun.lockb
  • Loading branch information
EdamAme-x authored Oct 30, 2024
1 parent ac5e9a1 commit ad3dc9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Link from "@docusaurus/Link";
// import useBaseUrl from '@docusaurus/useBaseUrl';
import ThemedImage from '@theme/ThemedImage';
// import ThemedImage from '@theme/ThemedImage';
import Translate from "@docusaurus/Translate";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
Expand All @@ -10,8 +10,8 @@ import Benchmark from "../components/Benchmark";
import AnimatedGradientStarWithGithub from "../components/MagicUi/animated-shiny-text";
import BlurFade from "../components/MagicUi/blur-fade";
import BentoGridCard from "../components/MagicUi/card";
import StarrySky from "../components/StarrySky";
import { AuroraBackground } from "../components/ui/aurora-back";
// import StarrySky from "../components/StarrySky";
// import { AuroraBackground } from "../components/ui/aurora-back";
import styles from "./index.module.css";

function HomepageHeader() {
Expand Down Expand Up @@ -113,11 +113,6 @@ const HomeBaseContent = () => {

return (
<>
<ThemedImage sources={{
light: <StarrySky />,
dark: <AuroraBackground />,
}}
/>
{mainContent}
</>
);
Expand All @@ -130,7 +125,7 @@ export default function Home() {
<Layout
//@ts-ignore
title={`${siteConfig.title} Documentation`}
description="Description will go into a meta tag in <head />"
description={siteConfig.tagline}
>
<HomeBaseContent />
</Layout>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function Team() {
return (
<Layout
title={`${siteConfig.title} Documentation`}
description="Description will go into a meta tag in <head />"
description={siteConfig.tagline}
>
<div className="w-9/12 m-auto">
<TeamMembers members={members} />
Expand Down

0 comments on commit ad3dc9d

Please sign in to comment.