added products endpoint and implement login input fields max length

This commit was merged in pull request #7.
This commit is contained in:
victorAnumudu
2025-09-14 08:16:48 +01:00
parent 82b5ac085d
commit 84f2cdf53f
17 changed files with 538 additions and 375 deletions
@@ -27,7 +27,7 @@ export default function TablePaginatedWrapper({
<div className='w-full flex flex-col lg:flex-row justify-center items-center gap-3 md:gap-6'>
<div className="text-sm text-center lg:text-left font-normal text-gray-500 dark:text-gray-400 block w-full">Showing <span className="font-semibold text-gray-900 dark:text-white">
{isFetching ? '----' : `page ${pagination?.current_page}`}</span> of <span className="font-semibold text-gray-900 dark:text-white">{pagination?.total_pages}</span>
{isFetching ? '----' : `page ${pagination?.current_page || 0}`}</span> of <span className="font-semibold text-gray-900 dark:text-white">{isFetching ? '----' : pagination?.total_pages || 0}</span>
</div>
<div className='flex items-center gap-3 md:gap-6'>
<MainBtn