From 3521495ead5f2b79bf5cc82cdec6a3b10176327a Mon Sep 17 00:00:00 2001 From: Dayuan Jiang <34411969+DayuanJiang@users.noreply.github.com> Date: Tue, 23 Dec 2025 00:32:22 +0900 Subject: [PATCH] chore: conditionally show about and notice based on env var (#358) --- components/chat-panel.tsx | 54 +++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/components/chat-panel.tsx b/components/chat-panel.tsx index b7a1929..2254599 100644 --- a/components/chat-panel.tsx +++ b/components/chat-panel.tsx @@ -1269,32 +1269,36 @@ Continue from EXACTLY where you stopped.`, Next AI Drawio - {!isMobile && ( - - About - - )} - {!isMobile && ( - - - - - - )} + About + + )} + {!isMobile && + process.env.NEXT_PUBLIC_SHOW_ABOUT_AND_NOTICE === + "true" && ( + + + + + + )}