diff --git a/packages/app/config/index.js b/packages/app/config/index.js index 7d2d926d..8cc8de6b 100755 --- a/packages/app/config/index.js +++ b/packages/app/config/index.js @@ -9,6 +9,14 @@ export default { author: "RageStudio©", fundingLink: "https://www.paypal.com/donate/?hosted_button_id=S4TWMAN79KC76", githubRepoLink: "https://github.com/ragestudio/comty", + locations: { + terms: "/terms", + privacy: "/privacy", + }, + legal: { + terms: "https://storage.ragestudio.net/rstudio/legal_docs/comty/terms/latest.md", + privacy: "https://storage.ragestudio.net/rstudio/legal_docs/comty/privacy/latest.md", + }, footerLinks: [ { label: "Terms of Service", @@ -44,13 +52,6 @@ export default { mainPath: "/", authPath: "/login", copyright: "Comty - RageStudio© 2023", - storage: { - basics: "user", - token: "token", - session_frame: "session", - signkey: "certified", - settings: "app_settings" - }, }, i18n: { languages: [ diff --git a/packages/app/constants/settings/privacy/index.jsx b/packages/app/constants/settings/privacy/index.jsx new file mode 100644 index 00000000..a55e769a --- /dev/null +++ b/packages/app/constants/settings/privacy/index.jsx @@ -0,0 +1,28 @@ +import { Icons } from "components/Icons" + +export default { + id: "privacy", + icon: "MdOutlinePrivacyTip", + label: "Privacy", + group: "basic", + settings: [ + { + id: "request-data", + group: "privacy.general", + icon: "IoMdDownload", + title: "Request all my data", + description: "Start the process of requesting all your data storaged from our services.", + component: "Button", + props: { + type: "primary", + children: "Request" + }, + storaged: false, + }, + ], + footer: () => { + return