added privacy doc reader

This commit is contained in:
SrGooglo 2023-07-12 11:10:52 +00:00
parent 812880da3f
commit 93c7b4623d
3 changed files with 40 additions and 7 deletions

View File

@ -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: [

View 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>
}
}

View File

@ -54,5 +54,9 @@
"ui.sounds": {
"title": "UI Sounds",
"icon": "Volume2"
},
"privacy.general": {
"title": "Privacy",
"icon": "MdOutlinePrivacyTip"
}
}