From 2242d7557f9befacd11656726cc0c751412fac49 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Tue, 1 Jul 2025 11:51:24 -0300 Subject: [PATCH] feat: Add CustomTermsLinks component to GeneralPage (#8808) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✨ (frontend): add CustomTermsLinks component to GeneralPage to display custom terms links in the settings page. --- .../src/customization/components/custom-terms-links.tsx | 3 +++ .../src/pages/SettingsPage/pages/GeneralPage/index.tsx | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 src/frontend/src/customization/components/custom-terms-links.tsx diff --git a/src/frontend/src/customization/components/custom-terms-links.tsx b/src/frontend/src/customization/components/custom-terms-links.tsx new file mode 100644 index 000000000..279a1b04a --- /dev/null +++ b/src/frontend/src/customization/components/custom-terms-links.tsx @@ -0,0 +1,3 @@ +export const CustomTermsLinks = () => { + return <>; +}; diff --git a/src/frontend/src/pages/SettingsPage/pages/GeneralPage/index.tsx b/src/frontend/src/pages/SettingsPage/pages/GeneralPage/index.tsx index 719c55174..a5e9a0ef5 100644 --- a/src/frontend/src/pages/SettingsPage/pages/GeneralPage/index.tsx +++ b/src/frontend/src/pages/SettingsPage/pages/GeneralPage/index.tsx @@ -10,6 +10,7 @@ import { useUpdateUser, } from "@/controllers/API/queries/auth"; import { useGetProfilePicturesQuery } from "@/controllers/API/queries/files"; +import { CustomTermsLinks } from "@/customization/components/custom-terms-links"; import { ENABLE_PROFILE_ICONS } from "@/customization/feature-flags"; import useAuthStore from "@/stores/authStore"; import { cloneDeep } from "lodash"; @@ -160,6 +161,8 @@ export const GeneralPage = () => { /> )} + + ); };