From b5b8e9a743e25a0707af061348a4d5c487456041 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Thu, 21 Oct 2021 03:54:56 -0500 Subject: [PATCH 01/30] Add macOS and Windows install links for Quaternion and Nheko Signed-off-by: Aaron Raimist --- src/open/clients/Nheko.js | 7 ++++--- src/open/clients/Quaternion.js | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/open/clients/Nheko.js b/src/open/clients/Nheko.js index c2e3ab0..d1c206f 100644 --- a/src/open/clients/Nheko.js +++ b/src/open/clients/Nheko.js @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import {Maturity, Platform, LinkKind, FlathubLink, style} from "../types.js"; +import {Maturity, Platform, LinkKind, FlathubLink, WebsiteLink, style} from "../types.js"; /** * Information on how to deep link to a given matrix client. @@ -72,8 +72,9 @@ export class Nheko { } getInstallLinks(platform) { - if (platform === Platform.Linux) { - return [new FlathubLink("io.github.NhekoReborn.Nheko")]; + switch (platform) { + case Platform.Linux: return [new FlathubLink("io.github.NhekoReborn.Nheko")]; + default: return [new WebsiteLink("https://github.com/Nheko-Reborn/nheko/releases/latest")]; } } diff --git a/src/open/clients/Quaternion.js b/src/open/clients/Quaternion.js index 0240821..bf2a86b 100644 --- a/src/open/clients/Quaternion.js +++ b/src/open/clients/Quaternion.js @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import {Maturity, Platform, LinkKind, FlathubLink, style} from "../types.js"; +import {Maturity, Platform, LinkKind, FlathubLink, WebsiteLink, style} from "../types.js"; export class Quaternion { get id() { return "quaternion"; } @@ -43,8 +43,9 @@ export class Quaternion { } getInstallLinks(platform) { - if (platform === Platform.Linux) { - return [new FlathubLink("com.github.quaternion")]; + switch (platform) { + case Platform.Linux: return [new FlathubLink("com.github.quaternion")]; + default: return [new WebsiteLink("https://github.com/quotient-im/Quaternion/releases/latest")]; } } From e71021e8aac6d06a9e3ca3b9ae293006da558394 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Wed, 17 Nov 2021 21:23:55 +0000 Subject: [PATCH 02/30] Add F-Droid button for FluffyChat Signed-off-by: Aaron Raimist --- src/open/clients/Fluffychat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/open/clients/Fluffychat.js b/src/open/clients/Fluffychat.js index 9955c6a..fefe6c1 100644 --- a/src/open/clients/Fluffychat.js +++ b/src/open/clients/Fluffychat.js @@ -11,7 +11,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import { Maturity, Platform, LinkKind, FlathubLink, AppleStoreLink, PlayStoreLink, WebsiteLink } from "../types.js"; +import { Maturity, Platform, LinkKind, FlathubLink, AppleStoreLink, PlayStoreLink, FDroidLink, WebsiteLink } from "../types.js"; /** * Information on how to deep link to a given matrix client. @@ -44,7 +44,7 @@ export class Fluffychat { getInstallLinks(platform) { switch (platform) { case Platform.iOS: return [new AppleStoreLink("fluffychat", "id1551469600")]; - case Platform.Android: return [new PlayStoreLink("chat.fluffy.fluffychat")]; + case Platform.Android: return [new PlayStoreLink("chat.fluffy.fluffychat"), new FDroidLink('chat.fluffy.fluffychat')]; case Platform.Linux: return [new FlathubLink("im.fluffychat.Fluffychat")]; default: return [new WebsiteLink("https://fluffychat.im")]; } From 72374d91b1589906e5bb5ddf37b7cf0c351e903d Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Tue, 23 Nov 2021 14:23:51 +0000 Subject: [PATCH 03/30] add twitter embed meta tags Add embeds to make matrix invite links more obvious on twitter. --- index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.html b/index.html index dda600c..ba22f04 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,11 @@ + + + + +