From 9d9fe1527bcfa1bdf3e1113bb6514948c70bc505 Mon Sep 17 00:00:00 2001
From: AsyncBanana <58297401+AsyncBanana@users.noreply.github.com>
Date: Mon, 18 Oct 2021 08:28:32 -0400
Subject: [PATCH] Add image alts to blog posts (#1579)
* Added image alts to blog posts
* Fixed netlify post tag
---
www/src/components/BlogPost.astro | 5 +++--
www/src/pages/blog/astro-018.astro | 2 +-
www/src/pages/blog/astro-019.astro | 2 +-
www/src/pages/blog/astro-021-preview.astro | 2 +-
www/src/pages/blog/astro-repl.astro | 2 +-
www/src/pages/blog/demo-day-2021-09.astro | 2 +-
www/src/pages/blog/introducing-astro.astro | 2 +-
www/src/pages/blog/netlify-astro-hosting-sponsorship.astro | 2 +-
8 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/www/src/components/BlogPost.astro b/www/src/components/BlogPost.astro
index 394eff7ce4..0e358c0ca7 100644
--- a/www/src/components/BlogPost.astro
+++ b/www/src/components/BlogPost.astro
@@ -9,15 +9,16 @@ export interface Props {
author?: string;
publishDate: string;
heroImage: string;
+ heroImageAlt: string;
}
-const { title, author, publishDate, heroImage } = Astro.props;
+const { title, author, publishDate, heroImage, heroImageAlt } = Astro.props;
---
- {heroImage && }
+ {heroImage && }
{publishDate}
{title}
{author && }
diff --git a/www/src/pages/blog/astro-018.astro b/www/src/pages/blog/astro-018.astro
index f2c9fa1d4c..147e53208f 100644
--- a/www/src/pages/blog/astro-018.astro
+++ b/www/src/pages/blog/astro-018.astro
@@ -29,7 +29,7 @@ let lang = 'en';
-
+
A little over a month ago, the first public beta for Astro was released to the world. Since then, we have been fixing bugs and gathering your feedback on what to tackle next. Today, we are excited to announce the release of some of our most requested features.
diff --git a/www/src/pages/blog/astro-019.astro b/www/src/pages/blog/astro-019.astro
index d765576933..d0256ccc15 100644
--- a/www/src/pages/blog/astro-019.astro
+++ b/www/src/pages/blog/astro-019.astro
@@ -28,7 +28,7 @@ let lang = 'en';
-
+
We are excited to introduce Astro 0.19, featuring:
diff --git a/www/src/pages/blog/astro-021-preview.astro b/www/src/pages/blog/astro-021-preview.astro
index 09b63faf88..91017ea8bc 100644
--- a/www/src/pages/blog/astro-021-preview.astro
+++ b/www/src/pages/blog/astro-021-preview.astro
@@ -25,7 +25,7 @@ let lang = 'en';
-
+
Astro v0.21.0 will be our biggest release yet. At a high-level, it includes:
diff --git a/www/src/pages/blog/astro-repl.astro b/www/src/pages/blog/astro-repl.astro
index f91c06907d..91a6c35422 100644
--- a/www/src/pages/blog/astro-repl.astro
+++ b/www/src/pages/blog/astro-repl.astro
@@ -19,7 +19,7 @@ let lang = 'en';
-
+
The Astro team proudly presents the new [Astro REPL:](https://astro.build/play) compile Astro right in your browser. Use it to explore Astro's HTML-based component language, debug issues, or even prototype an entire webpage. It's powered by Astro’s **new WASM compiler** (written in Go) that runs anywhere and can rebuild files in an instant.
diff --git a/www/src/pages/blog/demo-day-2021-09.astro b/www/src/pages/blog/demo-day-2021-09.astro
index 56c7a979a1..a90b419d52 100644
--- a/www/src/pages/blog/demo-day-2021-09.astro
+++ b/www/src/pages/blog/demo-day-2021-09.astro
@@ -24,7 +24,7 @@ let lang = 'en';
-
+
**Astro Demo Day** was today! We had **4** amazing talks, including one big announcement on the future direction of Astro. If you missed the livestream, fear not! You can see the full event [on YouTube](https://www.youtube.com/watch?v=-ExcBJrXOd8) or watch the talks in any order by visiting the links below. Subscribe to the [Astro YouTube channel](https://www.youtube.com/channel/UCeFjmvZEK-MoefuYXptnX6A) to make sure you don't miss our next demo day. Today's demos were:
diff --git a/www/src/pages/blog/introducing-astro.astro b/www/src/pages/blog/introducing-astro.astro
index 290e855ad2..cf57e685b1 100644
--- a/www/src/pages/blog/introducing-astro.astro
+++ b/www/src/pages/blog/introducing-astro.astro
@@ -24,7 +24,7 @@ let lang = 'en';
-
+
There's a simple secret to building a faster website — *just ship less*.
diff --git a/www/src/pages/blog/netlify-astro-hosting-sponsorship.astro b/www/src/pages/blog/netlify-astro-hosting-sponsorship.astro
index 2332c92c56..dc434c565b 100644
--- a/www/src/pages/blog/netlify-astro-hosting-sponsorship.astro
+++ b/www/src/pages/blog/netlify-astro-hosting-sponsorship.astro
@@ -28,7 +28,7 @@ let lang = 'en';
-
+
We are thrilled to announce that [Netlify](https://www.netlify.com/?utm_campaign=devex-jl&utm_source=astro&utm_medium=blog