2017-02-07 14:45:51 +00:00
|
|
|
/* @flow */
|
|
|
|
|
2017-02-02 16:01:03 +00:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
|
|
|
import { CHROME, CHROMIUM, FIREFOX } from './browserLinks';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* React component representing plugin installation required page.
|
|
|
|
*
|
|
|
|
* @class PluginRequiredBrowser
|
|
|
|
*/
|
|
|
|
export default class PluginRequiredBrowser extends Component {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Renders the component.
|
|
|
|
*
|
|
|
|
* @returns {ReactElement}
|
|
|
|
*/
|
|
|
|
render() {
|
|
|
|
const ns = 'unsupported-desktop-browser';
|
2017-02-07 14:45:51 +00:00
|
|
|
const nsLink = `${ns}__link`;
|
2017-02-02 16:01:03 +00:00
|
|
|
|
|
|
|
return (
|
|
|
|
<div className = { ns }>
|
|
|
|
<h2 className = { `${ns}__title` }>
|
|
|
|
Your browser requires a plugin for this conversation.
|
|
|
|
</h2>
|
|
|
|
<p className = { `${ns}__description_small` }>
|
2017-02-28 04:31:55 +00:00
|
|
|
Once you install the plugin, it will be possible for you to
|
|
|
|
have your conversation here. For the best experience,
|
2017-02-02 16:01:03 +00:00
|
|
|
however, we strongly recommend that you do that using
|
|
|
|
the
|
|
|
|
<a
|
2017-02-07 14:45:51 +00:00
|
|
|
className = { nsLink }
|
2017-02-02 16:01:03 +00:00
|
|
|
href = { CHROME }>Chrome</a>,
|
|
|
|
<a
|
2017-02-07 14:45:51 +00:00
|
|
|
className = { nsLink }
|
2017-02-02 16:01:03 +00:00
|
|
|
href = { CHROMIUM }>Chromium</a> or
|
|
|
|
<a
|
2017-02-07 14:45:51 +00:00
|
|
|
className = { nsLink }
|
2017-02-02 16:01:03 +00:00
|
|
|
href = { FIREFOX }>Firefox</a> browsers.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|