Skip to content

Commit

Permalink
docs: Homepage social card with transparent background
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Jul 1, 2024
1 parent 235f04e commit 151602e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ const config: Config = {
content: '#003a67',
},
},
{
tagName: 'meta',
attributes: {
name: 'twitter:site',
content: '@dataclientio',
},
},
],
stylesheets: [
{
Expand Down
4 changes: 3 additions & 1 deletion website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@ function HomepageEnder() {
}

export default function Home() {
const image = useBaseUrl('img/social/data_client_logo_card.jpg');
const image = useBaseUrl('img/social/data_client_logo_card.png');
return (
<Layout description="Async State Management without the Management.">
<PageMetadata image={image} />
<Head>
<title>The Reactive Data Client ✨</title>
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="402" />
</Head>
<HomepageHeader />
<main>
Expand Down

0 comments on commit 151602e

Please sign in to comment.