optimize social image (#486)

This commit is contained in:
Fred K. Schott 2021-06-17 14:04:18 -07:00 committed by GitHub
parent 24b360cb17
commit a936d92cee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

BIN
www/public/social.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -19,14 +19,14 @@ export let permalink: string;
<meta property="og:url" content={permalink} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content="https://astro.build/social.png?v=1" />
<meta property="og:image" content="https://astro.build/social.jpg?v=1" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content={permalink} />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content="https://astro.build/social.png?v=1" />
<meta property="twitter:image" content="https://astro.build/social.jpg?v=1" />
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com" />

View file

@ -11,7 +11,7 @@ let title = 'Introducing Astro: Ship Less JavaScript';
let description = `We're excited to announce Astro as a new way to build static websites and deliver lightning-fast performance without sacrificing a modern developer experience.`;
let publishDate = 'Tuesday, June 8 2021';
let author = 'fred';
let heroImage = '/social.png';
let heroImage = '/social.jpg';
let permalink = 'https://astro.build/blog/introducing-astro';
---