fix: resolve Next.js Image component warnings for LCP and dimensions
This commit is contained in:
@@ -36,8 +36,9 @@ export default function Header({ dict, lang, dbSettings }: { dict: any, lang: st
|
||||
alt="Moy Beach Logo"
|
||||
width={120}
|
||||
height={48}
|
||||
priority
|
||||
className={`h-12 w-auto transition-all duration-300 ${!isScrolled ? "brightness-0 invert opacity-90" : ""}`}
|
||||
style={{ width: "auto" }}
|
||||
style={{ width: "auto", height: "auto" }}
|
||||
/>
|
||||
</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user