mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
Added unsuported browser and plugin required pages
This commit is contained in:
committed by
Lyubo Marinov
parent
c1b9b7a623
commit
1268afd3f8
@@ -0,0 +1,44 @@
|
||||
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';
|
||||
|
||||
return (
|
||||
<div className = { ns }>
|
||||
<h2 className = { `${ns}__title` }>
|
||||
Your browser requires a plugin for this conversation.
|
||||
</h2>
|
||||
<p className = { `${ns}__description_small` }>
|
||||
Once you install the plugin, it will be possible for you
|
||||
to have your conversation here. For best experience,
|
||||
however, we strongly recommend that you do that using
|
||||
the
|
||||
<a
|
||||
className = { `${ns}__link` }
|
||||
href = { CHROME }>Chrome</a>,
|
||||
<a
|
||||
className = { `${ns}__link` }
|
||||
href = { CHROMIUM }>Chromium</a> or
|
||||
<a
|
||||
className = { `${ns}__link` }
|
||||
href = { FIREFOX }>Firefox</a> browsers.
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user