feat: add catgories slider to explore page

This commit is contained in:
MTG2000
2022-05-31 13:28:31 +03:00
parent f107427398
commit 9f8b723d8b
5 changed files with 30 additions and 11 deletions

View File

@@ -37,9 +37,9 @@ export default function ProjectCardMini({ project, onClick }: Props) {
{/* <span className="chip-small bg-warning-50 text-yellow-700 font-light text-body5 py-[3px] px-10"> <MdLocalFireDepartment className='inline-block text-fire transform text-body4 align-middle' /> {numberFormatter(project.votes_count)} </span> */}
</div>
{/* <VoteButton votes={project.votes_count} direction='vertical' dense onVote={vote}></VoteButton> */}
<div className="flex flex-col text-gray-500 items-center">
<MdLocalFireDepartment className="text-gray-400" />
<span>{numberFormatter(project.votes_count)}</span>
<div className="flex flex-col text-gray-400 items-center">
<MdLocalFireDepartment />
<span className="text-body6">{numberFormatter(project.votes_count)}</span>
</div>
</div>
);