From cebe5373f18c0f0b4d9249b04d63486a8f33a9a4 Mon Sep 17 00:00:00 2001 From: Breno Date: Thu, 10 Oct 2024 23:09:35 -0300 Subject: [PATCH 01/20] Solve warning caused by some blog posts missing alternative text for their image --- src/components/AuthorBlogPostCard/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/AuthorBlogPostCard/index.tsx b/src/components/AuthorBlogPostCard/index.tsx index bfd9227a..869ab173 100644 --- a/src/components/AuthorBlogPostCard/index.tsx +++ b/src/components/AuthorBlogPostCard/index.tsx @@ -30,7 +30,7 @@ interface AuthorBlogPostCardProps { }; tags: { type: string; name: string }[]; authors: { id: string; name: string; role?: string; picture?: any }[]; - hero: { alternativeText: string; localFile: any }; + hero: { alternativeText?: string; localFile: any }; }; } @@ -59,7 +59,7 @@ const AuthorBlogPostCard = ({ data: blogPost }: AuthorBlogPostCardProps) => {
From 1b1cd43fecb5e49a2c847db6bde10db7291d56c6 Mon Sep 17 00:00:00 2001 From: Breno Date: Thu, 10 Oct 2024 23:10:38 -0300 Subject: [PATCH 02/20] "apple-mobile-web-app-capable" is deprecated, now we should use "mobile-web-app-capable" --- src/components/seo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/seo.tsx b/src/components/seo.tsx index 745fa1c8..386c5ebf 100644 --- a/src/components/seo.tsx +++ b/src/components/seo.tsx @@ -84,7 +84,7 @@ const Seo: React.FC = ({ name="viewport" content="width=device-width, initial-scale=1.0" /> - + {children}