feat: add firearm management features

- Implemented API for fetching firearms and firearm details.
- Created a new page for displaying the list of firearms with search and filter options.
- Added Redux slice for managing firearms state.
- Integrated Redux Persist for state persistence.
- Updated routing to include firearms page.
- Removed obsolete modification codes data.
- Enhanced UI with responsive grid layout for firearms display.
- Added utility functions for handling URL query parameters.
This commit is contained in:
2026-04-06 17:57:25 +08:00
parent 864895d932
commit a0a5c835aa
20 changed files with 789 additions and 389 deletions
+5 -1
View File
@@ -1,5 +1,5 @@
{
"name": "react-template",
"name": "delta-force-guide-web",
"private": true,
"version": "0.0.0",
"type": "module",
@@ -12,13 +12,17 @@
"predeploy": "pnpm build"
},
"dependencies": {
"@reduxjs/toolkit": "^2.11.2",
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-virtual": "^3.13.23",
"axios": "^1.14.0",
"dayjs": "^1.11.20",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-redux": "^9.2.0",
"react-router": "^7.13.2",
"react-router-dom": "^7.13.2",
"redux-persist": "^6.0.0",
"tailwindcss": "^4.2.2"
},
"devDependencies": {