Skip to content

Commit

Permalink
feat: add simpleAnalytics
Browse files Browse the repository at this point in the history
  • Loading branch information
ridhozhr10 committed Jul 4, 2024
1 parent 9a073f2 commit 94844bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Metadata } from "next";
import NextTopLoader from "nextjs-toploader";
import localFont from "next/font/local";
import "./globals.css";
import Script from "next/script";

const inter = localFont({
src: [
Expand Down Expand Up @@ -42,6 +43,7 @@ export default function RootLayout({
<body className={`${inter.variable} font-sans`}>
<NextTopLoader color="#a9a9b3" showSpinner={false} />
{children}
<Script async defer src="https://scripts.simpleanalyticscdn.com/latest.js" />
</body>
</html>
);
Expand Down

0 comments on commit 94844bf

Please sign in to comment.