Skip to content

Commit

Permalink
feat: add vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Railly committed Aug 9, 2023
1 parent 8c49e4d commit 58dacc1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# shadcn/ui customizer

This is an open-source extension of [shadcn/ui](https://github.com/shaddcn-ui/ui) for customizing the theme.
This is an open-source extension of [shadcn/ui](https://github.com/shaddcn-ui/ui) themes for customizing the theme.

> [!IMPORTANT]
> Original theme customizer: [https://ui.shadcn.com/themes](https://ui.shadcn.com/themes)
## Screenhsots

Expand Down
6 changes: 5 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import "./globals.css";
import Providers from "@/components/providers";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Analytics } from "@vercel/analytics/react";

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

Expand All @@ -21,7 +22,10 @@ export default function RootLayout({
<Providers>
<div className="relative flex flex-col min-h-screen">
{/* <SiteHeader /> */}
<div className="flex-1 px-6 py-4">{children}</div>
<div className="flex-1 px-6 py-4">
{children}
<Analytics />
</div>
{/* <SiteFooter /> */}
</div>
</Providers>
Expand Down

0 comments on commit 58dacc1

Please sign in to comment.