diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index d8d81c3e..c3a01d51 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -1,4 +1,5 @@ import type { Metadata } from "next"; +import Script from "next/script"; // Bundled fonts from the `geist` package — next/font/google fetched these at // build time, which fails on the self-host build machine without Google access. import { GeistSans } from "geist/font/sans"; @@ -55,6 +56,15 @@ export default function RootLayout({ + + {/* FleetCrown feedback widget — env-gated, see docs/architecture/feedback-widget.md */} + {process.env.NEXT_PUBLIC_FC_WIDGET_TOKEN && ( +