refactor: single doctor, direct chat, any phone login, UI polish, fix animations

This commit is contained in:
MingNian
2026-05-21 16:05:21 +08:00
parent bec65959a7
commit 0df75c35e9
8 changed files with 110 additions and 102 deletions

View File

@@ -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>