Skip to content

Commit

Permalink
Merge pull request StarknetAstro#9 from YanYuanFE/feature
Browse files Browse the repository at this point in the history
feat: add google analyze
  • Loading branch information
YanYuanFE authored Sep 12, 2024
2 parents fbad737 + 7dccbf9 commit 3d0b85d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@hookform/resolvers": "^3.3.1",
"@monaco-editor/react": "^4.6.0",
"@next/third-parties": "^14.2.10",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-alert-dialog": "^1.0.4",
"@radix-ui/react-aspect-ratio": "^1.0.3",
Expand Down
20 changes: 20 additions & 0 deletions pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Metadata } from "next";

import "./globals.css";
import {ThemeProvider} from "next-themes";
import { Analytics } from '@vercel/analytics/react';
import { GoogleAnalytics } from '@next/third-parties/google'
import React from "react";


Expand All @@ -27,7 +27,7 @@ export default function RootLayout({
>
{children}
</ThemeProvider>
<Analytics/>
<GoogleAnalytics gaId="G-KMNYTQF108" />
</body>
</html>
);
Expand Down

0 comments on commit 3d0b85d

Please sign in to comment.