e1898bf259
This commit introduces a new page for users to view their submissions in a structured and paginated table. This allows users to easily track their submission history and access key details. The main changes include: - A new page at `/submissions` to display the submissions list. - A `SubmissionsTable` component to render submission data, including title, country, status, and a link to the submission URL. - Integration of `react-paginate` to handle navigation through large sets of data. - A new `useSubmissions` custom hook using TanStack Query for efficient, paginated data fetching from the API. - Addition of the `currency-symbol-map` dependency to display prices with the correct currency symbol.
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"name": "free-nextadmin-nextjs",
|
|
"version": "1.2.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-query": "^5.85.6",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/react-paginate": "^7.1.4",
|
|
"apexcharts": "^4.5.0",
|
|
"axios": "^1.11.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"currency-symbol-map": "^5.1.0",
|
|
"dayjs": "^1.11.13",
|
|
"flatpickr": "^4.6.13",
|
|
"js-cookie": "^3.0.5",
|
|
"jsvectormap": "^1.6.0",
|
|
"moment": "^2.30.1",
|
|
"next": "15.1.6",
|
|
"next-themes": "^0.4.4",
|
|
"nextjs-toploader": "^3.7.15",
|
|
"react": "19.0.0",
|
|
"react-apexcharts": "^1.7.0",
|
|
"react-dom": "19.0.0",
|
|
"react-hook-form": "^7.62.0",
|
|
"react-intersection-observer": "^9.16.0",
|
|
"react-paginate": "^8.3.0",
|
|
"react-toastify": "^11.0.5",
|
|
"tailwind-merge": "^2.6.0",
|
|
"zod": "^4.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22",
|
|
"@types/react": "19.0.8",
|
|
"@types/react-dom": "19.0.3",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "15.1.6",
|
|
"postcss": "^8",
|
|
"prettier": "^3.4.2",
|
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
"tailwindcss": "^3.4.16",
|
|
"typescript": "^5"
|
|
}
|
|
}
|