parent
545e778e96
commit
bb37bbd215
@ -1,27 +0,0 @@
|
||||
// Copyright (C) 2021-2022 Intel Corporation
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import React from 'react';
|
||||
import Layout from 'antd/lib/layout';
|
||||
|
||||
import { isPublic } from 'utils/enviroment';
|
||||
import consts from 'consts';
|
||||
|
||||
function FooterDrawer(): JSX.Element | null {
|
||||
const { Footer } = Layout;
|
||||
const { INTEL_TERMS_OF_USE_URL, INTEL_COOKIES_URL, INTEL_PRIVACY_URL } = consts;
|
||||
|
||||
return isPublic() ? (
|
||||
<Footer style={{ textAlign: 'center', borderTop: '1px solid #e8e8e8' }}>
|
||||
© Intel Corporation |
|
||||
<a target='_blank' rel='noopener noreferrer' href={INTEL_TERMS_OF_USE_URL}> Terms of Use </a>
|
||||
|
|
||||
<a target='_blank' rel='noopener noreferrer' data-cookie-notice='true' href={INTEL_COOKIES_URL}> Cookies </a>
|
||||
|
|
||||
<a target='_blank' rel='noopener noreferrer' href={INTEL_PRIVACY_URL}> Privacy </a>
|
||||
</Footer>
|
||||
) : null;
|
||||
}
|
||||
|
||||
export default React.memo(FooterDrawer);
|
||||
Loading…
Reference in New Issue