diff --git a/src/components/licence.html b/src/components/licence.html new file mode 100644 index 0000000..361762d --- /dev/null +++ b/src/components/licence.html @@ -0,0 +1,16 @@ +
+ 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/components/privacy.html b/src/components/privacy.html new file mode 100644 index 0000000..966c3d3 --- /dev/null +++ b/src/components/privacy.html @@ -0,0 +1,18 @@ +
+ 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 + 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/_licence.md b/src/pages/_licence.md deleted file mode 100644 index 92b049d..0000000 --- a/src/pages/_licence.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -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 deleted file mode 100644 index 474f74d..0000000 --- a/src/pages/_privacy.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -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 01f49d2..a8363a6 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,8 +5,8 @@ */ import Layout from "@layouts/layout.astro"; import Form from "@components/form.astro"; -import { Content as PrivacyNotice } from "@pages/_privacy.md"; -import { Content as Licence } from "@pages/_licence.md"; +import Licence from "@components/licence.html"; +import Privacy from "@components/privacy.html"; import LanguageSelect from "@components/language-select.astro"; @@ -75,13 +75,7 @@ const prefilledInstance = searchParameters.get("instance"); >Status page.

-
- Licence - -
-
- Privacy Notice - -
+ +