prvi kod za live uporabu
Some checks failed
ERP CI Pipeline / test (push) Has been cancelled

This commit is contained in:
mariomitte
2026-07-09 21:21:17 +02:00
parent 857bb65d52
commit 5d39e048ba
239 changed files with 25151 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { animated, useSpring } from '@react-spring/web';
export default function AnimatedPage({ children, className = '' }) {
const pageStyle = useSpring({
from: { opacity: 0, transform: 'translate3d(0,10px,0)' },
to: { opacity: 1, transform: 'translate3d(0,0,0)' },
config: { tension: 210, friction: 24 },
});
return (
<animated.div style={pageStyle} className={className}>
{children}
</animated.div>
);
}