Hero_image wordt beter getoond nu

modified:   pages/blog/[slug].js
This commit is contained in:
Eli Winderickx
2024-03-24 19:42:42 +01:00
parent 549733cd52
commit ceb3785c5d

View File

@@ -16,8 +16,8 @@ export default function BlogTemplate({ frontmatter, markdownBody, siteTitle }) {
<article className={styles.blog}> <article className={styles.blog}>
<figure className={styles.blog__hero}> <figure className={styles.blog__hero}>
<Image <Image
width="1920" width="512"
height="1080" height="512"
src={frontmatter.hero_image} src={frontmatter.hero_image}
alt={`blog_hero_${frontmatter.title}`} alt={`blog_hero_${frontmatter.title}`}
/> />