1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 15:06:36 -04:00

remove broken fathom dashboard iframes

This commit is contained in:
2022-09-23 16:39:59 -04:00
parent ad45eb6cc5
commit beb74f84ce
8 changed files with 227 additions and 257 deletions

View File

@ -2,12 +2,10 @@ import { NextSeo } from "next-seo";
import Content from "../components/Content";
import PageTitle from "../components/PageTitle";
import Link from "../components/Link";
import IFrame from "../components/IFrame";
import Blockquote from "../components/Blockquote";
import CodeInline from "../components/CodeInline";
import { H2 } from "../components/Heading";
import { UnorderedList, ListItem } from "../components/List";
import { fathomSiteId, siteDomain } from "../lib/config";
const Privacy = () => {
return (
@ -71,17 +69,13 @@ const Privacy = () => {
</Link>
, a <em>very</em> <Link href="https://usefathom.com/privacy-focused-web-analytics">privacy-focused</Link>{" "}
service, is also used to gain insights into referrers, search terms, etc.{" "}
<strong>without collecting anything identifiable about you</strong>. (My <Link href="/stats/">dashboard</Link>{" "}
is completely public, too!)
<strong>without collecting anything identifiable about you</strong>. (My{" "}
<Link href="/stats/" openInNewTab>
dashboard is completely public
</Link>
, too!)
</p>
<IFrame
src={`https://app.usefathom.com/share/${fathomSiteId}/${siteDomain}`}
title="Fathom Analytics dashboard"
height={500}
allowScripts
/>
<H2 id="third-party">Third-Party Content</H2>
<p>

View File

@ -33,7 +33,6 @@ export const getServerSideProps: GetServerSideProps<Record<string, never>> = asy
{ url: "/previously/" },
{ url: "/privacy/", priority: 0.1, changefreq: EnumChangefreq.YEARLY },
{ url: "/projects/", changefreq: EnumChangefreq.DAILY },
{ url: "/stats/", priority: 0.1, changefreq: EnumChangefreq.YEARLY },
{ url: "/uses/" },
{ url: "/y2k/" },
];

View File

@ -1,55 +0,0 @@
import { NextSeo } from "next-seo";
import Content from "../components/Content";
import PageTitle from "../components/PageTitle";
import Link from "../components/Link";
import IFrame from "../components/IFrame";
import { FathomLogo } from "../components/Icons";
import { styled, theme } from "../lib/styles/stitches.config";
import { fathomSiteId, siteDomain } from "../lib/config";
const PoweredBy = styled("p", {
textAlign: "center",
marginBottom: 0,
fontWeight: 475,
});
const FathomIcon = styled(FathomLogo, {
width: "1.2em",
height: "1.2em",
verticalAlign: "-0.2em",
margin: "0 0.15em",
fill: theme.colors.text,
});
const Stats = () => {
return (
<>
<NextSeo
title="Stats"
openGraph={{
title: "Stats",
}}
/>
<PageTitle>📈 Stats</PageTitle>
<Content>
<PoweredBy>
Powered by{" "}
<Link href="https://usefathom.com/ref/ZEYG0O" underline={false}>
<FathomIcon /> Fathom Analytics
</Link>
</PoweredBy>
<IFrame
src={`https://app.usefathom.com/share/${fathomSiteId}/${siteDomain}`}
title="Fathom Analytics dashboard"
height={600}
allowScripts
/>
</Content>
</>
);
};
export default Stats;