-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (72 loc) · 3.02 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<html>
<head>
<meta charset="utf-8">
<title>shophockeycanada.ca</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
<meta property="og:url" content="http://shophockeycanada.ca/">
<meta property="og:type" content="website">
<meta property="og:title" content="shophockeycanada.ca">
<meta property="og:description" content="Always register similar URLs when you're running a national ad campaign.">
<meta property="og:image" content="https://shophockeycanada.ca/img/thumbnail.png">
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
<style>
.centred {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.centred-but-not-both-ways {
position: fixed;
top: 100%;
left: 50%;
transform: translate(-50%, -4em);
}
div {
font-family: 'Roboto', sans-serif;
}
h1 {
color: #36454F;
}
p {
color: #727472;
}
</style>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FZKNHB2L29"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-FZKNHB2L29');
</script>
</head>
<body>
<div class="centred">
<h1>you were probably looking for</h1>
<h1><a href="https://shop.hockeycanada.ca/">shop.hockeycanada.ca</a></h1>
<h1>est l'URL que vous avez recherché</h1>
</div>
<div class="centred-but-not-both-ways">
<p>with <a href="https://www.youcanplayproject.org/"><3 and 🍁</a> - Erik LaBine - 2021</p>
</div>
<script>
$(document).ready(function () {
window.setTimeout(function () {
if ((String(window.performance.getEntriesByType('navigation')[0].type) != 'back_forward')) {
//These lines required for testing in Chrome
//var url = new URL(window.location);
//window.history.pushState({}, 'shophockeycanada.ca', url);
window.location.href = 'https://shop.hockeycanada.ca/';
}
}, 5000);
});
</script>
</body>
</html>