1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-15 04:25:31 -04:00

fix fathom dashboard iframe

This commit is contained in:
2022-04-26 14:35:08 -04:00
parent 6ab0c5a97f
commit 36e0835947
2 changed files with 8 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ import Blockquote from "../components/Blockquote";
import Code from "../components/CodeInline";
import { H2 } from "../components/Heading";
import { UnorderedList, ListItem } from "../components/List";
import { fathomSiteId, siteDomain } from "../lib/config";
import faunaImg from "../public/static/images/privacy/fauna_hits.png";
@@ -79,7 +80,12 @@ const Privacy = () => (
is completely public, too!)
</p>
<IFrame src="/stats/" title="Fathom Analytics dashboard" height={500} allowScripts />
<IFrame
src={`https://app.usefathom.com/share/${fathomSiteId}/${siteDomain}`}
title="Fathom Analytics dashboard"
height={500}
allowScripts
/>
<H2 id="third-party">Third-Party Content</H2>

View File

@@ -26,6 +26,7 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
{ loc: "/previously/" },
{ loc: "/privacy/", priority: 0.1, changefreq: "yearly" },
{ loc: "/projects/", changefreq: "daily" },
{ loc: "/stats/", priority: 0.1, changefreq: "yearly" },
{ loc: "/uses/" },
{ loc: "/y2k/" },
];