temp remove analytics until I can find a good soloution
All checks were successful
Publish Docker Image / docker (push) Successful in 1m44s

This commit is contained in:
Lee 2023-07-09 07:36:45 +01:00
parent 98c61f787e
commit a23cb56990
2 changed files with 2 additions and 25 deletions

View File

@ -28,13 +28,6 @@
}
]
},
"analytics": {
"plausable": {
"enabled": true,
"siteDomain": "example.com",
"domain": "analyics.example.com"
}
},
"links": [
{
"title": "Git",

View File

@ -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 && (
<PlausibleProvider
domain={analytics.plausable.domain}
customDomain={analytics.plausable.siteDomain}
selfHosted={true}
/>
)}
<main className="flex flex-col items-center justify-center w-screen h-screen bg-neutral-900 text-white">
<div
className={`absolute inset-0 filter ${