From 58a1dd66e6de0b472cf7075c86725abc8887d502 Mon Sep 17 00:00:00 2001 From: Tilmann Singer Date: Wed, 1 May 2024 20:34:23 +0200 Subject: [PATCH] Use layout, rudimentary language switch (#25) * Make index and privacy-policy pages use default layout Consistently use the default layout. Page contents are unchanged except for indentation and one closing tag added. * Add language switch to FAQ pages --- css/style.css | 13 ++++++ faq/index.md | 8 +++- fr/faq/index.md | 8 +++- index.html | 98 --------------------------------------- index.md | 70 ++++++++++++++++++++++++++++ privacy-policy/index.html | 55 ---------------------- privacy-policy/index.md | 35 ++++++++++++++ 7 files changed, 132 insertions(+), 155 deletions(-) delete mode 100644 index.html create mode 100644 index.md delete mode 100644 privacy-policy/index.html create mode 100644 privacy-policy/index.md diff --git a/css/style.css b/css/style.css index b153026..b1607c7 100644 --- a/css/style.css +++ b/css/style.css @@ -166,3 +166,16 @@ footer .sponsors img { padding: 6px; border-radius: 8px; } + +nav.site { + display: flex; +} + +nav.site .homepage { + flex-grow: 1; +} + +nav.languages { + display: flex; + gap: 0.5rem; +} diff --git a/faq/index.md b/faq/index.md index 823609d..de0c9d6 100644 --- a/faq/index.md +++ b/faq/index.md @@ -10,5 +10,11 @@ id: faq
{{ contents | markdownify }}
-

Homepage

+
diff --git a/fr/faq/index.md b/fr/faq/index.md index bec7b1a..b8e7457 100644 --- a/fr/faq/index.md +++ b/fr/faq/index.md @@ -11,5 +11,11 @@ language: fr
{{ contents | markdownify }}
-

Homepage

+
diff --git a/index.html b/index.html deleted file mode 100644 index 4e39e38..0000000 --- a/index.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - Tusky - Mastodon client for Android - - - - - - - - - - - - - - - - - - - - - - - - -
- - -

Mastodon client for Android

- - - -
-

- Tusky is a lightweight client for - Mastodon, a free and open-source social network server. It supports all Mastodon features, like photos, videos, - lists, custom emojis and is designed according to material guidelines. You can choose between a dark, a light and a black - theme in Tusky. It has notifications and a drafts feature. Tusky is free and open source software licensed under - the - GPL-3.0. -

-

- If you have any questions, feature requests or you found a bug in Tusky feel free to open - an issue on GitHub or send a message to - @Tusky@mastodon.social.
- We have compiled some frequently asked questions as well. -

-
-
- -
- Screenshot of Tusky -
- - - - - - diff --git a/index.md b/index.md new file mode 100644 index 0000000..44c5b5b --- /dev/null +++ b/index.md @@ -0,0 +1,70 @@ +--- +title: Tusky - Mastodon client for Android +layout: default +id: home +--- +
+ + +

Mastodon client for Android

+ + + +
+

+ Tusky is a lightweight client for + Mastodon, a free and open-source social network server. It supports all Mastodon features, like photos, videos, + lists, custom emojis and is designed according to material guidelines. You can choose between a dark, a light and a black + theme in Tusky. It has notifications and a drafts feature. Tusky is free and open source software licensed under + the + GPL-3.0. +

+

+ If you have any questions, feature requests or you found a bug in Tusky feel free to open + an issue on GitHub or send a message to + @Tusky@mastodon.social.
+ We have compiled some frequently asked questions as well. +

+
+
+ +
+ Screenshot of Tusky +
+ + diff --git a/privacy-policy/index.html b/privacy-policy/index.html deleted file mode 100644 index f89df98..0000000 --- a/privacy-policy/index.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - Tusky - Mastodon client for Android - privacy policy - - - - - - - - - - - - - - - - -
- -

Tusky Privacy Policy

- -

Tusky does not collect any usage data or personal information from its users.

- -

Data from connected accounts is only stored locally on the device when it is required for functionality and - performance of Tusky. - This data is strictly confidental and cannot be accessed by other apps (on non-rooted devices). - It can be deleted by clearing Tusky's local storage or uninstalling the app.

- -

(Keep in mind that the Mastodon instance(s) you use Tusky with have their own privacy policies. - You can usually find them linked somewhere on the homepage of the instance.)

- -

Permissions

- -

INTERNET: Required to access connected instances, download media, etc.

-

READ / WRITE_EXTERNAL_STORAGE: For up- and downloading media

-

VIBRATE: for notifications

-

FOREGROUND_SERVICE: To make sending toots more reliable

-

WAKE_LOCK: To make notifications more reliable

-

ACCESS_NETWORK_STATE: To automatically retry network requests when connectivity has been - restored

-

RECEIVE_BOOT_COMPLETED: To continue receiving notifications after the device has restarted -

-

If you have any questions about Tusky or this privacy policy, you can send a message to @Tusky@mastodon.social - or contact@tusky.app

-

Homepage

-
- - - diff --git a/privacy-policy/index.md b/privacy-policy/index.md new file mode 100644 index 0000000..a525920 --- /dev/null +++ b/privacy-policy/index.md @@ -0,0 +1,35 @@ +--- +title: Tusky - Mastodon client for Android - privacy policy +layout: default +id: privacy-policy +--- +
+ +

Tusky Privacy Policy

+ +

Tusky does not collect any usage data or personal information from its users.

+ +

Data from connected accounts is only stored locally on the device when it is required for functionality and + performance of Tusky. + This data is strictly confidental and cannot be accessed by other apps (on non-rooted devices). + It can be deleted by clearing Tusky's local storage or uninstalling the app.

+ +

(Keep in mind that the Mastodon instance(s) you use Tusky with have their own privacy policies. + You can usually find them linked somewhere on the homepage of the instance.)

+ +

Permissions

+ +

INTERNET: Required to access connected instances, download media, etc.

+

READ / WRITE_EXTERNAL_STORAGE: For up- and downloading media

+

VIBRATE: for notifications

+

FOREGROUND_SERVICE: To make sending toots more reliable

+

WAKE_LOCK: To make notifications more reliable

+

ACCESS_NETWORK_STATE: To automatically retry network requests when connectivity has been + restored

+

RECEIVE_BOOT_COMPLETED: To continue receiving notifications after the device has restarted +

+

If you have any questions about Tusky or this privacy policy, you can send a message to + @Tusky@mastodon.social + or contact@tusky.app

+

Homepage

+