Skip to content

Commit

Permalink
Update SEO Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yashovardhan committed Oct 10, 2023
1 parent 09fa461 commit fa52b40
Showing 1 changed file with 10 additions and 24 deletions.
34 changes: 10 additions & 24 deletions src/components/BlogLayout/index.tsx
Original file line number Diff line number Diff line change
@@ -1,38 +1,24 @@
import { PageMetadata } from "@docusaurus/theme-common";
import Layout from "@theme/Layout";
import { Route, Switch, useRouteMatch } from "react-router-dom";

import SEO from "../SEO";
import BlogDetail from "./[slug]";
import BlogNotFound from "./BlogNotFound";

function BookLayout() {
const match = useRouteMatch();

return (
<>
<SEO
title="Web3Auth Blogs"
description="Blogs - Web3Auth Content Hub"
image="http://web3auth.io/docs/images/docs-meta-cards/documentation-card.png"
/>
<PageMetadata
title="Web3Auth Blogs"
description="Blogs - Web3Auth Content Hub"
image="http://web3auth.io/docs/images/docs-meta-cards/documentation-card.png"
/>
<Switch>
<Route exact path={`${match.path}:slug`}>
<Layout title="Blog detail">
<BlogDetail />
</Layout>
</Route>
<Switch>
<Route exact path={`${match.path}:slug`}>
<Layout title="Blog detail">
<BlogDetail />
</Layout>
</Route>

<Route>
<BlogNotFound />
</Route>
</Switch>
</>
<Route>
<BlogNotFound />
</Route>
</Switch>
);
}

Expand Down

1 comment on commit fa52b40

@vercel
Copy link

@vercel vercel bot commented on fa52b40 Oct 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web3auth-docs – ./

web3auth-docs-git-master-web3auth.vercel.app
web3auth-docs-web3auth.vercel.app
w3a-docs.vercel.app

Please sign in to comment.