Skip to content

Commit

Permalink
vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
effiecancode committed Feb 15, 2024
1 parent c91b7e1 commit 795fc48
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
21 changes: 13 additions & 8 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
import type { Metadata } from "next"
import { Inter } from "next/font/google"
import "./globals.css"
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";

const inter = Inter({ subsets: ["latin"] })
import { Analytics } from "@vercel/analytics/react";

const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Track AWS r/Start Labs",
description: "Keep Track Of AWS r/Start Labs",
}
};

export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
<body className={inter.className}>
{children}
<Analytics />
</body>
</html>
)
);
}
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 @@ -9,6 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@vercel/analytics": "^1.1.4",
"axios": "^1.6.7",
"dotenv": "^16.4.1",
"mongoose": "^8.1.1",
Expand Down

0 comments on commit 795fc48

Please sign in to comment.