File tree 3 files changed +32
-640
lines changed
3 files changed +32
-640
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default class MyDocument extends Document {
19
19
< script
20
20
noModule
21
21
dangerouslySetInnerHTML = { {
22
- __html : `window.MSInputMethodContext && document.documentMode && document.write('<script src="/ie-custom-properties .js"><\\x2fscript>');` ,
22
+ __html : `window.MSInputMethodContext && document.documentMode && document.write('<script src="/ie-warning .js"><\\x2fscript>');` ,
23
23
} }
24
24
/>
25
25
</ body >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ! ( function ( ) {
2
+ 'use strict'
3
+
4
+ const el = document . createElement ( 'div' ) ;
5
+ el . innerHTML =
6
+ '<div class="ie-warning">' +
7
+ ' <p class="ie-warning-description">' +
8
+ ' Internet Explorer is no longer supported.' +
9
+ ' <a href="https://support.hashicorp.com/hc/en-us/articles/4416485547795">' +
10
+ ' Learn more.' +
11
+ ' </a>' +
12
+ ' </p>' +
13
+ '</div>' +
14
+ '<style>' +
15
+ ' .ie-warning {' +
16
+ ' background-color: #FCF0F2;' +
17
+ ' border-bottom: 1px solid #FFD4D6;' +
18
+ ' color: #BA2226;' +
19
+ ' text-align: center;' +
20
+ ' font-family: "Segoe UI", sans-serif;' +
21
+ ' font-weight: bold;' +
22
+ ' }' +
23
+ ' .ie-warning-description {' +
24
+ ' padding: 16px 0;' +
25
+ ' margin: 0;' +
26
+ ' color: #BA2226;' +
27
+ ' }' +
28
+ '</style>' ;
29
+
30
+ document . body . insertBefore ( el , document . body . childNodes [ 0 ] ) ;
31
+ } ) ( ) ;
You can’t perform that action at this time.
0 commit comments