diff --git a/src/app/[locale]/blog/page.tsx b/src/app/[locale]/blog/page.tsx index 1b33fbc..168bb3a 100644 --- a/src/app/[locale]/blog/page.tsx +++ b/src/app/[locale]/blog/page.tsx @@ -328,17 +328,6 @@ function getImagePath(coverImage: string) { return coverImage.replace('/blog/', '/images/posts/'); } -// Placeholder image for posts without cover images -const PLACEHOLDER_IMAGE = 'data:image/svg+xml,' + encodeURIComponent(` - - - - - - - -`); - // Known existing images (from public/images/posts/) const EXISTING_IMAGES = new Set([ '/images/posts/erp-integration-breuninger/cover.jpg', @@ -347,18 +336,15 @@ const EXISTING_IMAGES = new Set([ '/images/posts/automated-ad-creatives/cover.jpg', ]); -// Blog image component with fallback -function BlogImage({ src, alt, fallback }: { src: string; alt: string; fallback: string }) { - const imageSrc = EXISTING_IMAGES.has(src) ? src : fallback; - +// Blog image component +function BlogImage({ src, alt }: { src: string; alt: string }) { return ( {alt} ); } @@ -380,7 +366,6 @@ function BlogPostCard({ post, locale }: { post: BlogPost; locale: string }) {