mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
added privacy doc reader
This commit is contained in:
parent
812880da3f
commit
93c7b4623d
@ -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: [
|
||||
|
28
packages/app/constants/settings/privacy/index.jsx
Normal file
28
packages/app/constants/settings/privacy/index.jsx
Normal file
@ -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 <div className="reminder">
|
||||
<Icons.Info /> Take a look to our <a href="/privacy" target="_blank">privacy policy</a>.
|
||||
</div>
|
||||
}
|
||||
}
|
@ -54,5 +54,9 @@
|
||||
"ui.sounds": {
|
||||
"title": "UI Sounds",
|
||||
"icon": "Volume2"
|
||||
},
|
||||
"privacy.general": {
|
||||
"title": "Privacy",
|
||||
"icon": "MdOutlinePrivacyTip"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user