Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions views/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Header, Jumbotron } from 'watson-react-components';
// eslint-disable-mnext-lin =
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.';
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';
const TERMS_OF_USE_URL = 'https://watson-developer-cloud.github.io/terms?name=Speech-to-Text%20Demo';

export default function Layout({ children }) {
return (
Expand Down Expand Up @@ -41,6 +42,12 @@ export default function Layout({ children }) {
<div className="_container _container_large gdpr-info">
{GDPR_INFO}
</div>
<div className="_container _container_large gdpr-info">
By using this application, you agree to the &nbsp;
<a target="_blank" rel="noreferrer noopener" href={TERMS_OF_USE_URL}>
Terms of Use
</a>
</div>
<div id="root">
{children}
</div>
Expand Down