build
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m37s
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m37s
This commit is contained in:
@@ -118,7 +118,6 @@ export default function Header() {
|
||||
<motion.div
|
||||
key={item.href}
|
||||
variants={navLinkVariants}
|
||||
custom={idx}
|
||||
>
|
||||
<Link
|
||||
href={`/${currentLocale}${item.href === '/' ? '' : item.href}`}
|
||||
@@ -375,16 +374,15 @@ const navVariants = {
|
||||
|
||||
const navLinkVariants = {
|
||||
hidden: { opacity: 0, y: 20, scale: 0.9 },
|
||||
visible: (idx: number) => ({
|
||||
visible: {
|
||||
opacity: 1,
|
||||
y: 0,
|
||||
scale: 1,
|
||||
transition: {
|
||||
duration: 0.5,
|
||||
ease: [0.25, 0.46, 0.45, 0.94],
|
||||
delay: idx * 0.06
|
||||
ease: "easeOut"
|
||||
}
|
||||
})
|
||||
}
|
||||
} as const;
|
||||
|
||||
const headerRightVariants = {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable-next-line @typescript-eslint/no-unused-expressions */
|
||||
`use client`;
|
||||
|
||||
import React, { useEffect } from 'react';
|
||||
|
||||
Reference in New Issue
Block a user