💫 Add animations to the AppShelf

This commit is contained in:
ajnart
2022-05-18 23:12:34 +02:00
parent c182397dd9
commit 7c7b0cc970

View File

@@ -40,7 +40,7 @@ export function AppShelfItem(props: any) {
scale: [0.9, 1.06, 1], scale: [0.9, 1.06, 1],
rotate: [0, 5, 0], rotate: [0, 5, 0],
}} }}
transition={{ duration: 0.6, ease: 'easeInOut' }} transition={{ duration: 0.6, type: 'spring', damping: 10, mass: 0.75, stiffness: 100 }}
key={service.name} key={service.name}
onHoverStart={() => { onHoverStart={() => {
setHovering(true); setHovering(true);