Skip to content

Commit

Permalink
make animation more subtle
Browse files Browse the repository at this point in the history
  • Loading branch information
sstraatemans committed Oct 25, 2024
1 parent 4fcab6d commit 5e44baa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const AttendanceTicket: FC<IProps> = ({ data, share }) => {
<motion.div
layoutId={data.image}
transition={{ delay: 1, duration: 0.5 }}
initial={{ opacity: 0, y: '-50%' }}
initial={{ opacity: 0, y: '-20%' }}
animate={{ opacity: 1, y: 0 }}
className={shareClass}
style={{
Expand All @@ -84,7 +84,7 @@ export const AttendanceTicket: FC<IProps> = ({ data, share }) => {
layoutId={data.image}
className={ticketClass}
transition={{ delay: 1, duration: 0.5 }}
initial={{ opacity: 0, y: '-50%' }}
initial={{ opacity: 0, y: '-20%' }}
animate={{ opacity: 1, y: 0 }}
style={{
backgroundImage: `url("${getIPFSLink(data.image)}")`,
Expand Down

0 comments on commit 5e44baa

Please sign in to comment.