diff --git a/src/components/text/PrivacyPolicyAnalytics.astro b/src/components/text/PrivacyPolicyAnalytics.astro new file mode 100644 index 0000000..9daba0f --- /dev/null +++ b/src/components/text/PrivacyPolicyAnalytics.astro @@ -0,0 +1,19 @@ +--- +import { + ANALYTICS +} from '@utils/GetConfig' +--- + + +{ + ()=> { + if (ANALYTICS === "false") { + return null + } else { + return +
This instance of MinPluto uses {ANALYTICS} for analytics, no personal informatin is collected about you. Data that is collected can not be used to identify you, along with devices or any other factors.
+All data collected with {ANALYTICS} is anonymous.
+ } + } +} \ No newline at end of file diff --git a/src/components/text/PrivacyPolicyCloudflare.astro b/src/components/text/PrivacyPolicyCloudflare.astro new file mode 100644 index 0000000..cd914ec --- /dev/null +++ b/src/components/text/PrivacyPolicyCloudflare.astro @@ -0,0 +1,28 @@ +--- +import { + CLOUDFLARE +} from '@utils/GetConfig' +--- + + +{CLOUDFLARE ? +This instance uses Cloudflare which means the following information is collected:
+This is shown in the "Analytics & Logs" portion in Cloudflare's Dashboard, this can't be turned off by the instance operator.
+ : + null +} \ No newline at end of file diff --git a/src/pages/privacy.mdx b/src/pages/privacy.mdx index 20620f7..79a0c5d 100644 --- a/src/pages/privacy.mdx +++ b/src/pages/privacy.mdx @@ -6,6 +6,8 @@ import { ANALYTICS } from '@utils/GetConfig' +import PrivacyPolicyAnalytics from '@components/text/PrivacyPolicyAnalytics.astro' +import PrivacyPolicyCloudflare from '@components/text/PrivacyPolicyCloudflare.astro' import OptButtons from '@components/buttons/Telemtry.astro' # Privacy Policy @@ -14,11 +16,9 @@ import OptButtons from '@components/buttons/Telemtry.astro' Any service in MinPluto that is 3rd party is proxied by this instance or another instance such as images, videos, fonts, scripts, and more. No personal information information is collected and no information is sent to any 3rd party. -## Information Collection and Use +