mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +01:00
✨ Add animations to the AppShelf
This commit is contained in:
@@ -36,6 +36,11 @@ export function AppShelfItem(props: any) {
|
|||||||
const { classes, theme } = useStyles();
|
const { classes, theme } = useStyles();
|
||||||
return (
|
return (
|
||||||
<motion.div
|
<motion.div
|
||||||
|
animate={{
|
||||||
|
scale: [0.9, 1.06, 1],
|
||||||
|
rotate: [0, 5, 0],
|
||||||
|
}}
|
||||||
|
transition={{ duration: 0.6, ease: 'easeInOut' }}
|
||||||
key={service.name}
|
key={service.name}
|
||||||
onHoverStart={() => {
|
onHoverStart={() => {
|
||||||
setHovering(true);
|
setHovering(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user