Update www for v0.21 (#1938)

* chore: update www for v0.21

* chore: update hero image

* chore: fix hero image
This commit is contained in:
Nate Moore 2021-11-19 15:27:59 -06:00 committed by GitHub
parent 9eb00b429a
commit 69d518dd8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,4 @@
# Netlify Redirects
/chat https://discord.gg/grF4GTXXYm
/play/* https://play.astro.build/play/:splat 200
/play/* https://play.astro.build/play/:splat 200
/v0.21 /blog/astro-021-release/ 301

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 697 KiB

View file

@ -6,6 +6,7 @@ permalink: 'https://astro.build/blog/astro-021-preview'
lang: 'en'
heroImage: '/assets/blog/astro-021-preview/hero.png'
heroImageAlt: 'Spacecraft overlooking Earth'
socialImage: '/assets/blog/astro-021-preview/social.png'
---
Astro v0.21.0 will be our biggest release yet. At a high-level, it includes:

View file

@ -5,8 +5,9 @@ description: 'Astro v0.21.0 is finally here!'
publishDate: 'November 19, 2021'
permalink: 'https://astro.build/blog/astro-021-release'
lang: 'en'
socialImage: '/assets/blog/astro-021-release/social.png'
heroImage: '/assets/blog/astro-021-preview/hero.png'
heroImageAlt: 'Spacecraft overlooking Earth'
heroImageAlt: 'Astro v0.21 Release Notes'
---
Astro v0.21.0 is finally here! This is by far our biggest release ever, including a ground-up rewrite of some major Astro internals. After months of development and public testing, we are so excited to get this new version of Astro into your hands, featuring:

View file

@ -12,12 +12,12 @@ export function getStaticPaths() {
}));
}
const { Content, title, author, description, publishDate, heroImage, heroImageAlt, permalink, lang } = Astro.props.post;
const { Content, title, author, description, publishDate, heroImage, heroImageAlt, socialImage, permalink, lang } = Astro.props.post;
---
<html lang={lang ?? 'en'}>
<head>
<BaseHead title={title} description={description} canonicalURL={permalink} image="https://astro.build/assets/blog/astro-021-preview/social.png" />
<BaseHead title={title} description={description} canonicalURL={permalink} image={socialImage} />
<link rel="stylesheet" href={Astro.resolve('../../scss/blog.scss')} />
</head>
<body>