docs: remove unecesary footer statement (#12)

This commit is contained in:
Chris Trevino 2020-09-04 16:16:10 -07:00 коммит произвёл GitHub
Родитель 7284f6c644
Коммит b997344a7b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 1 добавлений и 38 удалений

Просмотреть файл

@ -4,9 +4,7 @@
*/
import React from 'react'
import styled from 'styled-components'
import theme from '../../util/theme'
import { Copyright } from './copyright'
import { NoCookies } from './no-cookies'
import { PrivacyStatement } from './privacy-statement'
import { TermsOfUse } from './terms-of-use'
import { TrademarksStatement } from './trademarks-statement'
@ -19,10 +17,9 @@ export const FOOTER_HEIGHT = 50
export const Footer: React.FC<FooterProps> = style => (
<Container style={style as any}>
<FooterColumn></FooterColumn>
<FooterColumn />
<FooterColumn>
<Copyright />
<NoCookies />
<CorpLinks>
<TermsOfUse />
<PrivacyStatement style={{ marginLeft: 30, marginRight: 30 }} />
@ -50,9 +47,3 @@ const FooterColumn = styled.div`
align-items: center;
height: ${FOOTER_HEIGHT}px;
`
const WithLove = styled.div`
color: ${theme.palette.whitish};
font-family: ${theme.text.fontFamily};
font-size: 12px;
margin-top: ${FOOTER_HEIGHT / 2}px;
`

Просмотреть файл

@ -1,13 +0,0 @@
/*!
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project.
*/
import React from 'react'
import { Text } from './common'
export const NoCookies: React.FC = () => (
<Text>
This site does not collect any personal information or use cookies.&nbsp;
</Text>
)

Просмотреть файл

@ -5,7 +5,6 @@
import React from 'react'
import styled from 'styled-components'
import { Copyright } from './Copyright'
import { NoCookies } from './NoCookies'
import { PrivacyStatement } from './Privacy'
import { TermsOfUse } from './TermsOfUse'
import { TrademarksStatement } from './Trademarks'
@ -21,7 +20,6 @@ export const Footer: React.FC<FooterProps> = style => (
<FooterColumn></FooterColumn>
<FooterColumn>
<Copyright />
<NoCookies />
<CorpLinks>
<TermsOfUse />
<PrivacyStatement style={{ marginLeft: 30, marginRight: 30 }} />

Просмотреть файл

@ -1,13 +0,0 @@
/*!
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project.
*/
import React from 'react'
import { Text } from './Common'
export const NoCookies: React.FC = () => (
<Text>
This site does not collect any personal information or use cookies.&nbsp;
</Text>
)