feat: configure lightweight monitoring (Sentry, UptimeRobot, Analytics)

This commit is contained in:
张翔
2026-03-10 17:36:37 +08:00
parent dbba1123b9
commit 1988b53388
4 changed files with 115 additions and 215 deletions
+2
View File
@@ -4,6 +4,7 @@ import "./globals.css";
import { ThemeProvider } from "@/contexts/theme-context";
import { WebVitals } from "@/components/analytics/web-vitals";
import { GoogleAnalytics } from "@/components/analytics/GoogleAnalytics";
import { Analytics } from "@vercel/analytics/react";
import { OrganizationSchema, WebsiteSchema } from "@/components/seo/structured-data";
import { MobileTabBar } from "@/components/layout/mobile-tab-bar";
import { ErrorBoundary } from "@/components/ui/error-boundary";
@@ -150,6 +151,7 @@ export default function RootLayout({
</ThemeProvider>
</SessionProvider>
<MobileTabBar />
<Analytics />
</body>
</html>
);