Skip to content

Commit c68f149

Browse files
committed
fix: correct logo alt text and adjust scaling in Hero component
1 parent f880c38 commit c68f149

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

components/Hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function Hero() {
7474
className="mx-auto w-full max-w-[420px] md:max-w-[520px]"
7575
variants={itemVariants}
7676
>
77-
<div className="origin-center scale-[1.22] md:scale-[1.32]">
77+
<div className="origin-center scale-100 md:scale-[1.32]">
7878
<Logo width={700} height={700} />
7979
</div>
8080
</motion.div>

components/Logo/Logo.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ export default function Logo({ width = 350, height = 350 }: LogoProps) {
1111
<div className="flex flex-col items-center justify-center">
1212
<Image
1313
src={logoSrc}
14-
alt="devcontext logo"
14+
alt="DevContext logo"
1515
width={width}
1616
height={height}
1717
priority
18-
className="mb-2"
18+
sizes="(max-width: 768px) 90vw, 520px"
19+
className="mb-2 h-auto w-full"
1920
/>
2021

2122
</div>
2223
);
23-
}
24+
}

0 commit comments

Comments
 (0)