fix: update blog post thumbnail and hero section layout

- Adjusted the maximum width of the blog post thumbnail container.
- Changed the thumbnail image size to 'full' for better quality.
- Enhanced the hero section layout by modifying padding and aspect ratio for improved responsiveness.
- Updated image properties to ensure consistent quality and priority loading.
This commit is contained in:
2026-02-07 19:19:24 +03:30
parent 03bf7b2a67
commit aba27e78fb
4 changed files with 13 additions and 12 deletions
+7 -8
View File
@@ -168,14 +168,13 @@ export default function HeroSection() {
...transitionVariants,
}}
>
<div className="relative -mr-56 mt-8 overflow-hidden px-2 sm:mr-0 sm:mt-12 md:mt-20">
<div className="ring-background bg-background relative mx-auto max-w-6xl overflow-hidden rounded-2xl border ring-1 shadow-[0_20px_50px_rgba(59,130,246,0.4)]">
<div className="relative mt-8 overflow-hidden px-2 sm:mt-12 md:mt-20 p-2">
<div className="ring-background bg-background relative max-w-5xl mx-auto overflow-hidden rounded-2xl border ring-1 aspect-[3/2]">
<Image
className="bg-background relative w-full h-full rounded-2xl object-contain object-center"
src="/assets/main-pic/Untitled-1 copy-min.jpg"
alt="یکپارچه‌سازی سیستم‌ها و شبکه دیجیتال"
width={1150}
height={613}
fill
className="object-cover rounded-2xl inline-block my-0"
quality={100}
priority
/>
@@ -233,13 +232,13 @@ export default function HeroSection() {
alt="Microsoft Windows Logo"
size="md"
className="translate-x-2"
/>
<LogoItem
/>
<LogoItem
icon="skill-icons:github-dark"
alt="github Logo"
size="md"
className="translate-x-4"
/>
/>
</div>
</div>
</div>