mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-13 20:44:16 +00:00
added privacy doc reader
This commit is contained in:
parent
cf012bc773
commit
79f2355b24
@ -9,6 +9,14 @@ export default {
|
|||||||
author: "RageStudio©",
|
author: "RageStudio©",
|
||||||
fundingLink: "https://www.paypal.com/donate/?hosted_button_id=S4TWMAN79KC76",
|
fundingLink: "https://www.paypal.com/donate/?hosted_button_id=S4TWMAN79KC76",
|
||||||
githubRepoLink: "https://github.com/ragestudio/comty",
|
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: [
|
footerLinks: [
|
||||||
{
|
{
|
||||||
label: "Terms of Service",
|
label: "Terms of Service",
|
||||||
@ -44,13 +52,6 @@ export default {
|
|||||||
mainPath: "/",
|
mainPath: "/",
|
||||||
authPath: "/login",
|
authPath: "/login",
|
||||||
copyright: "Comty - RageStudio© 2023",
|
copyright: "Comty - RageStudio© 2023",
|
||||||
storage: {
|
|
||||||
basics: "user",
|
|
||||||
token: "token",
|
|
||||||
session_frame: "session",
|
|
||||||
signkey: "certified",
|
|
||||||
settings: "app_settings"
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
i18n: {
|
i18n: {
|
||||||
languages: [
|
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": {
|
"ui.sounds": {
|
||||||
"title": "UI Sounds",
|
"title": "UI Sounds",
|
||||||
"icon": "Volume2"
|
"icon": "Volume2"
|
||||||
|
},
|
||||||
|
"privacy.general": {
|
||||||
|
"title": "Privacy",
|
||||||
|
"icon": "MdOutlinePrivacyTip"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user