From c41ee1fb96fd7a7c73f20086d5de76e476426fbd Mon Sep 17 00:00:00 2001 From: Foster Hangdaan <foster@hangdaan.email> Date: Sun, 6 Aug 2023 11:04:01 -0400 Subject: [PATCH] Minor edits to Blog page - Changed content of message when there are no posts - Changed description - Add null alt value fro decorative image --- blog/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/blog/index.tsx b/blog/index.tsx index cabd504..fd932be 100644 --- a/blog/index.tsx +++ b/blog/index.tsx @@ -1,5 +1,5 @@ export const title = "Blog"; -export const description = "Hello, my friend. Stay a while and listen."; +export const description = "Hello, stranger. Stay a while and listen."; export default function({ nav }) { const sortPosts = (a,b) => { @@ -15,8 +15,9 @@ export default function({ nav }) { if (!nav.menu("/blog/posts")) { return ( <div className="no-posts"> - <img src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/square-0-filled.svg" className="icon"/> - <h2>No posts yet.<br/>Check back later.</h2> + <img src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/coffee.svg" className="icon" alt=""/> + <h2>No posts yet</h2> + <p>Foster is on a coffee break.<br/>Check back later.</p> </div> ); }