diff mod_register_apps/mod_register_apps.lua @ 5014:eb3f99d0e72d

mod_register_apps: add monal iOS and macOS versions
author tmolitor <thilo@eightysoft.de>
date Thu, 25 Aug 2022 16:38:14 +0200
parents 75b6e5df65f9
children 556bf57d6417
line wrap: on
line diff
--- a/mod_register_apps/mod_register_apps.lua	Wed Aug 24 16:03:17 2022 +0200
+++ b/mod_register_apps/mod_register_apps.lua	Thu Aug 25 16:38:14 2022 +0200
@@ -110,6 +110,40 @@
 			};
 		};
 	};
+	{
+		name  = "Monal";
+		text  = [[A modern open-source chat client for iPhone and iPad. It is easy to use and has a clean user interface.]];
+		image = "assets/logos/monal.svg";
+		link  = "https://monal-im.org/";
+		platforms = { "iOS" };
+		supports_preauth_uri = true;
+		download = {
+			buttons = {
+				{
+					image = "https://linkmaker.itunes.apple.com/en-us/badge-lrg.svg?releaseDate=2017-05-31&kind=iossoftware&bubble=ios_apps";
+					url = "https://apps.apple.com/app/id317711500";
+					target = "_blank";
+				};
+			};
+		};
+	};
+	{
+		name  = "Monal";
+		text  = [[A modern open-source chat client for Mac. It is easy to use and has a clean user interface.]];
+		image = "assets/logos/monal.svg";
+		link  = "https://monal-im.org/";
+		platforms = { "macOS" };
+		supports_preauth_uri = true;
+		download = {
+			buttons = {
+				{
+					image = "https://linkmaker.itunes.apple.com/en-us/badge-lrg.svg?releaseDate=2017-05-31&kind=macossoftware&bubble=macos_apps";
+					url = "https://apps.apple.com/app/id1637078500";
+					target = "_blank";
+				};
+			};
+		};
+	};
 });
 
 local show_apps = module:get_option_set("site_apps_show");