There was an error while loading. Please reload this page.
1 parent 2b25298 commit 07ae1aeCopy full SHA for 07ae1ae
1 file changed
app/a/[slug]/BlogPostClient.tsx
@@ -38,12 +38,14 @@ export default function BlogPostPage({ post }: { post: BlogPost }) {
38
<div className="bg-white shadow-xl overflow-hidden border border-gradient-to-r from-[#228B22]/10 to-[#FFBF00]/10">
39
{/* Hero Image */}
40
{post.image && (
41
- <div className="relative h-64 md:h-96">
+ <div className="relative w-full">
42
<Image
43
src={post.image}
44
alt={post.title}
45
- fill
46
- className="object-cover"
+ width={1600}
+ height={900}
47
+ sizes="(max-width: 768px) 100vw, 800px"
48
+ className="w-full h-auto"
49
priority
50
/>
51
<div className="absolute inset-0 bg-gradient-to-t from-black/20 to-transparent" />
0 commit comments