Skip to content

Commit 11f8742

Browse files
authored
refactor: Refactor HelpModal (#17)
* test: Add rollup-plugin-visualizer library * refactor: Remove Lottie JSON * refactor: Add type file about HelpComponent * refactor: Add play and stop animation logic * refactor: Change Lottie File .json to .lottie * chore: Remove Lottie-Player * refactor: Cache .lottie animation within JS code * refactor: Delete game-win dotlottie * refactor: Delete test canvas files * refactor: Move HelpPageModal to type file
1 parent 16b8494 commit 11f8742

21 files changed

+165
-365
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ dist
1212
dist-ssr
1313
*.local
1414

15+
stats.html
16+
1517
# Editor directories and files
1618
.vscode/*
1719
!.vscode/extensions.json

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
},
2020
"dependencies": {
2121
"@lottiefiles/dotlottie-react": "^0.10.1",
22-
"@lottiefiles/react-lottie-player": "^3.5.4",
2322
"@troublepainter/core": "workspace:*",
2423
"class-variance-authority": "^0.7.0",
2524
"clsx": "^2.1.1",
@@ -64,6 +63,7 @@
6463
"postcss": "^8.4.47",
6564
"prettier": "^3.3.3",
6665
"prettier-plugin-tailwindcss": "^0.6.8",
66+
"rollup-plugin-visualizer": "^5.14.0",
6767
"storybook": "^8.4.1",
6868
"tailwindcss": "^3.4.14",
6969
"tailwindcss-animate": "^1.0.7",
-11.8 KB
Binary file not shown.

client/src/assets/lottie/help/fifth.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
1.42 KB
Binary file not shown.

client/src/assets/lottie/help/first.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
1.86 KB
Binary file not shown.

client/src/assets/lottie/help/fourth.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
1.89 KB
Binary file not shown.

0 commit comments

Comments
 (0)