Skip to content

Commit

Permalink
Merge pull request #78 from mattf96s/chore/add-vercel-speed-insights
Browse files Browse the repository at this point in the history
chore(analytics): add vercel speed insights
  • Loading branch information
mattf96s committed May 14, 2024
2 parents 5d64606 + 34f058f commit bad6cf9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# QuackDB - Online DuckDB SQL Playground

[![Release](https://github.com/mattf96s/QuackDB/actions/workflows/release.yml/badge.svg)](https://github.com/mattf96s/QuackDB/actions/workflows/release.yml)
![License](https://img.shields.io/github/license/mattf96s/QuackDB)

QuackDB is a privacy-preserving in-browser DuckDB SQL playground and editor.

Demo available at [quackdb.com](https://www.quackdb.com).
Expand Down
2 changes: 2 additions & 0 deletions apps/web/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import GlobalLoader from "./components/global-loader";
import { Toaster } from "./components/ui/sonner";

import { Analytics as VercelAnalytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/remix";
import clsx from "clsx";
import { TailwindIndicator } from "./components/tailwind-indicator";
import { metaDetails } from "./constants";
Expand Down Expand Up @@ -137,6 +138,7 @@ export function LayoutInner(props: { children: React.ReactNode }) {
</div>
<TailwindIndicator />
{isProduction && <VercelAnalytics />}
{isProduction && <SpeedInsights />}
<Toaster />
<GlobalLoader />
<script
Expand Down

0 comments on commit bad6cf9

Please sign in to comment.