put client icons as img tag

This commit is contained in:
Bruno Windels
2020-12-04 16:08:42 +01:00
parent f52867f2e8
commit a705621dd5
5 changed files with 15 additions and 13 deletions
+5 -2
View File
@@ -21,8 +21,7 @@ import {Maturity, Platform, LinkKind,
* Information on how to deep link to a given matrix client.
*/
export class Element {
/* should only contain alphanumerical and -_, no dots (needs to be usable as css class) */
get id() { return "element-io"; }
get id() { return "element.io"; }
get platforms() {
return [
@@ -32,6 +31,10 @@ export class Element {
];
}
get icon() {
return "images/client-icons/element.svg";
}
get appleAssociatedAppId() { return "7J4U792NQT.im.vector.app"; }
get description() { return 'Fully-featured Matrix client, used by millions.'; }
+2 -1
View File
@@ -23,6 +23,7 @@ export class Weechat {
/* should only contain alphanumerical and -_, no dots (needs to be usable as css class) */
get id() { return "weechat"; }
getName(platform) { return "Weechat"; }
get icon() { return "images/client-icons/weechat.svg"; }
get author() { return "Poljar"; }
get homepage() { return "https://github.com/poljar/weechat-matrix"; }
get platforms() { return [Platform.Windows, Platform.macOS, Platform.Linux]; }
@@ -39,4 +40,4 @@ export class Weechat {
}
getInstallLinks(platform) {}
}
}