feat: implement role-based sidebar navigation and admin dashboard layout with statistics components
All checks were successful
Build and Release / release (push) Successful in 30s

This commit is contained in:
2026-05-09 11:09:51 +07:00
parent 45b7b379ce
commit 91b0eef9c8
11 changed files with 505 additions and 152 deletions

4
api.ts
View File

@@ -64,5 +64,9 @@ export const API = {
UPDATE_STATUS: (id: number | string) => `${API_URL_ROOT}/submissions/${id}/status`,
CREATE: `${API_URL_ROOT}/submissions`,
DELETE: (id: string) => `${API_URL_ROOT}/submissions/${id}`,
},
Statistics: {
GET_ALL: `${API_URL_ROOT}/statistics`,
GET_BY_DATE: (date: string) => `${API_URL_ROOT}/statistics/${date}`,
}
}