-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
182 lines (162 loc) · 5.36 KB
/
index.html
File metadata and controls
182 lines (162 loc) · 5.36 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Meta Tags -->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
/>
<meta
http-equiv="Content-Security-Policy"
content="
default-src 'self';
script-src 'self' 'unsafe-inline';
style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;
font-src 'self' https://fonts.gstatic.com;
img-src 'self' data: https://*.vercel.app;
connect-src 'self' https://*.onrender.com wss://*.onrender.com http://localhost:* ws://localhost:*;
upgrade-insecure-requests;"
/>
<meta name="referrer" content="strict-origin-when-cross-origin" />
<!-- Title and Description -->
<title>Miku Miku Crawler | Cute & Fast Web Crawling</title>
<meta
name="description"
content="Miku Miku Crawler is a cute, modern web crawler. Watch pages being crawled with live statistics and Miku-themed animations!"
/>
<!-- Keywords -->
<meta
name="keywords"
content="Miku Miku Crawler, Web Crawler, React, Vite, Web Scraping, Hatsune Miku, Cute"
/>
<!-- SEO Tags -->
<meta name="robots" content="index, follow" />
<meta name="author" content="renbkna" />
<!-- Color Scheme and Appearance -->
<meta name="theme-color" content="#39c5bb" />
<meta name="color-scheme" content="light" />
<!-- Favicon & Icons -->
<link rel="icon" type="image/svg+xml" href="/miku.ico" />
<link rel="manifest" href="/manifest.json" />
<!-- Preconnect & DNS Prefetch -->
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- Preload Critical Assets -->
<link rel="preload" href="/miku1.gif" as="image" />
<!-- Font Loading -->
<link
href="https://fonts.googleapis.com/css2?family=Fredoka+One&family=JetBrains+Mono:wght@400;700&family=Varela+Round&family=M+PLUS+Rounded+1c:wght@400;500;700;800&display=swap"
rel="stylesheet"
/>
<!-- Inline Critical CSS -->
<style>
:root {
--miku-teal: #39c5bb;
--miku-pink: #ffb7c5;
--miku-bg: #e0f2f1;
}
body {
margin: 0;
padding: 0;
background-color: var(--miku-bg);
font-family: 'Varela Round', sans-serif;
overflow: hidden;
}
#root {
width: 100%;
height: 100%;
}
.loading-screen {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--miku-bg);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 9999;
background-image: radial-gradient(var(--miku-teal) 1px, transparent 1px), radial-gradient(var(--miku-pink) 1px, transparent 1px);
background-size: 40px 40px;
background-position: 0 0, 20px 20px;
}
.miku-loader {
width: 100px;
height: 100px;
position: relative;
margin-bottom: 20px;
animation: bounce 2s infinite ease-in-out;
display: flex;
align-items: center;
justify-content: center;
}
.miku-loader img {
width: 60px;
height: 60px;
object-fit: contain;
animation: spin 3s infinite linear;
background: transparent;
}
.miku-loader::after {
content: '';
position: absolute;
inset: 0;
border: 4px solid #39c5bb;
border-top-color: #ffb7c5;
border-radius: 50%;
animation: spin 1.5s infinite linear;
}
h1 {
color: #39c5bb;
font-size: 24px;
margin-bottom: 8px;
text-shadow: 2px 2px 0px #fff;
}
p {
color: #ffb7c5;
font-weight: bold;
font-size: 14px;
letter-spacing: 1px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
</style>
</head>
<body>
<div class="loading-screen" id="loading-screen">
<div class="miku-loader">
<img src="/miku.ico" alt="Miku" />
</div>
<h1>Miku Miku Crawler</h1>
<p>LOADING...</p>
</div>
<div id="root"></div>
<script>
document.addEventListener('DOMContentLoaded', function () {
// The app will handle removing this when ready,
// but as a fallback we fade it out after a timeout if React takes too long
setTimeout(function () {
const loadingScreen = document.getElementById('loading-screen');
if (loadingScreen) {
loadingScreen.style.opacity = '0';
loadingScreen.style.transition = 'opacity 0.5s ease-in-out';
setTimeout(function () {
loadingScreen.style.display = 'none';
}, 500);
}
}, 3000); // Wait a bit longer for React to hydrate
});
</script>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>