Rewrite licence and privacy as components
This commit is contained in:
parent
cee4a55937
commit
0a6b2f7ae2
5 changed files with 38 additions and 36 deletions
16
src/components/licence.html
Normal file
16
src/components/licence.html
Normal 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>
|
18
src/components/privacy.html
Normal file
18
src/components/privacy.html
Normal 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, 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.
|
||||||
|
</p>
|
||||||
|
</details>
|
|
@ -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.
|
|
|
@ -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.
|
|
|
@ -5,8 +5,8 @@
|
||||||
*/
|
*/
|
||||||
import Layout from "@layouts/layout.astro";
|
import Layout from "@layouts/layout.astro";
|
||||||
import Form from "@components/form.astro";
|
import Form from "@components/form.astro";
|
||||||
import { Content as PrivacyNotice } from "@pages/_privacy.md";
|
import Licence from "@components/licence.html";
|
||||||
import { Content as Licence } from "@pages/_licence.md";
|
import Privacy from "@components/privacy.html";
|
||||||
|
|
||||||
import LanguageSelect from "@components/language-select.astro";
|
import LanguageSelect from "@components/language-select.astro";
|
||||||
|
|
||||||
|
@ -75,13 +75,7 @@ const prefilledInstance = searchParameters.get("instance");
|
||||||
>Status page</a
|
>Status page</a
|
||||||
>.
|
>.
|
||||||
</p>
|
</p>
|
||||||
<details>
|
|
||||||
<summary data-translate="licence">Licence</summary>
|
|
||||||
<Licence />
|
<Licence />
|
||||||
</details>
|
<Privacy />
|
||||||
<details>
|
|
||||||
<summary data-translate="privacyNotice">Privacy Notice</summary>
|
|
||||||
<PrivacyNotice />
|
|
||||||
</details>
|
|
||||||
</aside>
|
</aside>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
Reference in a new issue