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
|
<motion.div
|
||||||
key={item.href}
|
key={item.href}
|
||||||
variants={navLinkVariants}
|
variants={navLinkVariants}
|
||||||
custom={idx}
|
|
||||||
>
|
>
|
||||||
<Link
|
<Link
|
||||||
href={`/${currentLocale}${item.href === '/' ? '' : item.href}`}
|
href={`/${currentLocale}${item.href === '/' ? '' : item.href}`}
|
||||||
@@ -375,16 +374,15 @@ const navVariants = {
|
|||||||
|
|
||||||
const navLinkVariants = {
|
const navLinkVariants = {
|
||||||
hidden: { opacity: 0, y: 20, scale: 0.9 },
|
hidden: { opacity: 0, y: 20, scale: 0.9 },
|
||||||
visible: (idx: number) => ({
|
visible: {
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
y: 0,
|
y: 0,
|
||||||
scale: 1,
|
scale: 1,
|
||||||
transition: {
|
transition: {
|
||||||
duration: 0.5,
|
duration: 0.5,
|
||||||
ease: [0.25, 0.46, 0.45, 0.94],
|
ease: "easeOut"
|
||||||
delay: idx * 0.06
|
|
||||||
}
|
}
|
||||||
})
|
}
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
const headerRightVariants = {
|
const headerRightVariants = {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
/* eslint-disable-next-line @typescript-eslint/no-unused-expressions */
|
||||||
`use client`;
|
`use client`;
|
||||||
|
|
||||||
import React, { useEffect } from 'react';
|
import React, { useEffect } from 'react';
|
||||||
|
|||||||
Reference in New Issue
Block a user