Skip to content

Commit b5f73a9

Browse files
committed
fix: updated academy certification stamps
1 parent 706383a commit b5f73a9

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/apps/learn/src/lib/components/tca-certificate-preview/TCACertificatePreview.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const TCACertificatePreview: FC<TCACertificatePreviewProps> = (props: TCACertifi
3939
certification={props.certification}
4040
completedDate={props.completedDate ?? ''}
4141
completionUuid={props.completionUuid}
42-
displaySignature
4342
tcHandle={props.tcHandle ?? ''}
4443
userName={props.userName}
4544
validateLink={props.validateLink}

src/apps/learn/src/lib/components/tca-certificate-preview/tca-certificate/TCACertificate.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { TCAcademyLogoWhiteSvg, TCLogoSvg } from '~/libs/ui'
88
import { LearnConfig } from '../../../../config'
99
import { TCACertificateType, TCACertification } from '../../../data-providers'
1010
import { CertificateBadgeIcon } from '../../dynamic-icons'
11-
import { DougSigSvg } from '../../svgs'
1211

1312
import { CertificateBackground } from './certificate-background'
1413
import styles from './TCACertificate.module.scss'
@@ -17,7 +16,6 @@ interface TCACertificateProps {
1716
certification: TCACertification
1817
completionUuid?: null | string
1918
completedDate?: string
20-
displaySignature?: boolean
2119
elRef?: MutableRefObject<HTMLElement | any>
2220
tcHandle?: string
2321
userName?: string
@@ -28,8 +26,6 @@ const TCACertificate: FC<TCACertificateProps> = (props: TCACertificateProps) =>
2826
// TODO: add cross track theme/type support
2927
const certificateType: TCACertificateType = props.certification.certificationCategory?.track ?? 'DEV'
3028

31-
const displaySignature: boolean = props.displaySignature ?? true
32-
3329
const completedDate: string = moment(props.completedDate || new Date())
3430
.format('MMM D, YYYY')
3531

@@ -93,16 +89,6 @@ const TCACertificate: FC<TCACertificateProps> = (props: TCACertificateProps) =>
9389
<span className='ultra-small-medium'>{props.validateLink}</span>
9490
</div>
9591
</div>
96-
{
97-
displaySignature && (
98-
<div className={styles.sigWrap}>
99-
<DougSigSvg />
100-
<div className={styles.divider} />
101-
<span>Doug Hanson</span>
102-
<span>CEO, Topcoder</span>
103-
</div>
104-
)
105-
}
10692
</div>
10793
)}
10894
</div>

0 commit comments

Comments
 (0)