Skip to content

Commit ad3dc9d

Browse files
authored
fix(pages): fix layout and ogp (#153)
* fix(pages): fix layout and ogp * Delete bun.lockb
1 parent ac5e9a1 commit ad3dc9d

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

src/pages/index.tsx

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Link from "@docusaurus/Link";
22
// import useBaseUrl from '@docusaurus/useBaseUrl';
3-
import ThemedImage from '@theme/ThemedImage';
3+
// import ThemedImage from '@theme/ThemedImage';
44
import Translate from "@docusaurus/Translate";
55
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
66
import Layout from "@theme/Layout";
@@ -10,8 +10,8 @@ import Benchmark from "../components/Benchmark";
1010
import AnimatedGradientStarWithGithub from "../components/MagicUi/animated-shiny-text";
1111
import BlurFade from "../components/MagicUi/blur-fade";
1212
import BentoGridCard from "../components/MagicUi/card";
13-
import StarrySky from "../components/StarrySky";
14-
import { AuroraBackground } from "../components/ui/aurora-back";
13+
// import StarrySky from "../components/StarrySky";
14+
// import { AuroraBackground } from "../components/ui/aurora-back";
1515
import styles from "./index.module.css";
1616

1717
function HomepageHeader() {
@@ -113,11 +113,6 @@ const HomeBaseContent = () => {
113113

114114
return (
115115
<>
116-
<ThemedImage sources={{
117-
light: <StarrySky />,
118-
dark: <AuroraBackground />,
119-
}}
120-
/>
121116
{mainContent}
122117
</>
123118
);
@@ -130,7 +125,7 @@ export default function Home() {
130125
<Layout
131126
//@ts-ignore
132127
title={`${siteConfig.title} Documentation`}
133-
description="Description will go into a meta tag in <head />"
128+
description={siteConfig.tagline}
134129
>
135130
<HomeBaseContent />
136131
</Layout>

src/pages/team.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function Team() {
99
return (
1010
<Layout
1111
title={`${siteConfig.title} Documentation`}
12-
description="Description will go into a meta tag in <head />"
12+
description={siteConfig.tagline}
1313
>
1414
<div className="w-9/12 m-auto">
1515
<TeamMembers members={members} />

0 commit comments

Comments
 (0)