Skip to content

Commit

Permalink
fix: remove legacy layout prop from image
Browse files Browse the repository at this point in the history
  • Loading branch information
joywin2003 committed Nov 14, 2024
1 parent 59bfdbe commit caa3ee0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/common/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const Footer = (props: Props) => {
height={150}
width={150}
alt="logo"
layout="fixed"
// layout="fixed"
priority={true}
className="hidden md:block"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbar/nav-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const NavHeader: React.FC<NavHeaderProps> = ({ handleClick }) => {
height={200}
width={200}
alt="logo"
layout="fixed"
// layout="fixed"
priority={true}
/>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widget/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const Nav = () => {
height={200}
width={200}
alt="logo"
layout="fixed"
// layout="fixed"
priority={true}
/>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widget/performers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default function Component() {
alt={`Performer section ${sectionIndex + 1}, slide ${imageIndex + 1} of ${
section.images.length
}`}
className={`absolute inset-0 w-full h-full object-cover transition-opacity duration-1000 ${
className={`absolute inset-0 w-full h-full object-cover transition-opacity duration-8000 ${
imageIndex === currentImageIndices[sectionIndex]
? "opacity-100"
: "opacity-0"
Expand Down

0 comments on commit caa3ee0

Please sign in to comment.