2020-08-17 21:07:16 +01:00
|
|
|
import React from 'react'
|
2020-08-17 21:59:29 +01:00
|
|
|
import PropTypes from 'prop-types'
|
2020-07-10 21:19:53 +01:00
|
|
|
import Button from './button'
|
|
|
|
import Heading from './heading'
|
|
|
|
import Icon from './icon'
|
|
|
|
import Text from './text'
|
|
|
|
import ResponsiveClassesComponent from '../features/ui/util/responsive_classes_component'
|
|
|
|
|
2020-08-19 01:22:15 +01:00
|
|
|
const GlobalFooter = () => (
|
2020-11-03 22:28:19 +00:00
|
|
|
<div className={[_s.d, _s.z3, _s.w100PC].join(' ')}>
|
2020-08-19 01:22:15 +01:00
|
|
|
<div className={[_s.d, _s.left0, _s.right0, _s.bottom0, _s.w100PC, _s.bgSubtle, _s.borderTop1PX, _s.aiCenter, _s.borderColorSecondary].join(' ')}>
|
|
|
|
|
|
|
|
<div className={[_s.d, _s.mt15, _s.mb15].join(' ')}>
|
|
|
|
<ResponsiveClassesComponent
|
|
|
|
classNames={[_s.d, _s.w1255PX, _s.flexRow, _s.py15, _s.mt15, _s.mb15].join(' ')}
|
|
|
|
classNamesSmall={[_s.d, _s.w1255PX, _s.aiCenter, _s.pt15, _s.px15, _s.mt15].join(' ')}
|
|
|
|
>
|
|
|
|
|
|
|
|
<ResponsiveClassesComponent
|
|
|
|
classNames={[_s.d, _s.w330PX].join(' ')}
|
|
|
|
classNamesSmall={[_s.d, _s.aiCenter].join(' ')}
|
|
|
|
>
|
|
|
|
<div className={[_s.d, _s.mb10].join(' ')}>
|
|
|
|
<Icon id='logo' />
|
|
|
|
</div>
|
|
|
|
<div className={[_s.d, _s.pr15, _s.maxW640PX].join(' ')}>
|
|
|
|
<Text size='medium'>We build Freedom Of Speech Software. We champion free speech, individual liberty and the free flow of information online. All are welcome.</Text>
|
|
|
|
</div>
|
|
|
|
</ResponsiveClassesComponent>
|
|
|
|
|
|
|
|
<ResponsiveClassesComponent
|
|
|
|
classNames={[_s.d, _s.flexRow, _s.flexGrow1, _s.pl15].join(' ')}
|
|
|
|
classNamesSmall={[_s.d, _s.py15, _s.w100PC, _s.px15].join(' ')}
|
|
|
|
>
|
|
|
|
|
|
|
|
<GlobalFooterColumn
|
|
|
|
title='Join'
|
|
|
|
items={[
|
|
|
|
{
|
|
|
|
href: 'https://gab.com',
|
|
|
|
title: 'Gab Social',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://dissenter.com',
|
|
|
|
title: 'Dissenter Browser',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://chat.gab.com',
|
|
|
|
title: 'Gab Chat',
|
|
|
|
},
|
|
|
|
]}
|
|
|
|
/>
|
|
|
|
|
|
|
|
<GlobalFooterColumn
|
|
|
|
title='Stay Informed'
|
|
|
|
items={[
|
|
|
|
{
|
|
|
|
href: 'https://trends.gab.com',
|
|
|
|
title: 'Gab Trends',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://news.gab.com',
|
|
|
|
title: 'Gab News',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://apps.gab.com',
|
|
|
|
title: 'Gab Apps',
|
|
|
|
},
|
|
|
|
]}
|
|
|
|
/>
|
|
|
|
|
|
|
|
<GlobalFooterColumn
|
|
|
|
title='Support Us'
|
|
|
|
items={[
|
|
|
|
{
|
|
|
|
href: 'https://pro.gab.com',
|
|
|
|
title: 'Go PRO',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://shop.dissenter.com',
|
|
|
|
title: 'Merch Store',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://news.gab.com/support-gab',
|
|
|
|
title: 'Affiliates',
|
|
|
|
},
|
|
|
|
]}
|
|
|
|
/>
|
|
|
|
|
|
|
|
<GlobalFooterColumn
|
|
|
|
title='Legal'
|
|
|
|
items={[
|
|
|
|
{
|
|
|
|
to: '/about/tos',
|
|
|
|
title: 'Terms of Service',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
to: '/about/privacy',
|
|
|
|
title: 'Privacy Policy',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
to: '/about/dmca',
|
|
|
|
title: 'Copyright Policy',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: 'https://help.gab.com',
|
|
|
|
title: 'Contact Us',
|
|
|
|
},
|
|
|
|
]}
|
|
|
|
/>
|
|
|
|
|
|
|
|
</ResponsiveClassesComponent>
|
|
|
|
</ResponsiveClassesComponent>
|
|
|
|
</div>
|
2020-07-10 21:19:53 +01:00
|
|
|
|
2020-08-19 01:22:15 +01:00
|
|
|
<div className={[_s.d, _s.aiCenter, _s.bgSecondary, _s.h100PC, _s.minH58PX, _s.w100PC, _s.saveAreaInsetPB, _s.jcSpaceAround].join(' ')}>
|
|
|
|
<ResponsiveClassesComponent
|
|
|
|
classNames={[_s.d, _s.w1255PX, _s.flexRow, _s.aiCenter].join(' ')}
|
2020-11-03 22:28:19 +00:00
|
|
|
classNamesXS={[_s.d, _s.w1255PX, _s.aiCenter, _s.px15, _s.pt15, _s.pb50].join(' ')}
|
2020-08-19 01:22:15 +01:00
|
|
|
>
|
|
|
|
|
|
|
|
<div classNames={[_s.d, _s.flexRow, _s.aiCenter].join(' ')}>
|
|
|
|
<Text weight='bold'>
|
|
|
|
© 2020
|
|
|
|
</Text>
|
|
|
|
<Text>
|
|
|
|
Copyright |
|
|
|
|
</Text>
|
|
|
|
<Button
|
|
|
|
isText
|
|
|
|
color='primary'
|
|
|
|
backgroundColor='none'
|
|
|
|
className={_s.displayInline}
|
|
|
|
href='https://gab.com'
|
2020-07-10 21:19:53 +01:00
|
|
|
>
|
2020-08-19 01:22:15 +01:00
|
|
|
<Text>Gab AI Inc.</Text>
|
|
|
|
</Button>
|
2020-07-10 21:19:53 +01:00
|
|
|
</div>
|
2020-08-19 01:22:15 +01:00
|
|
|
|
|
|
|
<ResponsiveClassesComponent
|
|
|
|
classNames={[_s.d, _s.aiCenter, _s.mlAuto].join(' ')}
|
|
|
|
classNamesXS={[_s.d, _s.aiCenter, _s.py15].join(' ')}
|
|
|
|
>
|
|
|
|
<Text>
|
|
|
|
Made in USA 🇺🇸
|
|
|
|
</Text>
|
|
|
|
</ResponsiveClassesComponent>
|
|
|
|
|
|
|
|
</ResponsiveClassesComponent>
|
2020-07-10 21:19:53 +01:00
|
|
|
</div>
|
|
|
|
|
2020-08-19 01:22:15 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
2020-07-10 21:19:53 +01:00
|
|
|
|
2020-08-17 21:07:16 +01:00
|
|
|
class GlobalFooterColumn extends React.PureComponent {
|
2020-07-10 21:19:53 +01:00
|
|
|
|
|
|
|
render() {
|
|
|
|
const { title, items } = this.props
|
|
|
|
|
|
|
|
return (
|
|
|
|
<ResponsiveClassesComponent
|
2020-08-18 21:49:11 +01:00
|
|
|
classNames={[_s.d, _s.flexNormal].join(' ')}
|
|
|
|
classNamesSmall={[_s.d, _s.w100PC, _s.aiCenter, _s.mt15, _s.mb5, _s.pt15, _s.borderTop1PX, _s.borderColorSecondary].join(' ')}
|
2020-07-10 21:19:53 +01:00
|
|
|
>
|
|
|
|
<div className={_s.mb10}>
|
|
|
|
<Heading size='h3'>{title}</Heading>
|
|
|
|
</div>
|
|
|
|
{
|
|
|
|
items.map((item, i) => (
|
2020-08-19 01:22:15 +01:00
|
|
|
<Button backgroundColor='none' color='primary' isText to={item.to} href={item.href} key={`global-footer-column-${title}-${i}`}>
|
2020-07-10 21:19:53 +01:00
|
|
|
<Text color='secondary' className={[_s.lineHeight15, _s.pt2].join(' ')}>{item.title}</Text>
|
|
|
|
</Button>
|
|
|
|
))
|
|
|
|
}
|
|
|
|
</ResponsiveClassesComponent>
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-08-19 01:22:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
GlobalFooterColumn.propTypes = {
|
|
|
|
title: PropTypes.string,
|
|
|
|
items: PropTypes.array,
|
|
|
|
}
|
|
|
|
|
|
|
|
export default GlobalFooter
|