Add "STL Download" to project profile page #585

Merged
smartin015 merged 2 commits from project_profile_stl_download into main 2022-01-10 20:48:20 +01:00
Showing only changes of commit c22969ee7b - Show all commits

View File

@@ -92,16 +92,18 @@ const ProjectProfile = ({
<h3 className="text-5xl capitalize text-ch-gray-300"> <h3 className="text-5xl capitalize text-ch-gray-300">
{project?.title.replace(/-/g, ' ')} {project?.title.replace(/-/g, ' ')}
</h3> </h3>
<div className="flex items-center text-gray-100"> <div className="flex items-center text-gray-100 flex-wrap">
<span className="pr-4">Built with</span> <div className="flex flex-grow items-center">
<CadPackage <span className="pr-4">Built with</span>
cadPackage={project?.cadPackage} <CadPackage
className="px-3 py-2 rounded" cadPackage={project?.cadPackage}
/> className="px-3 py-2 rounded"
/>
</div>
<Button <Button
className={getActiveClasses( className={getActiveClasses(
'mr-auto bg-red-500 ml-5 text-ch-gray-300', 'ml-3 hover:bg-opacity-100 bg-ch-pink-800 bg-opacity-30 mt-4 mb-3 text-ch-gray-300',
{ 'bg-indigo-200': currentUser } { 'bg-indigo-200': currentUser }
)} )}
shouldAnimateHover shouldAnimateHover
iconName={'document-download'} iconName={'document-download'}