Skip to content

Commit 1075b08

Browse files
committed
DON-34 - rationalise hiding the app from old IEs
1 parent 732901c commit 1075b08

File tree

3 files changed

+32
-6
lines changed

3 files changed

+32
-6
lines changed

src/index.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4+
<!-- LOCAL VERSION! -->
5+
<link rel="preconnect" href="https://full-biggive.cs107.force.com">
46
<meta charset="utf-8">
57
<title>The Big Give</title>
68
<base href="/">
@@ -9,7 +11,15 @@
911
<link rel="icon" type="image/x-icon" href="favicon.ico">
1012
</head>
1113
<body>
12-
<!--[if lt IE 11]> <p><a href="https://browsehappy.com/">Please upgrade your browser to continue.</a></p> <![endif]-->
13-
<app-root></app-root>
14+
<!--[if lt IE 11]>
15+
<p><a href="https://browsehappy.com/">Please upgrade your browser to continue.</a></p>
16+
<style>
17+
.hide-from-old-ie {
18+
display: none;
19+
}
20+
</style>
21+
<![endif]-->
22+
23+
<app-root class="hide-from-old-ie"></app-root>
1424
</body>
1525
</html>

src/index.production.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,15 @@
1010
<link rel="icon" type="image/x-icon" href="/d/favicon.ico">
1111
</head>
1212
<body>
13-
<!--[if lt IE 11]> <p><a href="https://browsehappy.com/">Please upgrade your browser to continue.</a></p> <![endif]-->
14-
<app-root></app-root>
13+
<!--[if lt IE 11]>
14+
<p><a href="https://browsehappy.com/">Please upgrade your browser to continue.</a></p>
15+
<style>
16+
.hide-from-old-ie {
17+
display: none;
18+
}
19+
</style>
20+
<![endif]-->
21+
22+
<app-root class="hide-from-old-ie"></app-root>
1523
</body>
1624
</html>

src/index.staging.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,15 @@
1010
<link rel="icon" type="image/x-icon" href="/d/favicon.ico">
1111
</head>
1212
<body>
13-
<!--[if lt IE 11]> <p><a href="https://browsehappy.com/">Please upgrade your browser to continue.</a></p> <![endif]-->
14-
<app-root></app-root>
13+
<!--[if lt IE 11]>
14+
<p><a href="https://browsehappy.com/">Please upgrade your browser to continue.</a></p>
15+
<style>
16+
.hide-from-old-ie {
17+
display: none;
18+
}
19+
</style>
20+
<![endif]-->
21+
22+
<app-root class="hide-from-old-ie"></app-root>
1523
</body>
1624
</html>

0 commit comments

Comments
 (0)