Skip to content

Commit

Permalink
Merge pull request #5 from muriukialex/chore/vercel-analytics
Browse files Browse the repository at this point in the history
vercel analytics
  • Loading branch information
effiecancode authored Feb 15, 2024
2 parents c91b7e1 + 795fc48 commit d7bb47d
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 d7bb47d

Please sign in to comment.