Skip to content

Commit

Permalink
Merge pull request #440 from bandada-infra/chore/add-seo-docs
Browse files Browse the repository at this point in the history
Add SEO metadata to Docs
  • Loading branch information
vplasencia authored Mar 18, 2024
2 parents ffd4a77 + 0d35ce5 commit 7bda50a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
11 changes: 7 additions & 4 deletions apps/docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const config: Config = {
favicon: "img/favicon.ico",

// Set the production url of your site here
url: "https://bandada-docs.vercel.app",
url: "https://docs.bandada.pse.dev",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/",
Expand Down Expand Up @@ -50,8 +50,11 @@ const config: Config = {
],

themeConfig: {
// Replace with your project's social card
image: "img/docusaurus-social-card.jpg",
// Social media card
image: "img/social-media.png",
colorMode: {
defaultMode: "dark"
},
navbar: {
title: "bandada",
logo: {
Expand All @@ -65,7 +68,7 @@ const config: Config = {
position: "right"
},
{
href: "https://github.com/facebook/docusaurus",
href: "https://github.com/bandada-infra",
label: "GitHub",
position: "right"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/RenderArticles/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function RenderArticles(): JSX.Element {
>
{article.title}
</a>{" "}
- {article.authors.join(", ")}{" "}
- {article.authors.join(", ")} (<i>{article.date}</i>)
</div>
))}
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/RenderVideos/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function RenderVideos(): JSX.Element {
>
{video.title}
</a>{" "}
- {video.speakers.join(", ")}{" "}
- {video.speakers.join(", ")} (<i>{video.date}</i>)
</div>
))}
</div>
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

html {
font-size: 18px;
}

.navbar__title {
font-size: 25px;
}
Expand Down
Binary file added apps/docs/static/img/social-media.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7bda50a

Please sign in to comment.