From a23cb56990200a7970827d747092e10dd93b800d Mon Sep 17 00:00:00 2001 From: Fascinated Date: Sun, 9 Jul 2023 07:36:45 +0100 Subject: [PATCH] temp remove analytics until I can find a good soloution --- config.json | 7 ------- src/app/page.tsx | 20 ++------------------ 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/config.json b/config.json index 998ba86..35612fb 100644 --- a/config.json +++ b/config.json @@ -28,13 +28,6 @@ } ] }, - "analytics": { - "plausable": { - "enabled": true, - "siteDomain": "example.com", - "domain": "analyics.example.com" - } - }, "links": [ { "title": "Git", diff --git a/src/app/page.tsx b/src/app/page.tsx index 710efd8..94b05cf 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -3,33 +3,17 @@ import { fab } from "@fortawesome/free-brands-svg-icons"; import { far } from "@fortawesome/free-regular-svg-icons"; import { fas } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import PlausibleProvider from "next-plausible"; import Image from "next/image"; import Config from "../../config.json"; library.add(fab, far, fas); export default function Home() { - const { - background, - infoCard, - avatar, - name, - links, - options, - description, - analytics, - } = Config; + const { background, infoCard, avatar, name, links, options, description } = + Config; return ( <> - {analytics.plausable.enabled && ( - - )}