update design and request pages dashboards & doctors & doctor item & clinics & clinic item and layout
This commit is contained in:
@@ -21,7 +21,7 @@ function Services({ data }) {
|
||||
${idx === 0 ? "text-[#F17732]" : "text-[#525252]"}
|
||||
`}
|
||||
>
|
||||
{item}
|
||||
{item.name}
|
||||
</h3>
|
||||
</TextLoading>
|
||||
</li>
|
||||
|
||||
@@ -9,8 +9,8 @@ function Specialties({ data }) {
|
||||
gap-x-[40px] sm:gap-x-[48px] md:gap-x-[56px] lg:gap-x-[64px]
|
||||
gap-y-[24px] sm:gap-y-[30px] md:gap-y-[35px] lg:gap-y-[40px]"
|
||||
>
|
||||
{data?.specialties?.map((item, idx) => (
|
||||
<li key={idx} className="flex items-start justify-start gap-2">
|
||||
{data && data.specialties && data?.specialties?.map((item, idx) => (
|
||||
<li key={item.id} className="flex items-start justify-start gap-2">
|
||||
<div className="min-w-[24px] min-h-[24px]">
|
||||
<TickCircleOrange />
|
||||
</div>
|
||||
@@ -21,7 +21,7 @@ function Specialties({ data }) {
|
||||
${idx === 0 ? "text-[#F17732]" : "text-[#525252]"}
|
||||
`}
|
||||
>
|
||||
{item}
|
||||
{item.name}
|
||||
</h3>
|
||||
</TextLoading>
|
||||
</li>
|
||||
|
||||
@@ -14,7 +14,7 @@ function About({ data }) {
|
||||
return (
|
||||
<div className="opacity-page transition-all duration-500">
|
||||
<Images data={data} />
|
||||
<ContentDetail head="کلینیک تخصصی و فوق تخصصی نیکان">
|
||||
<ContentDetail head={data.title}>
|
||||
<div className="flex flex-col items-center justify-center">
|
||||
<MultilineLoading line={10} width="full" height={18}>
|
||||
<p
|
||||
@@ -32,7 +32,7 @@ function About({ data }) {
|
||||
></p>
|
||||
</MultilineLoading>
|
||||
<Button
|
||||
className='!text-[#F17732] !text-[14px] !font-light !p-2'
|
||||
className="!text-[#F17732] !text-[14px] !font-light !p-2"
|
||||
onClick={() => setIsMore(!isMore)}
|
||||
variant="text"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user