refactor: single doctor, direct chat, any phone login, UI polish, fix animations
This commit is contained in:
@@ -9,13 +9,12 @@ export function AppLayout() {
|
||||
return (
|
||||
<div className={styles.layout}>
|
||||
<main className={styles.main}>
|
||||
<AnimatePresence mode="wait">
|
||||
<AnimatePresence>
|
||||
<motion.div
|
||||
key={location.pathname}
|
||||
initial={{ opacity: 0, y: 8 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
exit={{ opacity: 0, y: -8 }}
|
||||
transition={{ duration: 0.15, ease: 'easeOut' }}
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
transition={{ duration: 0.12 }}
|
||||
>
|
||||
<Outlet />
|
||||
</motion.div>
|
||||
|
||||
Reference in New Issue
Block a user