add loading all page & change bugs

This commit is contained in:
Ehsan
2024-09-05 22:20:18 +03:30
parent 087ed4a818
commit c45a161fcb
72 changed files with 1208 additions and 661 deletions
+2 -1
View File
@@ -3,7 +3,7 @@ import ItemSpecialties from './ItemSpecialties';
import MenuS from '@/components/icons/MenuS';
import Pagination from '@/app/component/Pagination';
function List() {
function List({ loading }) {
return (
<div className='bg-[#FAFAFA]'>
<div className='flex items-center justify-center gap-[12px] pt-[24px] mb-[40px]'>
@@ -15,6 +15,7 @@ function List() {
gap-y-[16px] sm:gap-y-[24px] md:gap-y-[32px] lg:gap-y-[40px]">
{specialties.map(speciality => (
<ItemSpecialties
loading={loading}
data={speciality}
key={speciality.id}
/>