update design and request pages dashboards & doctors & doctor item & clinics & clinic item and layout
This commit is contained in:
@@ -8,11 +8,7 @@ function List({ selected, clinics }) {
|
||||
return (
|
||||
<div className="padding-responsive pt-[20px]">
|
||||
<Pageguide list={listPage} />
|
||||
{clinics.length === 0 ? (
|
||||
<div className="text-center py-10 text-gray-500">
|
||||
کلینیکی با این عنوان یافت نشد!
|
||||
</div>
|
||||
) : (
|
||||
{clinics && clinics.length ? (
|
||||
<ul
|
||||
className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-[24px]
|
||||
gap-y-[16px] sm:gap-y-[24px] md:gap-y-[32px] lg:gap-y-[40px] mt-6"
|
||||
@@ -21,6 +17,10 @@ function List({ selected, clinics }) {
|
||||
<ItemClinic data={item} key={item.id} />
|
||||
))}
|
||||
</ul>
|
||||
) : (
|
||||
<div className="text-center py-10 text-gray-500">
|
||||
کلینیکی با این عنوان یافت نشد!
|
||||
</div>
|
||||
)}
|
||||
<div className="mt-[48px] flex justify-center">
|
||||
<Pagination list={clinics} itemsPerPage={12} />
|
||||
|
||||
Reference in New Issue
Block a user