Skip to content

Commit 930df99

Browse files
authored
Merge pull request #531 from topcoder-platform/TCA-1060_remove-email-field
TCA-1060 - remove email field -> dev
2 parents d706a56 + 80672c3 commit 930df99

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

src-ts/tools/learn/certification-details/certification-details-sidebar/CertificationDetailsSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const CertificationDetailsSidebar: FC<CertificationDetailsSidebarProps> = (props
100100
</span>
101101
<span className='quote-main'>
102102
<strong>Free</strong>
103-
&nbsp;until March 31&nbsp;
103+
&nbsp;until April 30&nbsp;
104104
<span className='strike'>$20</span>
105105
<Tooltip
106106
content={renderTooltipContents(<IconSolid.CurrencyDollarIcon />, [

src-ts/tools/learn/certification-details/enrollment-page/enrollment-sidebar/EnrollmentSidebar.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
gap: $space-lg;
4040

4141
width: 100%;
42-
height: 270px;
42+
height: 320px;
4343

4444
background: $black-5;
4545
border-radius: $space-sm;

src-ts/tools/learn/certification-details/enrollment-page/enrollment-sidebar/EnrollmentSidebar.tsx

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { FC } from 'react'
2-
import classNames from 'classnames'
32

4-
import { UserProfile } from '../../../../../lib'
3+
import { Button, UserProfile } from '../../../../../lib'
54
import { StickySidebar } from '../../../learn-lib'
6-
import { EnrollmentForm } from '../enrollment-form'
75

86
import styles from './EnrollmentSidebar.module.scss'
97

@@ -20,18 +18,17 @@ const EnrollmentSidebar: FC<EnrollmentSidebarProps> = (props: EnrollmentSidebarP
2018
<strong className='overline'>Total payment</strong>
2119
</div>
2220
<hr />
23-
<div className={classNames('body-ultra-small-bold', styles.formTitle)}>
24-
Contact Information
25-
</div>
2621
<div className={styles.form}>
27-
<EnrollmentForm profile={props.profile} onSubmit={props.onEnroll}>
28-
<div className={styles.noPaymentBanner}>
29-
<h3 className='details'>No payment required</h3>
30-
<div className='body-medium'>
31-
Enroll until March 31 with no cost.
32-
</div>
22+
<div className={styles.noPaymentBanner}>
23+
<h3 className='details'>No payment required</h3>
24+
<div className='body-medium'>
25+
Enroll until April 30 with no cost.
3326
</div>
34-
</EnrollmentForm>
27+
</div>
28+
<Button buttonStyle='primary' onClick={props.onEnroll} label='Enroll Now' size='lg' />
29+
{/* TODO: this form will probably be re-used when we add actuall payments, leaving this here for now */}
30+
{/* <EnrollmentForm profile={props.profile} onSubmit={props.onEnroll}>
31+
</EnrollmentForm> */}
3532
</div>
3633
</StickySidebar>
3734
)

0 commit comments

Comments
 (0)