init
Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled

This commit is contained in:
2025-09-02 14:49:16 +08:00
commit 38ba663466
2885 changed files with 391107 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
import React, { Component } from 'react';
/**
* React component representing unsupported browser page.
*
* @class DefaultUnsupportedDesktopBrowser
*/
class DefaultUnsupportedDesktopBrowser extends Component {
/**
* Redirects to the static recommended browsers page that is also used for IE.
*
* @returns {void}
*/
override componentDidMount() {
window.location.pathname = 'static/recommendedBrowsers.html';
}
/**
* Renders the component.
*
* @returns {ReactElement}
*/
override render() {
return (
<div />
);
}
}
export default DefaultUnsupportedDesktopBrowser;

View File

@@ -0,0 +1 @@
export { default } from './DefaultUnsupportedDesktopBrowser';

View File

@@ -0,0 +1,19 @@
import React from 'react';
import { useSelector } from 'react-redux';
import { isVpaasMeeting } from '../../jaas/functions';
import JaasUnsupportedDesktopBrowser from './JaasUnsupportedDesktopBrowser';
import UnsupportedDesktopBrowser from './UnsupportedDesktopBrowser';
const PageSelector = () => {
const isJaas = useSelector(isVpaasMeeting);
if (isJaas) {
return <JaasUnsupportedDesktopBrowser />;
}
return <UnsupportedDesktopBrowser />;
};
export default PageSelector;

View File

@@ -0,0 +1 @@
export { default } from './DefaultUnsupportedDesktopBrowser';

View File

@@ -0,0 +1,35 @@
/**
* The URL at which Google Chrome is available for download.
*
* @type {string}
*/
export const CHROME = 'https://www.google.com/chrome/';
/**
* The URL at which Chromium is available for download.
*
* @type {string}
*/
export const CHROMIUM = 'https://www.chromium.org/';
/**
* The URL at which Microsoft Edge is available for download.
*
* @type {string}
*/
export const EDGE
= 'https://www.microsoft.com/en-us/windows/microsoft-edge';
/**
* The URL at which Mozilla Firefox is available for download.
*
* @type {string}
*/
export const FIREFOX = 'https://www.getfirefox.com/';
/**
* The URL at which Safari is available for download.
*
* @type {string}
*/
export const SAFARI = 'https://support.apple.com/downloads/safari';