diff --git a/lbrytv/component/footer.jsx b/lbrytv/component/footer.jsx new file mode 100644 index 000000000..0461b7360 --- /dev/null +++ b/lbrytv/component/footer.jsx @@ -0,0 +1,86 @@ +// @flow +import React from 'react'; +import Button from 'component/button'; + +const sections = [ + { + name: 'Talk To Us', + links: [ + { + label: 'Twitter', + link: 'https://twitter.com/lbryio', + }, + { + label: 'Reddit', + link: 'https://reddit.com/lbry', + }, + { + label: 'Discord', + link: 'https://chat.lbry.com/', + }, + { + label: 'Telegram', + link: 'https://t.me/lbryofficial', + }, + { + label: 'Facebook', + link: 'https://www.facebook.com/lbryio', + }, + ], + }, + { + name: 'Learn More', + links: [ + { + label: 'FAQ', + link: 'https://lbry.com/faq', + }, + { + label: 'lbry.tech', + link: 'https://lbry.tech', + }, + { + label: 'Github', + link: 'https://github.com/lbryio/lbry-desktop', + }, + ], + }, + { + name: 'Other', + links: [ + { + label: 'Support', + link: 'https://lbry.com/faq/support', + }, + { + label: 'Terms of Service', + link: 'https://www.lbry.com/termsofservice', + }, + { + label: '2257', + link: '', + }, + ], + }, +]; + +export default function Footer() { + return ( + + ); +} diff --git a/ui/component/page/view.jsx b/ui/component/page/view.jsx index 61a0389e8..756e705cd 100644 --- a/ui/component/page/view.jsx +++ b/ui/component/page/view.jsx @@ -4,6 +4,7 @@ import React, { Fragment } from 'react'; import classnames from 'classnames'; import SideNavigation from 'component/sideNavigation'; import Header from 'component/header'; +import Footer from 'lbrytv/component/footer'; export const MAIN_CLASS = 'main'; type Props = { @@ -13,10 +14,11 @@ type Props = { isUpgradeAvailable: boolean, authPage: boolean, noHeader: boolean, + noFooter: boolean, }; function Page(props: Props) { - const { children, className, authPage = false, noHeader } = props; + const { children, className, authPage = false, noHeader, noFooter } = props; return ( @@ -25,6 +27,9 @@ function Page(props: Props) {
{children}
{!authPage && !noHeader && } + {/* @if TARGET='web' */} + {!noFooter &&