Skip to content

Commit a97228d

Browse files
committed
TCA-1060 - remove email field;
1 parent 0a7aa84 commit a97228d

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

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)