link to privacy

This commit is contained in:
keyan 2022-10-04 12:19:15 -05:00
parent 5ca67c3411
commit 515f997147
2 changed files with 38 additions and 27 deletions

View File

@ -129,41 +129,48 @@ export default function Footer ({ noLinks }) {
<footer> <footer>
<Container className='mb-3 mt-4'> <Container className='mb-3 mt-4'>
{!noLinks && {!noLinks &&
<div className='mb-2' style={{ fontWeight: 500 }}> <>
{mounted && {mounted &&
<div className='mb-2'> <div className='mb-2'>
{darkMode.value {darkMode.value
? <Sun onClick={() => darkMode.toggle()} className='fill-grey theme' /> ? <Sun onClick={() => darkMode.toggle()} className='fill-grey theme' />
: <Moon onClick={() => darkMode.toggle()} className='fill-grey theme' />} : <Moon onClick={() => darkMode.toggle()} className='fill-grey theme' />}
</div>} </div>}
<Link href='/faq' passHref> <div className='mb-2' style={{ fontWeight: 500 }}>
<a className='nav-link p-0 d-inline-flex'> <OverlayTrigger trigger='click' placement='top' overlay={AnalyticsPopover} rootClose>
faq <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
</a>
</Link>
<span className='mx-2 text-muted'> \ </span>
<Link href='/story' passHref>
<a className='nav-link p-0 d-inline-flex'>
story
</a>
</Link>
<span className='mx-2 text-muted'> \ </span>
<a href='/privacy' className='nav-link p-0 d-inline-flex' target='_blank'>
privacy
</a> </a>
</Link> <span className='mx-2 text-muted'> \ </span>
<span className='mx-2 text-muted'> \ </span> <a href='/rss' className='nav-link p-0 d-inline-flex' target='_blank'>
<Link href='/story' passHref> rss
<a className='nav-link p-0 d-inline-flex'>
story
</a> </a>
</Link> </div>
<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>
<span className='mx-2 text-muted'> \ </span>
<a href='/rss' className='nav-link p-0 d-inline-flex' target='_blank'>
rss
</a>
</div>}
{data && {data &&
<div <div
className={`text-small mx-auto mb-1 ${styles.connect}`} className={`text-small mx-auto mb-1 ${styles.connect}`}

View File

@ -55,6 +55,10 @@ module.exports = withPlausibleProxy()({
source: '/story', source: '/story',
destination: '/items/1620' destination: '/items/1620'
}, },
{
source: '/privacy',
destination: '/items/76894'
},
{ {
source: '/.well-known/lnurlp/:username', source: '/.well-known/lnurlp/:username',
destination: '/api/lnurlp/:username' destination: '/api/lnurlp/:username'