feat: show public classes with discount, start countdown, and free spots

Add a landing page classes section fed by the public classes API with pricing and availability details.
This commit is contained in:
2026-08-16 08:11:42 +03:30
parent d979205efb
commit f1a7ad8bf8
3 changed files with 82 additions and 3 deletions
+1
View File
@@ -1,5 +1,6 @@
import axiosInstance from './axiosInstance'
export const classesApi = {
getAll: (params = {}) => axiosInstance.get('/classes/user/get-all', { params }),
getMyClasses: (params = {}) => axiosInstance.get('/classes/user/my-classes', { params })
}