Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pages): fix layout and ogp #153

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added bun.lockb
EdamAme-x marked this conversation as resolved.
Show resolved Hide resolved
Binary file not shown.
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
Loading