Skip to content

Commit

Permalink
add basic analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhonas committed Feb 9, 2024
1 parent 0027935 commit 4752729
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
14 changes: 14 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 @@ -13,6 +13,7 @@
"build:resume": "cd resume && node parser.js resume-template.docx resume.clintp.json ../public/resume.clintp.docx"
},
"dependencies": {
"@vercel/analytics": "^1.1.3",
"next": "14.1.0",
"react": "^18",
"react-dom": "^18",
Expand Down
2 changes: 2 additions & 0 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Html, Head, Main, NextScript } from "next/document";
import { Analytics } from '@vercel/analytics/react';

export default function Document() {
return (
Expand All @@ -7,6 +8,7 @@ export default function Document() {
<body>
<Main />
<NextScript />
<Analytics />
</body>
</Html>
);
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function Home() {
<main className={`min-h-screen dark:bg-neutral-900 ${font.className}`}>
<Header profiles={resume.basics.profiles} />
<article className="mx-auto max-w-3xl p-4 selection:bg-black selection:text-white">
<h1 className="mb-8 text-4xl font-bold dark:text-white sm:mt-16">Who?</h1>
<h2 className="mb-8 text-4xl font-bold dark:text-white sm:mt-16">Who?</h2>
<Image className="float-right rounded-full"
src={resume.basics.image + '?s=200'}
width={175} height={175}
Expand Down

0 comments on commit 4752729

Please sign in to comment.