Make twitter card logo square

pull/1331/head
Kamran Ahmed 5 years ago
parent e4ca1c9598
commit 2c9eb1f9ee
  1. 2
      components/helmet/index.js
  2. BIN
      static/brand-square.png
  3. 1
      storage/site.json

@ -26,7 +26,7 @@ const Helmet = (props) => (
<meta property="og:title" content={ prepareTitle(props.title) } />
<meta property="og:description" content={ prepareDescription(props.description) } />
<meta property="og:image" content={ siteConfig.logo } />
<meta property="og:image" content={ `${siteConfig.url.web}${siteConfig.logoSquare}` } />
<meta property="og:url" content={ siteConfig.url.web } />
<meta property="og:type" content="website" />
<meta property="article:publisher" content={ `https://facebook.com/${siteConfig.facebook}` } />

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

@ -6,6 +6,7 @@
"twitter": "kamranahmedse",
"facebook": "kamranahmedse",
"logo": "/static/brand.png",
"logoSquare": "/static/brand-square.png",
"url": {
"web": "https://roadmap.sh",
"repo": "https://github.com/kamranahmedse/roadmap.sh",

Loading…
Cancel
Save