create component elements & add page clinics && add url clinic

This commit is contained in:
Ehsan
2024-08-08 22:00:09 +03:30
parent 57d33a532c
commit 01de360360
13 changed files with 440 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
function Pageguide({ list }) {
return (
<ul className='flex items-center justify-start gap-1'>
{list.map((item, idx) => (
<li
key={idx}
className="flex items-center justify-start gap-1"
>
<p
className={`text-[16px] font-normal
${list.length > idx + 1 ? 'text-[#9B9B9B]' : 'text-[#525252]'}
`}
>{item}</p>
<span
className={`
text-[#9B9B9B] text-[16px] font-normal
${list.length > idx + 1 ? 'flex' : 'hidden'}
`}
>{'>'}</span>
</li>
))}
</ul>
)
}
export default Pageguide