From e9aadb3e342ded21d152de0548362e8f8c2d0556 Mon Sep 17 00:00:00 2001 From: Kareem Mahlees Date: Thu, 4 Jan 2024 13:21:17 +0200 Subject: [PATCH] feat: speed insights and md screen responsive --- apps/web/package.json | 1 + apps/web/src/App.tsx | 2 ++ apps/web/src/components/Heading.tsx | 50 +++++++++++++++++++-------- apps/web/src/components/Nav.tsx | 7 +--- apps/web/src/components/ui/button.tsx | 3 +- pnpm-lock.yaml | 11 ++++++ 6 files changed, 52 insertions(+), 22 deletions(-) diff --git a/apps/web/package.json b/apps/web/package.json index 2509a93f..d523ac3c 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -18,6 +18,7 @@ "dependencies": { "@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-slot": "^1.0.2", + "@vercel/speed-insights": "^1.0.2", "framer-motion": "^10.17.4", "vaul": "^0.8.0" } diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index 90cd9d41..784de015 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -1,11 +1,13 @@ import Heading from "@/components/Heading" import MaxWidthWrapper from "@/components/MaxWidthWrapper" import Nav from "@/components/Nav" +import { SpeedInsights } from "@vercel/speed-insights/react" import { ThemeProvider } from "./components/providers/theme-provider" function App() { return ( +