Skip to content

Commit 151602e

Browse files
committed
docs: Homepage social card with transparent background
1 parent 235f04e commit 151602e

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

website/docusaurus.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ const config: Config = {
7575
content: '#003a67',
7676
},
7777
},
78+
{
79+
tagName: 'meta',
80+
attributes: {
81+
name: 'twitter:site',
82+
content: '@dataclientio',
83+
},
84+
},
7885
],
7986
stylesheets: [
8087
{

website/src/pages/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,14 @@ function HomepageEnder() {
9797
}
9898

9999
export default function Home() {
100-
const image = useBaseUrl('img/social/data_client_logo_card.jpg');
100+
const image = useBaseUrl('img/social/data_client_logo_card.png');
101101
return (
102102
<Layout description="Async State Management without the Management.">
103103
<PageMetadata image={image} />
104104
<Head>
105105
<title>The Reactive Data Client ✨</title>
106+
<meta property="og:image:width" content="1200" />
107+
<meta property="og:image:height" content="402" />
106108
</Head>
107109
<HomepageHeader />
108110
<main>

0 commit comments

Comments
 (0)