Implement new unsupported browser page

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-04-23 15:10:40 +01:00
parent b7fa8a1f54
commit 30fa3a92f7
6 changed files with 545 additions and 120 deletions

File diff suppressed because one or more lines are too long

View file

@ -17,6 +17,8 @@ limitations under the License.
import * as React from "react";
import * as PropTypes from "prop-types";
import {_t} from "../../vector/init";
// directly import the style here as this layer does not support rethemedex at this time so no matrix-react-sdk
// scss variables will be accessible.
import "../../../res/css/structures/ErrorView.scss";
@ -31,10 +33,10 @@ const ErrorView: React.FC<IProps> = ({title, messages}) => {
return <div className="mx_ErrorView">
<div className="mx_ErrorView_container">
<div className="mx_HomePage_header">
<span className="mx_HomePage_logo">
<img height="42" src={"themes/riot/img/logos/riot-logo.svg"} alt="Riot" />
</span>
<h1>Failed to start</h1>
<span className="mx_HomePage_logo">
<img height="42" src="themes/riot/img/logos/riot-logo.svg" alt="Riot" />
</span>
<h1>{ _t("Failed to start") }</h1>
</div>
<div className="mx_HomePage_col">
<div className="mx_HomePage_row">