lbry-desktop/web/component/footer.jsx

40 lines
1.5 KiB
React
Raw Normal View History

2020-05-08 18:48:58 +02:00
import React from 'react';
import Button from 'component/button';
2021-07-23 22:18:28 +02:00
import I18nMessage from 'component/i18nMessage';
import { SIMPLE_SITE } from 'config';
2020-05-08 18:48:58 +02:00
export default function Footer() {
2021-07-23 22:18:28 +02:00
if (!SIMPLE_SITE) {
return null;
}
2020-05-08 18:48:58 +02:00
return (
<footer className="footer">
2021-07-23 22:18:28 +02:00
<span className="footer__section-title">
<I18nMessage tokens={{ lbry_link: <Button button="link" label={'LBRY'} href="https://lbry.com" /> }}>
POWERED BY %lbry_link%
</I18nMessage>
</span>
<ul className="navigation__tertiary footer__links">
<li className="footer__link">
<Button label={__('About --[link title in Sidebar or Footer]--')} href="https://lbry.com/about" />
</li>
<li className="footer__link">
<Button label={__('Community Guidelines')} href="https://odysee.com/@OdyseeHelp:b/Community-Guidelines:c" />
</li>
<li className="footer__link">
<Button label={__('FAQ')} href="https://odysee.com/@OdyseeHelp:b" />
</li>
<li className="footer__link">
<Button label={__('Support --[used in footer; general help/support]--')} href="https://lbry.com/support" />
</li>
<li className="footer__link">
<Button label={__('Terms')} href="https://lbry.com/termsofservice" />
</li>
<li className="footer__link">
<Button label={__('Privacy Policy')} href="https://lbry.com/privacy" />
</li>
</ul>
2020-05-08 18:48:58 +02:00
</footer>
);
}