import { localizeUrl } from '@automattic/i18n-utils';
import { __ } from '@wordpress/i18n';
import { addQueryArgs } from 'calypso/lib/url';
import Circle from './circle';
import illustrationURL from './illustration.svg';
import Logo from './logo-wide';
import 'calypso/assets/stylesheets/style.scss';
import './style.scss';
const SUPPORTED_BROWSERS_LINK = localizeUrl(
'https://wordpress.com/support/browser-issues/#supported-browsers'
);
export default function Browsehappy( { from } ) {
// `from` is passed into the component via server-side-render. Since the query
// param is sanitized and validated on the server, we can trust it here.
const continueUrl = addQueryArgs( { bypassTargetRedirection: true }, from );
return (
{ __( 'Unsupported Browser' ) }
{ __( 'Unfortunately this page may not work correctly in your browser.' ) }
{ /* TODO: This mimics @wordpress/components button. Currently, wp components
does not compile for SSR pages, but the style properties still exist. */ }
{ /*eslint-disable-next-line wpcalypso/jsx-classname-namespace*/ }
{ __( 'View supported browsers' ) }