320x170
This commit is contained in:
parent
4c8eaeed65
commit
1316581af9
|
@ -11,7 +11,7 @@ const NewsCard = ({ ...props }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
<Link {...linkProps}>
|
<Link {...linkProps} className="flex items-center">
|
||||||
<GatsbyImage image={getImage(props.frontmatter.thumbnail)} alt={props.frontmatter.title} />
|
<GatsbyImage image={getImage(props.frontmatter.thumbnail)} alt={props.frontmatter.title} />
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ export const query = graphql`
|
||||||
external
|
external
|
||||||
thumbnail {
|
thumbnail {
|
||||||
childImageSharp {
|
childImageSharp {
|
||||||
gatsbyImageData(width: 320, placeholder: BLURRED, formats: [AUTO, WEBP, AVIF])
|
gatsbyImageData(width: 320, height: 170, placeholder: BLURRED, formats: [AUTO, WEBP, AVIF])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
avatar {
|
avatar {
|
||||||
|
|
Reference in New Issue