diff --git a/src/@types/components/seo.d.ts b/src/@types/components/seo.d.ts index 949d697..b8d04ab 100644 --- a/src/@types/components/seo.d.ts +++ b/src/@types/components/seo.d.ts @@ -1,18 +1,17 @@ -interface SEOMetaNameInterface { - name: string - content: string -} - -interface SEOMetaPropertyInterface { - property: string - content: string -} - export interface SEOInterface { + title: string description?: string lang?: string - meta?: Array - title: string + meta?: Array< + | { + property: string + content: string + } + | { + name: string + content: string + } + > } export interface SEODataInterface { diff --git a/src/components/image.tsx b/src/components/image.tsx index 3b16791..bcd0f37 100644 --- a/src/components/image.tsx +++ b/src/components/image.tsx @@ -20,7 +20,7 @@ const Image: React.FC = () => { placeholderImage: file(relativePath: { eq: "gatsby-astronaut.png" }) { childImageSharp { fluid(maxWidth: 300) { - ...GatsbyImageSharpFluid + ...GatsbyImageSharpFluid_withWebp_tracedSVG } } }