Skip to content

Commit

Permalink
feat: add sharp vercel-speed/analytics
Browse files Browse the repository at this point in the history
correcting names
  • Loading branch information
gabriel-logan committed Jun 1, 2024
1 parent 8ab3452 commit b4368bb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/src/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import "../globals.css";

import { Analytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/next";
import type { Metadata } from "next";
import { Inter } from "next/font/google";

Expand Down Expand Up @@ -162,8 +160,6 @@ export default async function RootLayout({
data-y_margin="18"
defer
/>
<Analytics />
<SpeedInsights />
</body>
</html>
);
Expand Down
14 changes: 14 additions & 0 deletions docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Analytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/next";

export default async function RootLayout({
children,
}: Readonly<{ children: React.ReactNode }>) {
return (
<>
{children}
<Analytics />
<SpeedInsights />
</>
);
}

0 comments on commit b4368bb

Please sign in to comment.