Skip to content

Commit b7fa021

Browse files
author
ws-wangjg
committed
feat: react motion
1 parent 64eff10 commit b7fa021

File tree

6 files changed

+807
-3
lines changed

6 files changed

+807
-3
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# npm test
1+
npx lint-staged

package-lock.json

Lines changed: 27 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@
239239
"echarts": "^5.4.3",
240240
"echarts-for-react": "^3.0.2",
241241
"fetch-intercept": "^2.4.0",
242-
"framer-motion": "^11.13.5",
243242
"helmet": "^8.0.0",
244243
"html-to-image": "^1.11.11",
245244
"html2canvas": "^1.4.1",
@@ -259,6 +258,7 @@
259258
"markmap-lib": "^0.17.2",
260259
"markmap-view": "^0.17.2",
261260
"mermaid": "^11.4.1",
261+
"motion": "^11.15.0",
262262
"nanoid": "^5.0.9",
263263
"node-polyfill-webpack-plugin": "^4.1.0",
264264
"number-flow": "^0.4.1",

src/pages/layout/proSecNav/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const ProSecNav = () => {
6767
{ label: t('home'), key: '/', icon: <HomeOutlined /> },
6868
{ label: t('demo'), key: '/demo', icon: <GlobalOutlined /> },
6969
{ label: 'Parallax', key: '/parallax', icon: <FireOutlined /> },
70+
{ label: 'Motion', key: '/motion', icon: <QrcodeOutlined /> },
7071
{ label: 'Qr Generate', key: '/qrcode', icon: <QrcodeOutlined /> },
7172
{ label: 'Prism Render', key: '/prism', icon: <FireOutlined /> },
7273
{ label: 'React Tilt', key: '/tilt', icon: <QrcodeOutlined /> },

0 commit comments

Comments
 (0)