diff --git a/next.config.js b/next.config.js index e8358be..611c551 100644 --- a/next.config.js +++ b/next.config.js @@ -19,6 +19,11 @@ module.exports = { source: '/watch', destination: 'https://www.netflix.com/gb/title/81210762?s=i&trkid=13747225&vlang=en&clip=81459758', permanent: true + }, + { + source: '/gay-bible', + destination: 'https://www.goodreads.com/book/show/36256691-the-holy-bible-but-gayer', + permanent: true } ] } diff --git a/package.json b/package.json index 02baa07..9730258 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "dependencies": { "next": "11.0.1", "next-intl": "^1.4.4", + "next-plausible": "^2.0.0", "react": "17.0.2", "react-dom": "17.0.2" }, diff --git a/pages/_app.tsx b/pages/_app.tsx index 9e9e2ff..94f8490 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,10 +1,15 @@ import '../styles/globals.css' import type { AppProps } from 'next/app' import {NextIntlProvider} from 'next-intl'; +import PlausibleProvider from 'next-plausible'; function _App({ Component, pageProps }: AppProps) { - return - - + return ( + + + + + + ) } export default _App diff --git a/yarn.lock b/yarn.lock index ff3db2a..529262c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1987,6 +1987,11 @@ next-intl@^1.4.4: dependencies: use-intl "^1.4.4" +next-plausible@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/next-plausible/-/next-plausible-2.0.0.tgz#2f5536ef3945c9a516471c2d5eda68887d447d74" + integrity sha512-NaLrAK+LsnEyXz31qy9OjhXZlppp0aWUdKmBPgthrWeGPwLo7ojSWgWU2BzbbUOqi0XVoWjaMa3oNVDfVkyC5w== + next@11.0.1: version "11.0.1" resolved "https://registry.yarnpkg.com/next/-/next-11.0.1.tgz#b8e3914d153aaf7143cb98c09bcd3c8230eeb17a"