forked from SamirPaulb/newtab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
115 lines (100 loc) · 2.96 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" sizes="32x32" href="/src/assets/icons/32x32.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/src/assets/icons/16x16.png" />
<title>New Tab</title>
</head>
<body>
<noscript>
<style>
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@400&display=swap');
* {
font-family: 'Lexend Deca', sans-serif;
overflow: hidden;
}
.criticalError {
display: grid;
place-items: center;
width: 100vw;
height: 100vh;
}
.criticalError .criticalError-actions {
display: flex;
flex-flow: row;
gap: 20px;
}
.criticalError a {
border: 0;
border-radius: 12px;
padding: 10px 30px 10px 30px;
font-size: 1rem;
display: flex;
align-items: center;
flex-flow: row;
justify-content: center;
gap: 20px;
transition: 0.5s;
cursor: pointer;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
* {
background-color: #000000;
}
.criticalError .criticalError-message {
color: #fff;
}
.criticalError p {
color: rgba(255, 255, 255, 0.7529411765);
}
.criticalError a {
background: #0e1013;
box-shadow: 0 0 0 1px #484848;
color: #fff;
}
.criticalError a:hover {
background: #1e1e1e;
}
}
@media (prefers-color-scheme: light) {
body {
background-color: #fff;
}
.criticalError .criticalError-message {
color: #000;
}
.criticalError p {
color: rgba(0, 0, 0, 0.7529411765);
}
.criticalError a {
background: #fdfdfd;
box-shadow: 0 0 0 1px #484848;
color: #000;
}
.criticalError a:hover {
background: #f5f5f5;
}
}
</style>
<div class="criticalError">
<div class="criticalError-message">
<h1>JavaScript is required</h1>
<p>The new tab could not be loaded. Please enable JavaScript and refresh the page.</p>
<div class="criticalError-actions">
<a href="https://github.com/mue/mue/issues/new/choose" target="_blank" rel="noreferrer"
>Report Issue</a
>
<a href="https://discord.gg/zv8C9F8" target="_blank" rel="noreferrer"
>Support Discord</a
>
</div>
</div>
</div>
</noscript>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
</body>
</html>