From 726bbde9ca7ff80d6535623f199d05d2a9f2b350 Mon Sep 17 00:00:00 2001 From: MananTank Date: Wed, 2 Oct 2024 17:46:44 +0000 Subject: [PATCH] Add privacyPolicyUrl and termsOfServiceUrl on ConnectEmbed in login page (#4890) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Problem solved Short description of the bug fixed or feature added --- ## PR-Codex overview This PR focuses on enhancing the `login` component by adding links for the privacy policy and terms of service. ### Detailed summary - Added `privacyPolicyUrl` prop with the value `"/privacy"` to the component. - Added `termsOfServiceUrl` prop with the value `"/tos"` to the component. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- apps/dashboard/src/app/login/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/dashboard/src/app/login/page.tsx b/apps/dashboard/src/app/login/page.tsx index 595a2a934de..f39d0793eb8 100644 --- a/apps/dashboard/src/app/login/page.tsx +++ b/apps/dashboard/src/app/login/page.tsx @@ -78,6 +78,8 @@ function CustomConnectEmmbed() { modalSize={isLG ? "wide" : "compact"} theme={getSDKTheme(theme === "light" ? "light" : "dark")} className="shadow-lg" + privacyPolicyUrl="/privacy" + termsOfServiceUrl="/tos" /> ); }