Commit Graph

108 Commits

Author SHA1 Message Date
ALi Josheghani
72eca494b0 feat: Add shop ID to layout component
This commit adds functionality to the layout component to retrieve the shop ID from the URL query parameters and dispatch it to the Redux store using the setShopId action.
2024-10-30 11:32:53 +03:30
ALi Josheghani
0be0abaf9a refactor: Update useAxios to include Shop-ID header
This commit updates the useAxios hook to include the Shop-ID header in the request configuration. It retrieves the shop ID from the state and adds it to the headers if it exists. This change ensures that the Shop-ID is sent along with the request when making API calls.

Co-authored-by: [Author Name]
2024-10-30 11:32:48 +03:30
fb922ec97e feat: Update text and update id 2024-10-18 16:15:13 +03:30
c525c068a0 feat: Update text 2024-10-17 17:47:35 +03:30
0fc961f92a feat: Update text 2024-10-16 19:20:47 +03:30
ALi Josheghani
4d74a723b1 feat: Update active tutorial state initialization
Update the initialization of the activeTutorial state in the Tutorials component to set it to 8 instead of 2. This ensures that the correct tutorial is displayed when the category ID changes. Removed an empty useEffect hook that was no longer needed.
2024-10-16 14:14:28 +03:30
ALi Josheghani
5c0831f5ef feat: Add toast message for disabled payment
- Add toast message to display an error when payment is disabled
- Dispatch setIsPaymentGateway action to update payment gateway status
- Navigate to "/noactive-payment" when payment is disabled
2024-10-15 18:03:54 +03:30
ALi Josheghani
65552632d4 Remove commented out code for toast message 2024-10-15 18:03:49 +03:30
ALi Josheghani
a8c425645e add message toast for disabled payment 2024-10-15 17:57:16 +03:30
ALi Josheghani
653d8fc124 feat : add alert check vpn on modal buy components 2024-10-04 17:06:42 +03:30
ALi Josheghani
bd5eb126f9 (chore) add prop type "handle close custom" for MuiModalProps 2024-10-01 00:13:10 +03:30
ALi Josheghani
4b036e6331 (chore) sort code by prettier 2024-10-01 00:12:29 +03:30
ALi Josheghani
e26282c825 (feat) add handle close custom from handle payment status modal when close navigate to /profile 2024-10-01 00:12:03 +03:30
ALi Josheghani
b21d8f7e86 (feat) chnage logic payment status checker 2024-10-01 00:11:20 +03:30
ALi Josheghani
b3bd39f6f0 (feat) add custom handle close prop for MuiModal 2024-10-01 00:10:53 +03:30
ALi Josheghani
aaf764ebf0 (chore) sort code by prettier 2024-10-01 00:10:16 +03:30
ALi Josheghani
5836d700cd (chore) update dependencies 2024-10-01 00:09:44 +03:30
ALi Josheghani
0a1b991eca Refactor: Remove toast notification from Layout component 2024-09-16 12:47:01 +03:30
ALi Josheghani
57d80ee79a Refactor: Remove unnecessary dependency in ModalBuy component 2024-09-16 12:43:10 +03:30
ALi Josheghani
9e774a2d6f Refactor: Remove unnecessary dependency in Profile component 2024-09-16 12:43:04 +03:30
ALi Josheghani
4b2b6aa2d9 Refactor: Update Layout component to display a toast notification for network maintenance 2024-09-16 12:42:34 +03:30
ALi Josheghani
44c3528d15 Refactor: Update Navbar component to navigate to specific configuration page 2024-09-16 12:42:20 +03:30
ALi Josheghani
7f0d184e71 Refactor: Update ModalBuy component dependencies and styles 2024-09-14 22:03:01 +03:30
ALi Josheghani
2cac814664 Refactor: Update ConfigItem component styles and dependencies 2024-09-14 22:02:56 +03:30
ALi Josheghani
ee88723057 Refactor: Update ProfileDetails component styles 2024-09-14 22:02:52 +03:30
ALi Josheghani
75900eaef6 Refactor: Update ProductConfigList component
- Import IoAlertCircleSharp from react-icons/io5
- Import Link from react-router-dom
- Add conditional rendering for the title based on data length
- Add Link and button for redirecting to the store when no configs exist
2024-09-14 22:02:48 +03:30
ALi Josheghani
c50b1346fe Refactor: Add dependencies to useEffect in Profile component 2024-09-14 22:02:43 +03:30
ALi Josheghani
6282e7a9a7 Refactor: Add dispatch dependency to useEffect in Layout component 2024-09-14 22:02:40 +03:30
ALi Josheghani
de99e296b8 refactor: add useLocation hook to Navbar component 2024-09-14 22:02:36 +03:30
ALi Josheghani
c565ffc8cb refactor: remove vite svg and add custom brand favicon 2024-09-14 22:02:32 +03:30
ALi Josheghani
da5ea5470d Add favicon to index.html 2024-09-14 22:01:55 +03:30
ALi Josheghani
e3ac573b06 (fix) update axios form npm 2024-08-29 19:14:03 +03:30
alij
409a7dece4 (fix) darkest text color for button list tutorial 2024-08-29 00:21:10 +03:30
alij
b61330cf98 (feat) add description field web services in learn components 2024-08-29 00:20:38 +03:30
alij
b0c9276e52 (force) Update project: Added 60 new features and made various changes
{warning: this all chnaged}
2024-08-26 23:28:34 +03:30
alij
69d728485e Merge branch 'main' of github.com:joshfe/persian-game 2024-07-03 15:02:04 +03:30
alij
efa148c7ac feat : formating code by prettier 2024-07-03 14:56:29 +03:30
alij
790ed79605 feat : fomating code by prettier 2024-07-03 14:55:05 +03:30
alij
43ebea7906 feat : add helemt react for login page 2024-07-03 14:54:05 +03:30
alij
26069fc030 feat : add config id for url , like
/configid/2 for view config by id
2024-07-03 14:52:59 +03:30
alij
face0a30d9 feat : optimaze code by eslint 2024-07-03 14:51:40 +03:30
Max Base
df09b204ab Add missed ; 2024-06-29 13:56:13 +03:30
alij
d0e3f6be00 feat : add react-helmet on pages 2024-06-24 01:18:39 +04:30
alij
3c1df40448 feat : progress bar config for space is dynamic from api 2024-06-24 00:53:08 +04:30
alij
ac023a626a feat : align center in list tutorial 2024-06-24 00:28:16 +04:30
alij
cc67bee86a feat : add download btn in tutorial page for open vpn 2024-06-24 00:26:55 +04:30
206146fc53 Update -> change domain 2024-06-23 19:59:51 +03:30
alij
5db8a31f88 fix : remove static error profile name 2024-06-23 19:35:10 +04:30
alij
8c91e5bf14 feat : in intro component button andd scroll to products(configs) section(div) 2024-06-23 16:33:10 +04:30
alij
d2f6242a5b Merge branch 'main' of github.com:joshfe/persian-game 2024-06-23 09:44:55 +04:30