Skip to content

Commit

Permalink
feat: add @next/third-parties dependency and integrate Google Tag Man…
Browse files Browse the repository at this point in the history
…ager
  • Loading branch information
giovannymassuia committed Jan 26, 2025
1 parent a79cad0 commit 16062e2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
20 changes: 20 additions & 0 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@next/third-parties": "^15.1.6",
"@tailwindcss/typography": "^0.5.16",
"@tippyjs/react": "^4.2.6",
"escape-html": "^1.0.3",
Expand All @@ -18,9 +19,8 @@
"react": "^19.0.0",
"react-dom": "^19.0.0",
"remark": "^15.0.1",
"remark-html": "^16.0.1",
"escape-html": "^1.0.3",
"remark-gfm": "^4.0.0"
"remark-gfm": "^4.0.0",
"remark-html": "^16.0.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
Expand Down
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Link from "next/link";
import Image from "next/image";
import { ThemeProvider } from "@/components/ThemeProvider";
import { ThemeToggle } from "@/components/ThemeToggle";
import { GoogleTagManager } from '@next/third-parties/google'
import "./globals.css";

const inter = Inter({ subsets: ["latin"] });
Expand All @@ -20,6 +21,7 @@ export default function RootLayout({
}>) {
return (
<html lang="pt-BR" suppressHydrationWarning>
<GoogleTagManager gtmId="GTM-T4MPNQ67" />
<body className={`${inter.className} bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-gray-100 antialiased min-h-screen flex flex-col`}>
<ThemeProvider>
<nav className="sticky top-0 bg-white dark:bg-gray-800 shadow-sm z-50">
Expand Down

0 comments on commit 16062e2

Please sign in to comment.