Skip to content

Commit 12af882

Browse files
feat(Layout): add link to Terms of Use (#222)
feat(Layout): add link to Terms of Use
2 parents 9685ea7 + 7c024fc commit 12af882

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

views/layout.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Header, Jumbotron } from 'watson-react-components';
55
// eslint-disable-mnext-lin =
66
const DESCRIPTION = 'The IBM Watson Speech to Text service uses speech recognition capabilities to convert Arabic, English, Spanish, French, Brazilian Portuguese, Japanese, Korean, German, and Mandarin speech into text.';
77
const GDPR_INFO = 'This system is for demonstration purposes only and is not intended to process Personal Data. No Personal Data is to be entered into this system as it may not have the necessary controls in place to meet the requirements of the General Data Protection Regulation (EU) 2016/679';
8+
const TERMS_OF_USE_URL = 'https://watson-developer-cloud.github.io/terms?name=Speech-to-Text%20Demo';
89

910
export default function Layout({ children }) {
1011
return (
@@ -41,6 +42,12 @@ export default function Layout({ children }) {
4142
<div className="_container _container_large gdpr-info">
4243
{GDPR_INFO}
4344
</div>
45+
<div className="_container _container_large gdpr-info">
46+
By using this application, you agree to the &nbsp;
47+
<a target="_blank" rel="noreferrer noopener" href={TERMS_OF_USE_URL}>
48+
Terms of Use
49+
</a>
50+
</div>
4451
<div id="root">
4552
{children}
4653
</div>

0 commit comments

Comments
 (0)