Rewrite licence and privacy as components

This commit is contained in:
Nikita Karamov 2023-08-28 02:01:02 +02:00
parent cee4a55937
commit 0a6b2f7ae2
No known key found for this signature in database
GPG key ID: 41D6F71EE78E77CD
5 changed files with 38 additions and 36 deletions

View file

@ -0,0 +1,16 @@
<details>
<summary data-translate="licence">Licence</summary>
<p>
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.
</p>
<p>
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.
</p>
</details>

View file

@ -0,0 +1,18 @@
<details>
<summary data-translate="privacyNotice">Privacy Notice</summary>
<p>
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
<a href="https://vercel.com/legal/privacy-policy#customers"
>Vercel's privacy policy</a
>
for more information.
</p>
<p>
When you click the Publish button, youll get redirected to a Fediverse
instance youve specified. It may process and/or store your data. Please
refer to the privacy policy of the respective instance.
</p>
</details>

View file

@ -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.

View file

@ -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, youll get redirected to a Fediverse
instance youve specified. It may process and/or store your data. Please refer
to the privacy policy of the respective instance.

View file

@ -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</a
>.
</p>
<details>
<summary data-translate="licence">Licence</summary>
<Licence />
</details>
<details>
<summary data-translate="privacyNotice">Privacy Notice</summary>
<PrivacyNotice />
</details>
<Licence />
<Privacy />
</aside>
</Layout>