feat(img, navbar): make the animation smoother
This commit is contained in:
parent
231488859c
commit
e77b3b9d42
5 changed files with 47 additions and 43 deletions
|
|
@ -38,7 +38,7 @@ export default function Page() {
|
|||
initial={{ scale: 1 }}
|
||||
animate={{ scale: 1.6 }}
|
||||
transition={{ ease: "circOut", duration: 1 }}
|
||||
className="bg-slate-300 rounded-sm h-[400px] md:h-[600px] w-[80vw] md:w-[30vw] grayscale hover:grayscale-0">
|
||||
className="bg-slate-300 rounded-sm h-[400px] md:h-[600px] w-[80vw] md:w-[30vw] grayscale hover:grayscale-0 transition-all ease duration-300">
|
||||
<Image
|
||||
src={Me2}
|
||||
alt="Alvalens"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue