From 34f058f53144e821f00dfc1cf8eaf9a693cc6e56 Mon Sep 17 00:00:00 2001 From: Matthew Fainman <68327846+mattf96s@users.noreply.github.com> Date: Tue, 14 May 2024 10:10:11 +0200 Subject: [PATCH] chore(analytics): add vercel speed insights --- README.md | 3 +++ apps/web/app/root.tsx | 2 ++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 8fb1fe2..188bb77 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/apps/web/app/root.tsx b/apps/web/app/root.tsx index 098ed81..a8eb4f8 100644 --- a/apps/web/app/root.tsx +++ b/apps/web/app/root.tsx @@ -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"; @@ -137,6 +138,7 @@ export function LayoutInner(props: { children: React.ReactNode }) { {isProduction && } + {isProduction && }