fix(client): academic honesty pages and settings (#35348)
This commit is contained in:
committed by
Ahmad Abdolsaheb
parent
86cf0cff91
commit
163540f8fc
@@ -2,9 +2,9 @@ import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Button, Panel } from '@freecodecamp/react-bootstrap';
|
||||
|
||||
import FullWidthRow from '../helpers/FullWidthRow';
|
||||
import { FullWidthRow } from '../helpers';
|
||||
import SectionHeader from './SectionHeader';
|
||||
import academicPolicy from '../../resources/honesty-policy';
|
||||
import HonestyPolicy from '../../resources/honesty-policy';
|
||||
|
||||
import './honesty.css';
|
||||
|
||||
@@ -37,10 +37,10 @@ class Honesty extends Component {
|
||||
<SectionHeader>Academic Honesty Policy</SectionHeader>
|
||||
<FullWidthRow>
|
||||
<Panel className='honesty-panel'>
|
||||
{academicPolicy}
|
||||
<br />
|
||||
{isHonest ? this.renderIsHonestAgreed() : this.renderAgreeButton()}
|
||||
<HonestyPolicy />
|
||||
</Panel>
|
||||
<br />
|
||||
{isHonest ? this.renderIsHonestAgreed() : this.renderAgreeButton()}
|
||||
</FullWidthRow>
|
||||
</section>
|
||||
);
|
||||
|
Reference in New Issue
Block a user