From ea48a7f29ae4a6ab514bf7707d31bf030a0d2451 Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Sun, 26 Mar 2023 16:17:42 +0200 Subject: [PATCH] Extract license and privacy policy into separate pages --- src/pages/_licence.md | 12 ++++++++++ src/pages/_privacy.md | 14 ++++++++++++ src/pages/index.astro | 51 ++++--------------------------------------- 3 files changed, 30 insertions(+), 47 deletions(-) create mode 100644 src/pages/_licence.md create mode 100644 src/pages/_privacy.md diff --git a/src/pages/_licence.md b/src/pages/_licence.md new file mode 100644 index 0000000..92b049d --- /dev/null +++ b/src/pages/_licence.md @@ -0,0 +1,12 @@ +--- +title: Share₂Fedi Licence +--- + +Share₂Fedi is free software: you can redistribute it and/or modify it under the +terms of the GNU Affero General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version. + +Share₂Fedi is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. diff --git a/src/pages/_privacy.md b/src/pages/_privacy.md new file mode 100644 index 0000000..474f74d --- /dev/null +++ b/src/pages/_privacy.md @@ -0,0 +1,14 @@ +--- +title: Share₂Fedi Privacy Notice +--- + +s2f.kytta.dev is hosted on Vercel. Vercel processes IP addresses, system +configuration information, and other information about traffic to and from +s2f.kytta.dev. Vercel does not store this information nor does it get shared +with third parties. See +[Vercel's privacy policy](https://vercel.com/legal/privacy-policy#customers) for +more information. + +When you click the ‘Publish’ button, you’ll get redirected to a Fediverse +instance you’ve specified. It may process and/or store your data. Please refer +to the privacy policy of the respective instance. diff --git a/src/pages/index.astro b/src/pages/index.astro index 19219e8..162895a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -4,6 +4,8 @@ * Licensed under AGPL v3 or later */ import InstanceSelect from "../components/instance-select.astro"; +import { Content as PrivacyNotice } from "./_privacy.md"; +import { Content as Licence } from "./_licence.md"; import "../styles/main.scss"; const searchParameters = new URL(Astro.request.url).searchParams; @@ -125,56 +127,11 @@ const prefilledInstance = searchParameters.get("instance");

Licence -

- Share₂Fedi is free software: you can redistribute it and/or modify it - under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. -

-

- Share₂Fedi is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Affero General Public License for more details. -

+
Privacy Notice -

- Share₂Fedi uses GoatCounter to collect usage information. - - The usage data is public. - - The following information gets collected: -

- -

- This data is kept for the maximum of 90 days. None of this information - is shared with third parties. See - GoatCounter’s privacy policy - for more information. -

-

- s2f.kytta.dev is hosted on Vercel. Vercel processes IP addresses, - system configuration information, and other information about traffic - to and from s2f.kytta.dev. Vercel does not store this information nor - does it get shared with third parties. See - Vercel's privacy policy - for more information. -

-

- When you click the ‘Publish’ button, you’ll get redirected to a - Fediverse instance you’ve specified. It may process and/or store your - data. Please refer to the privacy policy of the respective instance. -

+