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:
@@ -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 () => {
|
||||
|
@@ -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";
|
||||
|
@@ -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";
|
||||
|
||||
|
@@ -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";
|
||||
|
||||
|
Reference in New Issue
Block a user