Skip to content
This repository was archived by the owner on Sep 22, 2021. It is now read-only.

Commit bb0adf1

Browse files
committed
feat(Layout): add Terms of Use
1 parent f6814b8 commit bb0adf1

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

public/css/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,8 @@
8484
.disclaimer--message .base--h6{
8585
padding-top: 6px;
8686
}
87+
88+
.gdpr-info {
89+
font-size: 10pt;
90+
margin-top: 1em;
91+
}

views/layout.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Header, Jumbotron } from 'watson-react-components';
44

55
// eslint-disable-next-line
66
const DESCRIPTION = 'Natural Language Classifier applies deep learning techniques to make predictions about the best predefined classes for short sentences or phrases.';
7+
const TERMS_OF_USE_URL = 'https://watson-developer-cloud.github.io/terms?name=Natural%20Language%20Classifier%20Demo';
78

89
export class Layout extends React.Component {
910
constructor(props) {
@@ -56,6 +57,12 @@ export class Layout extends React.Component {
5657
startInBluemix="https://cloud.ibm.com/registration/?target=%2Fcatalog%2Fservices%2Fnatural-language-classifier%3FhideTours%3Dtrue%26cm_mmc%3D-_-Watson%2BCore_Watson%2BCore%2B-%2BPlatform-_-WW_WW-_-wdc-ref%26cm_mmc%3D-_-Watson%2BCore_Watson%2BCore%2B-%2BPlatform-_-WW_WW-_-wdc-ref%26cm_mmca1%3D000000OF%26cm_mmca2%3D10000409"
5758
description={DESCRIPTION}
5859
/> : null }
60+
<div className="_container _container_large gdpr-info">
61+
By using this application, you agree to the &nbsp;
62+
<a target="_blank" rel="noreferrer noopener" href={TERMS_OF_USE_URL}>
63+
Terms of Use
64+
</a>
65+
</div>
5966
<div id="root">
6067
{children}
6168
</div>

0 commit comments

Comments
 (0)