handle api register & change design dashboard tabs and page disease

This commit is contained in:
Ehsan
2025-05-23 00:04:13 +03:30
parent c469f2ee3c
commit 6b1983fb0b
41 changed files with 527 additions and 157 deletions
@@ -0,0 +1,19 @@
import Comment from "./Comment";
function Comments({ user, loading }) {
return (
<ul className="flex opacity-page flex-col items-start justify-start gap-[24px] md:gap-[22px] lg:gap-[20px]">
{user.comments.map((item, idx) => (
<Comment
key={idx}
idx={idx}
data={item}
loading={loading}
length={user.comments.length}
/>
))}
</ul>
);
}
export default Comments;