1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-13 23:55:35 -04:00

directly (and still dynamically) assign a few of the mdx components

This commit is contained in:
2022-01-05 15:07:54 -05:00
parent fb491d7337
commit 2d44b58242
9 changed files with 43 additions and 44 deletions

View File

@@ -30,7 +30,9 @@ const App = ({ Component, pageProps }: AppProps) => {
// https://usefathom.com/docs/integrations/next
// https://vercel.com/guides/deploying-nextjs-using-fathom-analytics-with-vercel
Fathom.load(config.fathomSiteId, {
// optional custom domain: https://usefathom.com/docs/script/custom-domains
url: `${config.fathomCustomDomain || "https://cdn.usefathom.com"}/script.js`,
// don't track branch/deploy previews and localhost
includedDomains: [config.siteDomain],
});
@@ -38,7 +40,7 @@ const App = ({ Component, pageProps }: AppProps) => {
Fathom.trackPageview();
};
// send ping when route changes
// needs to be triggered manually on link clicks (the page doesn't actually change)
router.events.on("routeChangeComplete", onRouteChangeComplete);
return () => {

View File

@@ -2,7 +2,7 @@ import Layout from "../components/Layout";
import Container from "../components/Container";
import Content from "../components/Content";
import PageTitle from "../components/page/PageTitle";
import Video from "../components/video/FullPageVideo";
import Video from "../components/video/Video";
import { TapeIcon } from "../components/icons";
import thumbnail from "../public/static/images/birthday/thumb.png";

View File

@@ -2,7 +2,7 @@ import Layout from "../components/Layout";
import Container from "../components/Container";
import Content from "../components/Content";
import PageTitle from "../components/page/PageTitle";
import Video from "../components/video/FullPageVideo";
import Video from "../components/video/Video";
import thumbnail from "../public/static/images/hillary/thumb.png";

View File

@@ -2,7 +2,7 @@ import Layout from "../components/Layout";
import Container from "../components/Container";
import Content from "../components/Content";
import PageTitle from "../components/page/PageTitle";
import Video from "../components/video/FullPageVideo";
import Video from "../components/video/Video";
import thumbnail from "../public/static/images/leo/thumb.png";