format project
This commit is contained in:
@@ -41,7 +41,10 @@ export const Success = ({
|
||||
}: CellSuccessProps<FindSocialCardQuery>) => {
|
||||
const image = userProject?.Project?.mainImage
|
||||
const gravatar = userProject?.image
|
||||
const truncatedDescription = userProject?.Project?.description?.length > 150 ? (userProject?.Project?.description || '').slice(0, 145) + ' . . .' : (userProject?.Project?.description || '')
|
||||
const truncatedDescription =
|
||||
userProject?.Project?.description?.length > 150
|
||||
? (userProject?.Project?.description || '').slice(0, 145) + ' . . .'
|
||||
: userProject?.Project?.description || ''
|
||||
return (
|
||||
<div
|
||||
className="flex-col flex h-full bg-ch-gray-800 text-ch-gray-300"
|
||||
@@ -52,8 +55,7 @@ export const Success = ({
|
||||
style={{ gridTemplateColumns: '7fr 5fr' }}
|
||||
>
|
||||
<div className="bg-ch-gray-800 relative">
|
||||
<div className="absolute bottom-0 left-0 transform scale-200 aspect-h-1 h-full -translate-x-24 translate-y-24 rotate-45 rounded-full overflow-hidden">
|
||||
</div>
|
||||
<div className="absolute bottom-0 left-0 transform scale-200 aspect-h-1 h-full -translate-x-24 translate-y-24 rotate-45 rounded-full overflow-hidden"></div>
|
||||
|
||||
<div className="relative bg-ch-gray-760 bg-opacity-90 pt-10 pl-20 pr-12 h-full backdrop-filter backdrop-blur">
|
||||
<div className="flex justify-between items-center">
|
||||
|
||||
Reference in New Issue
Block a user