PluginProbe
HubSpot All-In-One Marketing – Forms, Popups, Live Chat / 11.0.7
HubSpot All-In-One Marketing – Forms, Popups, Live Chat v11.0.7
11.3.75 11.3.73 11.3.71 11.3.70 11.3.69 11.3.64 11.3.65 11.3.62 11.3.61 11.3.56 11.3.58 11.0.31 11.0.52 11.0.54 11.0.56 11.0.58 11.0.7 11.1.10 11.1.11 11.1.13 11.1.14 11.1.15 11.1.2 11.1.20 11.1.21 All 73 releases
leadin / scripts / iframe / IframeErrorPage.tsx

IframeErrorPage.tsx in HubSpot All-In-One Marketing – Forms, Popups, Live Chat 11.0.7, at scripts/iframe/IframeErrorPage.tsx

55 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import React from 'react';
2 import { __ } from '@wordpress/i18n';
3 import { styled } from '@linaria/react';
4
5 const IframeErrorContainer = styled.div`
6 display: flex;
7 flex-direction: column;
8 align-items: center;
9 justify-content: center;
10 margin-top: 120px;
11 font-family: 'Lexend Deca', Helvetica, Arial, sans-serif;
12 font-weight: 400;
13 font-size: 14px;
14 font-size: 0.875rem;
15 -webkit-font-smoothing: antialiased;
16 -moz-osx-font-smoothing: grayscale;
17 font-smoothing: antialiased;
18 line-height: 1.5rem;
19 `;
20
21 const ErrorHeader = styled.h1`
22 text-shadow: 0 0 1px transparent;
23 margin-bottom: 1.25rem;
24 color: #33475b;
25 font-size: 1.25rem;
26 `;
27
28 export const IframeErrorPage = () => (
29 <IframeErrorContainer>
30 <img
31 alt="Cannot find page"
32 width="175"
33 src="//static.hsappstatic.net/ui-images/static-1.14/optimized/errors/map.svg"
34 />
35 <ErrorHeader>
36 {__(
37 'The HubSpot for WordPress plugin is not able to load pages',
38 'leadin'
39 )}
40 </ErrorHeader>
41 <p>
42 {__(
43 'Try disabling your browser extensions and ad blockers, then refresh the page.',
44 'leadin'
45 )}
46 </p>
47 <p>
48 {__(
49 'Or open the HubSpot for WordPress plugin in a different browser.',
50 'leadin'
51 )}
52 </p>
53 </IframeErrorContainer>
54 );
55