/* Copyright 2020 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ import * as React from "react"; 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"; interface IProps { onAccept: () => void; } const CompatibilityPage: React.FC = ({ onAccept }) => { return
Riot

{ _t("Unsupported browser") }

{ _t("Use Riot in a browser") }

{ _t("Sorry, your browser is not able to run Riot.", {}, { 'b': (sub) => {sub} }) }

{ _t( "Riot uses many advanced browser features, some of which are not available " + "or experimental in your current browser.", ) }

{ _t( 'Please install Chrome, Firefox, ' + 'or Safari for the best experience.', {}, { 'chromeLink': (sub) => {sub}, 'firefoxLink': (sub) => {sub}, 'safariLink': (sub) => {sub}, }, )}

{ _t( "With your current browser, the look and feel of the application may be " + "completely incorrect, and some or all features may not function. " + "If you want to try it anyway you can continue, but you are on your own in terms " + "of any issues you may encounter!", ) }

Go to Riot.im

; }; export default CompatibilityPage;