You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
3.3 KiB
2 lines
3.3 KiB
2 years ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{1565:function(e,t,a){"use strict";a.r(t);var r=a(120),l=a(121),n=a(131);a(641);t.default=e=>{let{onAccept:t}=e;const a=n.b.get("brand"),o=n.b.get("mobile_builds");let m=null;const c=null==o?void 0:o.ios;null!==c&&(m=r.createElement(r.Fragment,null,r.createElement("p",null,r.createElement("strong",null,"iOS")," (iPhone or iPad)"),r.createElement("a",{href:c||"https://apps.apple.com/app/vector/id1083446067",target:"_blank",className:"mx_ClearDecoration"},r.createElement("img",{height:"48",src:"themes/element/img/download/apple.svg",alt:"Apple App Store"}))));let s=[r.createElement("p",{className:"mx_Spacer",key:"header"},r.createElement("strong",null,"Android"))];const i=null==o?void 0:o.android,d=null==o?void 0:o.fdroid;null!==i&&s.push(r.createElement("a",{href:i||"https://play.google.com/store/apps/details?id=im.vector.app",target:"_blank",className:"mx_ClearDecoration",key:"android"},r.createElement("img",{height:"48",src:"themes/element/img/download/google.svg",alt:"Google Play Store"}))),null!==d&&s.push(r.createElement("a",{href:d||"https://f-droid.org/repository/browse/?fdid=im.vector.app",target:"_blank",className:"mx_ClearDecoration",key:"fdroid"},r.createElement("img",{height:"48",src:"themes/element/img/download/fdroid.svg",alt:"F-Droid"}))),1===s.length&&(s=[]);let p=r.createElement("h2",{id:"step2_heading"},Object(l.a)("Use %(brand)s on mobile",{brand:a}));return s.length||m||(p=null),r.createElement("div",{className:"mx_ErrorView"},r.createElement("div",{className:"mx_ErrorView_container"},r.createElement("div",{className:"mx_HomePage_header"},r.createElement("span",{className:"mx_HomePage_logo"},r.createElement("img",{height:"42",src:"themes/element/img/logos/element-logo.svg",alt:"Element"})),r.createElement("h1",null,Object(l.a)("Unsupported browser"))),r.createElement("div",{className:"mx_HomePage_col"},r.createElement("div",{className:"mx_HomePage_row"},r.createElement("div",null,r.createElement("h2",{id:"step1_heading"},Object(l.a)("Your browser can't run %(brand)s",{brand:a})),r.createElement("p",null,Object(l.a)("%(brand)s uses advanced browser features which aren't supported by your current browser.",{brand:a})),r.createElement("p",null,Object(l.a)("Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.",{},{chromeLink:e=>r.createElement("a",{href:"https://www.google.com/chrome"},e),firefoxLink:e=>r.createElement("a",{href:"https://firefox.com"},e),safariLink:e=>r.createElement("a",{href:"https://apple.com/safari"},e)})),r.createElement("p",null,Object(l.a)("You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.")),r.createElement("button",{onClick:t},Object(l.a)("I understand the risks and wish to continue"))))),r.createElement("div",{className:"mx_HomePage_col"},r.createElement("div",{className:"mx_HomePage_row"},r.createElement("div",null,p,m,s))),r.createElement("div",{className:"mx_HomePage_row mx_Center mx_Spacer"},r.createElement("p",{className:"mx_Spacer"},r.createElement("a",{href:"https://element.io",target:"_blank",className:"mx_FooterLink"},Object(l.a)("Go to element.io"))))))}},641:function(e,t,a){}}]);
|
||
|
//# sourceMappingURL=compatibility-view.js.map
|