import type { FindSocialCardQuery } from 'types/graphql' import type { CellSuccessProps, CellFailureProps } from '@redwoodjs/web' import Svg from 'src/components/Svg/Svg' import { Image as CloudinaryImage } from 'cloudinary-react' import Gravatar from 'src/components/Gravatar/Gravatar' import CadPackage from 'src/components/CadPackage/CadPackage' export const QUERY = gql` query FindSocialCardQuery($userName: String!, $projectTitle: String) { userProject: userName(userName: $userName) { userName image Project(projectTitle: $projectTitle) { id title description mainImage createdAt updatedAt userId cadPackage Reaction { emote } } } } ` export const Loading = () =>
{userProject?.Project?.title.replace(/-/g, ' ')}
{truncatedDescription}
CadHub