add vercel analytics for spying reasons. jk
- SHA
729dc42edb549f99ac42c5ef5eaefd0e4d76c2db- Parents
-
a1687e5 - Tree
f1e51a4
729dc42
729dc42edb549f99ac42c5ef5eaefd0e4d76c2dba1687e5
f1e51a4| Status | File | + | - |
|---|---|---|---|
| M |
app/layout.tsx
|
2 | 0 |
| M |
package-lock.json
|
39 | 0 |
| M |
package.json
|
6 | 5 |
app/layout.tsxmodified@@ -1,6 +1,7 @@ | |||
| 1 | import type { Metadata } from "next"; | 1 | import type { Metadata } from "next"; |
| 2 | import "./globals.css"; | 2 | import "./globals.css"; |
| 3 | import Footer from "@/components/Footer"; | 3 | import Footer from "@/components/Footer"; |
| 4 | +import { Analytics } from "@vercel/analytics/react"; | ||
| 4 | 5 | ||
| 5 | export const metadata: Metadata = { | 6 | export const metadata: Metadata = { |
| 6 | title: "VMI Virtual Memorial", | 7 | title: "VMI Virtual Memorial", |
@@ -39,6 +40,7 @@ export default function RootLayout({ | |||
| 39 | {children} | 40 | {children} |
| 40 | </div> | 41 | </div> |
| 41 | <Footer /> | 42 | <Footer /> |
| 43 | + <Analytics /> | ||
| 42 | </body> | 44 | </body> |
| 43 | </html> | 45 | </html> |
| 44 | ); | 46 | ); |
package-lock.jsonmodified@@ -8,6 +8,7 @@ | |||
| 8 | "name": "vmi-wardead-fe", | 8 | "name": "vmi-wardead-fe", |
| 9 | "version": "0.1.0", | 9 | "version": "0.1.0", |
| 10 | "dependencies": { | 10 | "dependencies": { |
| 11 | + "@vercel/analytics": "^1.5.0", | ||
| 11 | "next": "14.2.30", | 12 | "next": "14.2.30", |
| 12 | "react": "^18", | 13 | "react": "^18", |
| 13 | "react-dom": "^18" | 14 | "react-dom": "^18" |
@@ -1121,6 +1122,44 @@ | |||
| 1121 | "win32" | 1122 | "win32" |
| 1122 | ] | 1123 | ] |
| 1123 | }, | 1124 | }, |
| 1125 | + "node_modules/@vercel/analytics": { | ||
| 1126 | + "version": "1.5.0", | ||
| 1127 | + "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.5.0.tgz", | ||
| 1128 | + "integrity": "sha512-MYsBzfPki4gthY5HnYN7jgInhAZ7Ac1cYDoRWFomwGHWEX7odTEzbtg9kf/QSo7XEsEAqlQugA6gJ2WS2DEa3g==", | ||
| 1129 | + "license": "MPL-2.0", | ||
| 1130 | + "peerDependencies": { | ||
| 1131 | + "@remix-run/react": "^2", | ||
| 1132 | + "@sveltejs/kit": "^1 || ^2", | ||
| 1133 | + "next": ">= 13", | ||
| 1134 | + "react": "^18 || ^19 || ^19.0.0-rc", | ||
| 1135 | + "svelte": ">= 4", | ||
| 1136 | + "vue": "^3", | ||
| 1137 | + "vue-router": "^4" | ||
| 1138 | + }, | ||
| 1139 | + "peerDependenciesMeta": { | ||
| 1140 | + "@remix-run/react": { | ||
| 1141 | + "optional": true | ||
| 1142 | + }, | ||
| 1143 | + "@sveltejs/kit": { | ||
| 1144 | + "optional": true | ||
| 1145 | + }, | ||
| 1146 | + "next": { | ||
| 1147 | + "optional": true | ||
| 1148 | + }, | ||
| 1149 | + "react": { | ||
| 1150 | + "optional": true | ||
| 1151 | + }, | ||
| 1152 | + "svelte": { | ||
| 1153 | + "optional": true | ||
| 1154 | + }, | ||
| 1155 | + "vue": { | ||
| 1156 | + "optional": true | ||
| 1157 | + }, | ||
| 1158 | + "vue-router": { | ||
| 1159 | + "optional": true | ||
| 1160 | + } | ||
| 1161 | + } | ||
| 1162 | + }, | ||
| 1124 | "node_modules/acorn": { | 1163 | "node_modules/acorn": { |
| 1125 | "version": "8.15.0", | 1164 | "version": "8.15.0", |
| 1126 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", | 1165 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", |
package.jsonmodified@@ -9,18 +9,19 @@ | |||
| 9 | "lint": "next lint" | 9 | "lint": "next lint" |
| 10 | }, | 10 | }, |
| 11 | "dependencies": { | 11 | "dependencies": { |
| 12 | + "@vercel/analytics": "^1.5.0", | ||
| 13 | + "next": "14.2.30", | ||
| 12 | "react": "^18", | 14 | "react": "^18", |
| 13 | - "react-dom": "^18", | 15 | + "react-dom": "^18" |
| 14 | - "next": "14.2.30" | ||
| 15 | }, | 16 | }, |
| 16 | "devDependencies": { | 17 | "devDependencies": { |
| 17 | - "typescript": "^5", | ||
| 18 | "@types/node": "^20", | 18 | "@types/node": "^20", |
| 19 | "@types/react": "^18", | 19 | "@types/react": "^18", |
| 20 | "@types/react-dom": "^18", | 20 | "@types/react-dom": "^18", |
| 21 | + "eslint": "^8", | ||
| 22 | + "eslint-config-next": "14.2.30", | ||
| 21 | "postcss": "^8", | 23 | "postcss": "^8", |
| 22 | "tailwindcss": "^3.4.1", | 24 | "tailwindcss": "^3.4.1", |
| 23 | - "eslint": "^8", | 25 | + "typescript": "^5" |
| 24 | - "eslint-config-next": "14.2.30" | ||
| 25 | } | 26 | } |
| 26 | } | 27 | } |