link to privacy
This commit is contained in:
parent
5ca67c3411
commit
515f997147
|
@ -129,13 +129,27 @@ export default function Footer ({ noLinks }) {
|
|||
<footer>
|
||||
<Container className='mb-3 mt-4'>
|
||||
{!noLinks &&
|
||||
<div className='mb-2' style={{ fontWeight: 500 }}>
|
||||
<>
|
||||
{mounted &&
|
||||
<div className='mb-2'>
|
||||
{darkMode.value
|
||||
? <Sun onClick={() => darkMode.toggle()} className='fill-grey theme' />
|
||||
: <Moon onClick={() => darkMode.toggle()} className='fill-grey theme' />}
|
||||
</div>}
|
||||
<div className='mb-2' style={{ fontWeight: 500 }}>
|
||||
<OverlayTrigger trigger='click' placement='top' overlay={AnalyticsPopover} rootClose>
|
||||
<div className='nav-link p-0 d-inline-flex' style={{ cursor: 'pointer' }}>
|
||||
analytics
|
||||
</div>
|
||||
</OverlayTrigger>
|
||||
<span className='mx-2 text-muted'> \ </span>
|
||||
<OverlayTrigger trigger='click' placement='top' overlay={ChatPopover} rootClose>
|
||||
<div className='nav-link p-0 d-inline-flex' style={{ cursor: 'pointer' }}>
|
||||
chat
|
||||
</div>
|
||||
</OverlayTrigger>
|
||||
</div>
|
||||
<div className='mb-2' style={{ fontWeight: 500 }}>
|
||||
<Link href='/faq' passHref>
|
||||
<a className='nav-link p-0 d-inline-flex'>
|
||||
faq
|
||||
|
@ -148,22 +162,15 @@ export default function Footer ({ noLinks }) {
|
|||
</a>
|
||||
</Link>
|
||||
<span className='mx-2 text-muted'> \ </span>
|
||||
<OverlayTrigger trigger='click' placement='top' overlay={AnalyticsPopover} rootClose>
|
||||
<div className='nav-link p-0 d-inline-flex' style={{ cursor: 'pointer' }}>
|
||||
analytics
|
||||
</div>
|
||||
</OverlayTrigger>
|
||||
<span className='mx-2 text-muted'> \ </span>
|
||||
<OverlayTrigger trigger='click' placement='top' overlay={ChatPopover} rootClose>
|
||||
<div className='nav-link p-0 d-inline-flex' style={{ cursor: 'pointer' }}>
|
||||
chat
|
||||
</div>
|
||||
</OverlayTrigger>
|
||||
<a href='/privacy' className='nav-link p-0 d-inline-flex' target='_blank'>
|
||||
privacy
|
||||
</a>
|
||||
<span className='mx-2 text-muted'> \ </span>
|
||||
<a href='/rss' className='nav-link p-0 d-inline-flex' target='_blank'>
|
||||
rss
|
||||
</a>
|
||||
</div>}
|
||||
</div>
|
||||
</>}
|
||||
{data &&
|
||||
<div
|
||||
className={`text-small mx-auto mb-1 ${styles.connect}`}
|
||||
|
|
|
@ -55,6 +55,10 @@ module.exports = withPlausibleProxy()({
|
|||
source: '/story',
|
||||
destination: '/items/1620'
|
||||
},
|
||||
{
|
||||
source: '/privacy',
|
||||
destination: '/items/76894'
|
||||
},
|
||||
{
|
||||
source: '/.well-known/lnurlp/:username',
|
||||
destination: '/api/lnurlp/:username'
|
||||
|
|
Loading…
Reference in New Issue