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 && ( - - )}