feat: animate sidebar and refine account menu with Google avatars

This commit is contained in:
2026-11-06 00:28:13 +08:00
parent 71bf8b0f5e
commit f6315a6435
11 changed files with 430 additions and 108 deletions
+69
View File
@@ -13,6 +13,7 @@
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"lucide-react": "1.69.0",
"motion": "14.9.1",
"next": "16.4.5",
"react": "19.3.1",
"react-dom": "19.3.1",
@@ -1876,6 +1877,33 @@
"node": ">=10.13.0"
}
},
"node_modules/framer-motion": {
"version": "14.9.1",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-14.9.1.tgz",
"integrity": "sha512-WDWNT2ixHdmpvGg02BZWI/SWwRYzPiMUf4aIkTBgrxxD8RYFdZO3fCM4pnLMo6j8mUpj0+BuJRHQBChI4v3Anw==",
"license": "MIT",
"dependencies": {
"motion-dom": "14.9.1",
"motion-utils": "14.7.0",
"tslib": "^2.4.0"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0",
"remix": "^3.1.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"remix": {
"optional": true
}
}
},
"node_modules/get-nonce": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",
@@ -2188,6 +2216,47 @@
"@jridgewell/sourcemap-codec": "^1.6.0"
}
},
"node_modules/motion": {
"version": "14.9.1",
"resolved": "https://registry.npmjs.org/motion/-/motion-14.9.1.tgz",
"integrity": "sha512-u58zTNOs6vefAwvPncTJ8vkQm+P08V4+mhNgap8p/mFZjl8+gWp7SG4cMTamebVSgpX6PcDtqzWpZngqKcfd7A==",
"license": "MIT",
"dependencies": {
"framer-motion": "14.9.1",
"tslib": "^2.4.0"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0",
"remix": "^3.1.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"remix": {
"optional": true
}
}
},
"node_modules/motion-dom": {
"version": "14.9.1",
"resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-14.9.1.tgz",
"integrity": "sha512-2eCCGXH2Yv09lM8GHK3TdfChrcvHxzVY19LD9VraoHEaQl5+PuGnTNnmJaBAR+5MdxUVdsLFXygFJjR9RwRSxw==",
"license": "MIT",
"dependencies": {
"motion-utils": "14.7.0"
}
},
"node_modules/motion-utils": {
"version": "14.7.0",
"resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-14.7.0.tgz",
"integrity": "sha512-woO0/Nb7ys75f94fjvQi/6leiHGvZUYkeHUPEZ3vxsV+9OpEVhkxp01x8MlRwX0zt31EqgXsKDAoBoJLC148Tw==",
"license": "MIT"
},
"node_modules/nanoid": {
"version": "3.3.20",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz",