Skip to content

Commit

Permalink
GA Code and static export.
Browse files Browse the repository at this point in the history
  • Loading branch information
sherakama committed Aug 29, 2024
1 parent 0370d10 commit 9769390
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const { withContentlayer } = require('next-contentlayer');
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: 'export',
};

module.exports = withContentlayer(nextConfig);
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@emotion/styled": "^11.10.5",
"@heroicons/react": "^2.0.18",
"@mui/material": "^5.14.7",
"@next/third-parties": "^14.2.7",
"cnbuilder": "^3.1.0",
"contentlayer": "^0.3.4",
"date-fns": "^2.30.0",
Expand Down
2 changes: 2 additions & 0 deletions pages/[[...slug]].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import React from 'react';
import type { NextPage } from 'next';
import Head from 'next/head';
import Image from 'next/image';
import { GoogleAnalytics } from '@next/third-parties/google';
import { useMDXComponent } from 'next-contentlayer/hooks';
import { home } from 'utils/routes';
import { Homepage } from 'components/Homepage/Homepage';
Expand Down Expand Up @@ -49,6 +50,7 @@ const Home: NextPage<{ page: Page }> = ({ page }) => {
<Head>
<title>{page.title}</title>
</Head>
<GoogleAnalytics gaId="G-SZ6LS311C9" />
<header>
<Skiplink />
<IdentityBar className="bg-digital-red" />
Expand Down

0 comments on commit 9769390

Please sign in to comment.