From 8dea20a5946d7b44690e87adf1cbe1d8d005ca4d Mon Sep 17 00:00:00 2001 From: keyan Date: Thu, 15 Jul 2021 18:06:21 -0500 Subject: [PATCH] add faq --- components/footer.js | 7 +++++++ next.config.js | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/components/footer.js b/components/footer.js index 8e13eba9..3cf7fdf0 100644 --- a/components/footer.js +++ b/components/footer.js @@ -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} /> } + + + FAQ + + + \ This is free open source software diff --git a/next.config.js b/next.config.js index dad1ca22..a5b1fca7 100644 --- a/next.config.js +++ b/next.config.js @@ -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' + } + ] + } })