add faq
This commit is contained in:
parent
0f6cb029c3
commit
8dea20a594
|
@ -6,6 +6,7 @@ import styles from './footer.module.css'
|
|||
import Texas from '../svgs/texas.svg'
|
||||
import Github from '../svgs/github-fill.svg'
|
||||
import Twitter from '../svgs/twitter-fill.svg'
|
||||
import Link from 'next/link'
|
||||
|
||||
export default function Footer () {
|
||||
const query = gql`
|
||||
|
@ -31,6 +32,12 @@ export default function Footer () {
|
|||
placeholder={data.connectAddress}
|
||||
/>
|
||||
</div>}
|
||||
<Link href='/faq' passHref>
|
||||
<a className='text-dark d-inline-flex'>
|
||||
FAQ
|
||||
</a>
|
||||
</Link>
|
||||
<span className='text-muted mx-2'> \ </span>
|
||||
<small>
|
||||
<a className='text-dark d-inline-flex' href='https://github.com/stackernews/stacker.news'>
|
||||
This is free open source software <Github width={20} height={20} className='mx-1' />
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
const { withPlausibleProxy } = require('next-plausible')
|
||||
|
||||
module.exports = withPlausibleProxy()({
|
||||
// ...your next js config, if any
|
||||
async rewrites () {
|
||||
return [
|
||||
{
|
||||
source: '/faq',
|
||||
destination: '/items/349'
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue