Skip to content

Commit

Permalink
feat(docs): Add social card preview image (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snarr authored Aug 27, 2024
1 parent bd3218e commit 94b076c
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
21 changes: 20 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,25 @@ module.exports = {
onBrokenMarkdownLinks: "throw",
onBrokenAnchors: "throw",

headTags: [
{
tagName: "meta",
attributes: {
"name": "twitter:title",
"content": "LittleHorse Orchestrator",
"data-rh": "true"
}
},
{
tagName: "meta",
attributes: {
"name": "twitter:description",
"content": "The Missing Piece of the Microservice Architecture",
"data-rh": "true"
}
}
],

// Even if you don't use internalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want
// to replace "en" with "zh-Hans".
Expand Down Expand Up @@ -66,7 +85,7 @@ module.exports = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: "img/docusaurus-social-card.jpg",
image: "img/social-card.png",
colorMode: {
disableSwitch: true,
},
Expand Down
2 changes: 1 addition & 1 deletion docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #7f4d32;
--ifm-color-primary: #5C4033;
--ifm-color-primary-dark: #72452d;
--ifm-color-primary-darker: #6c412a;
--ifm-color-primary-darkest: #593623;
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function Home() {
return (
<Layout
title={`Home`}
description="Workflow-Driven Microservices: the Future of Automation.">
description="Workflow-Driven Microservices: The Future of Automation.">
<HomepageHeader />
<main>
<HomepageFeatures />
Expand Down
Binary file modified docs/static/img/logo-brown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/img/social-card.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 94b076c

Please sign in to comment.