Skip to content

Commit 33fb68f

Browse files
committed
feat(Terms of Use): add terms of use to the application
1 parent 777fcb8 commit 33fb68f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

views/Input.jsx

+8
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ let index = 0;
1515
let currentInput;
1616
const buttonBreakpoint = '400px';
1717

18+
const TERMS_OF_USE_URL = 'https://watson-developer-cloud.github.io/terms?name=Natural%20Language%20Understanding%20Demo';
19+
1820
const styles = StyleSheet.create({
1921
container: {
2022
maxWidth: parser(`${MAX_CONTENT_WIDTH} - 1rem`),
@@ -167,6 +169,12 @@ const Input = React.createClass({
167169
necessary controls in place to meet the requirements of the General Data Protection Regulation (EU)
168170
2016/679.
169171
</p>
172+
<div className={css(styles.footnote)}>
173+
By using this application, you agree to the&nbsp;
174+
<a target="_blank" rel="noreferrer noopener" href={TERMS_OF_USE_URL}>
175+
Terms of Use
176+
</a>
177+
</div>
170178
<div className={css(styles.buttonContainer)}>
171179
<button
172180
disabled={this.props.disableButton}

0 commit comments

Comments
 (0)