aboutsummaryrefslogtreecommitdiffstats
path: root/app/error.html
blob: 366b3d94a352a07104fe2502670dc7f79e19825f (plain) (blame)
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
<html>
<head>
  <title>MetaMask Error</title>
  <link href="https://fonts.googleapis.com/css?family=Rokkitt" rel="stylesheet">
  <style>
    *{
      padding: 0;
      margin: 0;
      box-sizing: border-box;
    }
    img{
      display: block;
    }
    html, body{
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
    }
    @keyframes logoAmin{
      from {transform: scale(1);}
      50%{transform: scale(1.1);}
      to {transform: scale(1);}
    }
    .errorBox{
      width: 70%;
      height: auto;
      overflow: hidden;
      background-image: url("./images/deadface.png");
      background-repeat: no-repeat;
      background-position: 100% 50%;
      background-size: auto 90%;
      padding: 5px;
    }
    .errorBox > img{
      width: 100px;
      height: auto;
      margin-bottom: 25px;
      animation: logoAmin 1s infinite linear;
    }
    .errorBox > h1, .errorBox > h2{
      letter-spacing: 2px;
    }
    .errorBox > h1{
      color: #9b9b9b;
      font-size: 40px;
    }
    .errorBox > h2{
      color: #1b243d;
      font-size: 20px;
      padding-top: 5px;
    }
    .errorBox > h2 >a{
      color: #1b243d;
    }
    .errorBox > h2 >a:hover{
      color: #44588e;
    }

    .errorBox > h1 > span{
      color: #33559f;
    } 

  </style>
</head>
<body>
  <div class="errorBox">
    <img src="./images/logo.png" alt="">
    <h1><span id="name"></span> not found</h1>
    <h2>Powered by <a href="https://www.portal.network/">Portal Network</a></h2>
  </div>
  <script>
    let index = location.href.lastIndexOf("?name=")
    let name = location.href.slice(index + 6)
    document.getElementById("name").innerHTML = name
  </script>
</body>
</html>